MozillaZine

Opening multiple URLs through address bar, possible?

Discussion about official Mozilla Firefox builds
SvenLittkowski
 
Posts: 9
Joined: February 27th, 2014, 7:58 am

Post Posted August 10th, 2019, 7:37 am

This special need came up because I play a computer game (Ark Survival Evolved) and to get this game functioning again, I have to temporarily remove all mods. Then reinstalling each of them again.

Each mod has a website address, and I want to open all of them in Firefox before I remove all mods. This way I know which mods were installed, and i can re-install those mods from their web pages.

I have 116 mods. Means, I need to open 116 web pages. Doing it by hand is a lot of work. I therefore created a computer program that gives me all URLs, separated by " | " (Space VerticalLine Space).

But entering this multi-URL into the address bar of Firefox and then opening each of them in an own tab by clicking ENTER fails. I only get a Google search page that has my multi-URL as search string. Splitting the long multi-URL into smaller bundles of ten URLs still does not change the misfortune. And I do NOT want a restart of Firefox (startup multi-URL feature).

Who can assist me?

See the multi-URL string below:

https://steamcommunity.com/sharedfiles/filedetails/?id=1095454481 | https://steamcommunity.com/sharedfiles/ ... 1108657303 | https://steamcommunity.com/sharedfiles/ ... 1136481807 | https://steamcommunity.com/sharedfiles/ ... 1156355959 | https://steamcommunity.com/sharedfiles/ ... 1164740374 | https://steamcommunity.com/sharedfiles/ ... 1192401040 | https://steamcommunity.com/sharedfiles/ ... 1192446295 | https://steamcommunity.com/sharedfiles/ ... 1198392141 | https://steamcommunity.com/sharedfiles/ ... 1210445098 | https://steamcommunity.com/sharedfiles/ ... 1213429840 | https://steamcommunity.com/sharedfiles/ ... 1235049753 | https://steamcommunity.com/sharedfiles/ ... 1251027320 | https://steamcommunity.com/sharedfiles/ ... 1292407036 | https://steamcommunity.com/sharedfiles/ ... 1297900955 | https://steamcommunity.com/sharedfiles/ ... 1304517937 | https://steamcommunity.com/sharedfiles/ ... 1315585099 | https://steamcommunity.com/sharedfiles/ ... 1337975744 | https://steamcommunity.com/sharedfiles/ ... 1338002744 | https://steamcommunity.com/sharedfiles/ ... 1352156869 | https://steamcommunity.com/sharedfiles/ ... 1354681709 | https://steamcommunity.com/sharedfiles/ ... 1365639288 | https://steamcommunity.com/sharedfiles/ ... 1383175081 | https://steamcommunity.com/sharedfiles/ ... 1399900808 | https://steamcommunity.com/sharedfiles/ ... 1416262914 | https://steamcommunity.com/sharedfiles/ ... 1428368461 | https://steamcommunity.com/sharedfiles/ ... 1432383497 | https://steamcommunity.com/sharedfiles/ ... 1436299668 | https://steamcommunity.com/sharedfiles/ ... 1446292779 | https://steamcommunity.com/sharedfiles/ ... 1491573333 | https://steamcommunity.com/sharedfiles/ ... 1499488483 | https://steamcommunity.com/sharedfiles/ ... 1554412640 | https://steamcommunity.com/sharedfiles/ ... 1592192369 | https://steamcommunity.com/sharedfiles/ ... 1668416722 | https://steamcommunity.com/sharedfiles/ ... 1676159020 | https://steamcommunity.com/sharedfiles/ ... 1706197847 | https://steamcommunity.com/sharedfiles/ ... 1707243360 | https://steamcommunity.com/sharedfiles/ ... 1711046053 | https://steamcommunity.com/sharedfiles/ ... 1780676923 | https://steamcommunity.com/sharedfiles/ ... =479295136 | https://steamcommunity.com/sharedfiles/ ... =489596581 | https://steamcommunity.com/sharedfiles/ ... =491226101 | https://steamcommunity.com/sharedfiles/ ... =497432858 | https://steamcommunity.com/sharedfiles/ ... =509587585 | https://steamcommunity.com/sharedfiles/ ... =510590313 | https://steamcommunity.com/sharedfiles/ ... =511168000 | https://steamcommunity.com/sharedfiles/ ... =519536568 | https://steamcommunity.com/sharedfiles/ ... =520879363 | https://steamcommunity.com/sharedfiles/ ... =523835795 | https://steamcommunity.com/sharedfiles/ ... =526337556 | https://steamcommunity.com/sharedfiles/ ... =533828549 | https://steamcommunity.com/sharedfiles/ ... =534952636 | https://steamcommunity.com/sharedfiles/ ... =536214294 | https://steamcommunity.com/sharedfiles/ ... =543394681 | https://steamcommunity.com/sharedfiles/ ... =544488362 | https://steamcommunity.com/sharedfiles/ ... =553034096 | https://steamcommunity.com/sharedfiles/ ... =558651608 | https://steamcommunity.com/sharedfiles/ ... =577899164 | https://steamcommunity.com/sharedfiles/ ... =592605994 | https://steamcommunity.com/sharedfiles/ ... =598222164 | https://steamcommunity.com/sharedfiles/ ... =629249633 | https://steamcommunity.com/sharedfiles/ ... =664477965 | https://steamcommunity.com/sharedfiles/ ... =670764308 | https://steamcommunity.com/sharedfiles/ ... =671083563 | https://steamcommunity.com/sharedfiles/ ... =671591278 | https://steamcommunity.com/sharedfiles/ ... =673267561 | https://steamcommunity.com/sharedfiles/ ... =679529026 | https://steamcommunity.com/sharedfiles/ ... =680798000 | https://steamcommunity.com/sharedfiles/ ... =685821575 | https://steamcommunity.com/sharedfiles/ ... =695990475 | https://steamcommunity.com/sharedfiles/ ... =702828089 | https://steamcommunity.com/sharedfiles/ ... =703724165 | https://steamcommunity.com/sharedfiles/ ... =708807240 | https://steamcommunity.com/sharedfiles/ ... =709760210 | https://steamcommunity.com/sharedfiles/ ... =716506916 | https://steamcommunity.com/sharedfiles/ ... =719928795 | https://steamcommunity.com/sharedfiles/ ... =720780555 | https://steamcommunity.com/sharedfiles/ ... =722669308 | https://steamcommunity.com/sharedfiles/ ... =730794403 | https://steamcommunity.com/sharedfiles/ ... =731049477 | https://steamcommunity.com/sharedfiles/ ... =731604991 | https://steamcommunity.com/sharedfiles/ ... =735136708 | https://steamcommunity.com/sharedfiles/ ... =736236773 | https://steamcommunity.com/sharedfiles/ ... =737297870 | https://steamcommunity.com/sharedfiles/ ... =741203089 | https://steamcommunity.com/sharedfiles/ ... =749466101 | https://steamcommunity.com/sharedfiles/ ... =765672242 | https://steamcommunity.com/sharedfiles/ ... =766718104 | https://steamcommunity.com/sharedfiles/ ... =771708872 | https://steamcommunity.com/sharedfiles/ ... =772220650 | https://steamcommunity.com/sharedfiles/ ... =775112655 | https://steamcommunity.com/sharedfiles/ ... =779245247 | https://steamcommunity.com/sharedfiles/ ... =782011201 | https://steamcommunity.com/sharedfiles/ ... =782185021 | https://steamcommunity.com/sharedfiles/ ... =800094071 | https://steamcommunity.com/sharedfiles/ ... =801105161 | https://steamcommunity.com/sharedfiles/ ... =801698250 | https://steamcommunity.com/sharedfiles/ ... =847495728 | https://steamcommunity.com/sharedfiles/ ... =864857312 | https://steamcommunity.com/sharedfiles/ ... =873924848 | https://steamcommunity.com/sharedfiles/ ... =874690106 | https://steamcommunity.com/sharedfiles/ ... =881939385 | https://steamcommunity.com/sharedfiles/ ... =884825922 | https://steamcommunity.com/sharedfiles/ ... =889745138 | https://steamcommunity.com/sharedfiles/ ... =898329764 | https://steamcommunity.com/sharedfiles/ ... =898659869 | https://steamcommunity.com/sharedfiles/ ... =902616446 | https://steamcommunity.com/sharedfiles/ ... =907998760 | https://steamcommunity.com/sharedfiles/ ... =909377464 | https://steamcommunity.com/sharedfiles/ ... =916205675 | https://steamcommunity.com/sharedfiles/ ... =917084401 | https://steamcommunity.com/sharedfiles/ ... =919114635 | https://steamcommunity.com/sharedfiles/ ... =920227892 | https://steamcommunity.com/sharedfiles/ ... =926567353 | https://steamcommunity.com/sharedfiles/ ... =930647953 | https://steamcommunity.com/sharedfiles/ ... =935081984 | https://steamcommunity.com/sharedfiles/ ... =947653572

LIMPET235
Moderator

User avatar
 
Posts: 38845
Joined: October 19th, 2007, 1:53 am
Location: The South Coast of N.S.W. Oz.

Post Posted August 10th, 2019, 7:47 am

Your UA says > Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0
So, moving this to Firefox Builds...
Ancient Amateur Astronomer
Win-7-HP/Intel® DualCore-2.0GHz/500G HDD/4 Gig Ram/550Watt PSU/350WattUPS/Firefox-20.0-62.0-70.0/T-bird-2.0.0.24/SnagIt-v10.0.1/MWP-7.12.
(Always choose the "Custom" Install.)

makaiguy

User avatar
 
Posts: 16783
Joined: November 18th, 2002, 6:44 pm
Location: Somewhere in SE USA

Post Posted August 10th, 2019, 8:03 am

By "mods", you mean themes or extensions you've added to your Firefox?

If so, why not just created a second PROFILE which has no add-ons and use that to go to Ark Survival?
See this Knowledge Base article: http://kb.mozillazine.org/Creating_a_ne ... on_Windows
Doug Wilson, "The Makai Guy"
Win10 (64bit): FF Quantum 70.0.1 (64bit), TB 60.9.0 (32-bit) ║ Android 8.0/7.1.1: FF Mobile 68.2.0, No TB for Android available, dammit!
What a fool believes he sees, no wise man has the power to reason away - Doobie Brothers

therube

User avatar
 
Posts: 20061
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Post Posted August 10th, 2019, 8:33 am

Bookmarklet.

You'll have to disable "popup blocking".
about:preferences#privacy

All, or selected, depending on your layout should work.
https://www.squarefree.com/bookmarklets ... _all_links
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript

morat
 
Posts: 3441
Joined: February 3rd, 2009, 6:29 pm

Post Posted August 10th, 2019, 8:45 am

You can load the tabs using the browser console.

Instructions:

* open about:debugging page, then check enable addon debugging
* open browser console i.e. tools > web developer > browser console
* copy and paste code into browser console command line, then press enter to run

Code: Select all
(function () {
  var str = "https://en.wikipedia.org/wiki/Alpha | https://en.wikipedia.org/wiki/Beta";
  var arr = str.split(" | ");
  gBrowser.loadTabs(arr, {
    inBackground: true,
    triggeringPrincipal: Services.scriptSecurityManager.getSystemPrincipal(),
  });
})();

loadTabs method
https://developer.mozilla.org/docs/Mozilla/Tech/XUL/tabbrowser#m-loadTabs

DN123ABC
 
Posts: 495
Joined: January 9th, 2017, 10:10 am

Post Posted August 10th, 2019, 9:13 am

Can you just "control-click" each link to open it in a new tab from the original link? I'm not sure if focus goes to the new tab or not, but I think there is either an addon or a setting to have the new tabs open in background. Hope this helps.

therube

User avatar
 
Posts: 20061
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Post Posted August 10th, 2019, 10:00 am

You can, but you'll have to do it 116 times ;-).
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript

makaiguy

User avatar
 
Posts: 16783
Joined: November 18th, 2002, 6:44 pm
Location: Somewhere in SE USA

Post Posted August 10th, 2019, 11:51 am

So apparently "mods" are separate tabs at that site?
Doug Wilson, "The Makai Guy"
Win10 (64bit): FF Quantum 70.0.1 (64bit), TB 60.9.0 (32-bit) ║ Android 8.0/7.1.1: FF Mobile 68.2.0, No TB for Android available, dammit!
What a fool believes he sees, no wise man has the power to reason away - Doobie Brothers

therube

User avatar
 
Posts: 20061
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Post Posted August 10th, 2019, 12:30 pm

No, I think they're like "patches" to a (game) program?
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript

Mark12547

User avatar
 
Posts: 294
Joined: May 13th, 2017, 11:36 am
Location: Oregon, United States, Earth

Post Posted August 10th, 2019, 1:39 pm

If you have a bookmark folder with all the URLs in it, you can open all the URLs (each in its own tab) by Right+Click on the bookmark folder, and click on "Open All in Tabs"; or the Center+Click on the bookmark folder will likewise open all the URLs in the bookmark folder. (This trick is one I have been using for several years, and this method of opening multiple tabs at once probably goes many years before that.) At least with a mere 5 bookmarks in the bookmark folder, the tabs are opened in the same order they are listed in the bookmarks folder, but I don't know if that will remain the same if one tries 116 bookmarks in the folder.

Of course that means you would have to set up a bookmark folder and save URLs as separate bookmarks in that folder.

morat
 
Posts: 3441
Joined: February 3rd, 2009, 6:29 pm

Post Posted August 10th, 2019, 5:04 pm

Here is a simple bookmarklet if you want to disable popup blocking in options. (hat tip to therube)

Code: Select all
javascript:(function(){
var str = prompt("Enter string", "");
var arr = str.split(" | ");
for (var i = arr.length - 1; i >= 0; i--) open(arr[i]);
})();

Bookmarklet Builder
http://subsimple.com/bookmarklets/jsbuilder.htm

Test string:

https://en.wikipedia.org/wiki/Alpha | https://en.wikipedia.org/wiki/Beta | https://en.wikipedia.org/wiki/Gamma

Brummelchen
 
Posts: 4600
Joined: March 19th, 2005, 10:51 am

Post Posted August 11th, 2019, 3:43 am


Return to Firefox Builds


Who is online

Users browsing this forum: No registered users and 4 guests