this post was submitted on 18 Mar 2024
33 points (90.2% liked)
Firefox
20363 readers
68 users here now
/c/firefox
A place to discuss the news and latest developments on the open-source browser Firefox.
Rules
1. Adhere to the instance rules
2. Be kind to one another
3. Communicate in a civil manner
Reporting
If you would like to bring an issue to the moderators attention, please use the "Create Report" feature on the offending comment or post and it will be reviewed as time allows.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.Maybe it's time I learn to use violent monkey