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.

  • Crul@lemm.ee
    link
    fedilink
    arrow-up
    22
    ·
    1 year ago

    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
    • GnuLinuxDude@lemmy.mlOP
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      1 year ago

      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.

      • Crul@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 year ago

        That’s weird. The only reason I can think of is, if you have tweaked with userChrome.css, the toolbar with the question may not be visible. I say that because it has happened to me :). You can try restarting with add-ons disabled (via about:profiles) and see if there is any difference.

        EDIT: Another option would be that there is some setting I’ve changed to allow this. But if I did, I don’t remember doing it :/.

        Here it is how it should look like:

        • GnuLinuxDude@lemmy.mlOP
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          I did give it a shot in a clean profile, but no difference. If I uncover a solution later I will definitely post my findings.