this post was submitted on 07 Sep 2023
51 points (98.1% liked)

Firefox

17602 readers
513 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS
 

Say I define different contexts or workspaces. So in my address bar I can type work and it will open up 5 pages that will be associated to that keyword. Then I can type bored and it will open up my 4 defined pages associated to that keyword.

I am NOT asking about pinning pages to the start/home page, and I am NOT asking about loading websites when Firefox starts up (because I don't want to always load the same things every time I launch ffox). I am also not asking about pinning tabs.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 23 points 1 year ago (8 children)

Other proposed solutions are valid, I just wanted to add that...

So in my address bar I can type work and it will open up 5 pages that will be associated to that keyword.

To get exactly this behaviour, you can have a bookmarklet with the keyword work and this in the URL field:

javascript:(() => { ['https://ddg.gg', 'https://google.com'].forEach(w => window.open(w)) })();

Some notes:

  • You can change the list of URLs with what you want to be open.
  • The first time you run it, it will ask you to allow it to open multiple tabs. But it should remember the answer for next executions.
  • Is possible to add arguments for advanced use cases
[–] [email protected] 2 points 1 year ago (6 children)

This seems like a really cool implementation, but I cannot get it to open anything beyond the first site I put into the array. I am never prompted about opening multiple tabs, either.

[–] [email protected] 5 points 1 year ago (1 children)

In Firefox you can add about:newtab To the pop-up exceptions list and it should work.

[–] [email protected] 5 points 1 year ago (1 children)

If you attempt in a new window you can also add about:home to the exceptions.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

Great info!

@[email protected] adding these exceptions was the necessary trick.

load more comments (4 replies)
load more comments (5 replies)