There used to be an addon, “Open tabs from clipboard URLs” but I can’t seem to find it anymore.
The best I find now is, an addon that opens a box, then you paste your URLs in it, then you press a button.
That’s not what I want. I want a toolbar button, I press it, the tabs open.
So that I can opens large blocks of URLs.
Also, I would like another addon which opens large blocks of URLs but does not load them immediately.
I have LoadOnSelect3 for this, but the problem with that one, is that it opens special moz:// pages until you load the tab. And that breaks searching and filtering tabs because the tab title and URL are not the real ones.
Assuming you know what you’re doing, maybe some script? At least on linux something like this seems to work:
#!/bin/bash urls_file="${HOME}/path/to/url_list.txt"; sleep_time=1; while read -r line; do firefox "${line}"; sleep ${sleep_time}; done < "${urls_file}";
edit: heh, tried to delete this as irrelevant, as I entirely missed the clipboard & requirement for a button IN firefox… but it didn’t really delete it seems. Oh well, leaving this in for laughs.
Anyhoo, if you need to speed up/throttle the link opening somehow, maybe add some incremental counter there and skip sleeping if counter < 10 or whatever.
On windows (where I am trapped), I can make a script read the clipboard (or even a script directly in my clipboard manager, ditto) but what I don’t know is how to make firefox open URLs in a specific window.
why does it need to be from the clipboard?
if firefox is the default browser, I guess just
start "" "https://your.url.here.foo"
, as per https://superuser.com/a/36730otherwise, I guess you could just cd to firefox’s directory and do the same
firefox.exe urlhere
as for specific window… yea that might be tad hard. https://wiki.mozilla.org/Firefox/CommandLineOptions doesn’t seem to have any way to indicate any specific instance/window from cli.
could be firefox handles those internally, kinda seems like urls open up in the window which was last active. So… I guess you could start the script by starting firefox with
--new-instance
or--new-window
, and patiently wait until urls are open? I guess.@Malix @interdimensionalmeme Good to know, powerful :)