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.

    • Otter@lemmy.ca
      link
      fedilink
      English
      arrow-up
      3
      ·
      8 months ago

      Two potential solutions to x in this case might be

      • if the links are always the same, save them as bookmarks in a folder and you can right click to open all in new tabs

      • if the links are all different, I think there are tools that can do that (spreadsheets, scripts)

    • bloubz
      link
      fedilink
      arrow-up
      1
      ·
      8 months ago

      Sounds like they want to do some half manual scrapping or something like that

      • infeeeee@lemm.ee
        link
        fedilink
        arrow-up
        9
        ·
        8 months ago

        If you don’t give more context we can’t really help.

        Why do you want to open 100s of tabs? Where do you get the links, are they generated by some other software, or you just saved them?

        • interdimensionalmeme@lemmy.mlOP
          link
          fedilink
          arrow-up
          1
          arrow-down
          4
          ·
          8 months ago

          They are tabs I got somewhere else, probably another browser or session. Possibly from another system. Sometimes I have mass modified the URLs. Examole, strip tracker, remove duplicate, order url alphanunerically.

          What matters is, they are in my clioboard, I want to open them all with one keypress, and it would be great , but not essential, if they would load one after the other, rather than all at once.

          • infeeeee@lemm.ee
            link
            fedilink
            arrow-up
            4
            ·
            8 months ago

            You still haven’t answered to the question why, so follow the other general solutions, and I still think something is inherently wrong with your workflow, but for some reason you won’t tell us.

            Also search for bookmark managers, you can sync pages with them between browsers.

            • billgamesh@lemmy.ml
              link
              fedilink
              arrow-up
              2
              ·
              8 months ago

              yeah probably opening the tabs is not the best solution anyways. maybe a python scraper would be an easier solution to whatever problem they have

  • daisyKutter@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    8 months ago

    You cant have an addon that open larg blocks of urls and doesn’t load them but does show its titles on each tab; If you are showing the title of the tab is because the page has been loaded at some point

  • MrOtherGuy@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    8 months ago

    You just have the link texts in a text editor one at each line, then select all and drag the selection to tabs toolbar.

    But yeah, it does become an issue if you try it with thousands of tabs… It should work, but probably chokes quite a bit.

  • Malix@sopuli.xyz
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    8 months ago

    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.

    • interdimensionalmeme@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      8 months ago

      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.

        • interdimensionalmeme@lemmy.mlOP
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          8 months ago

          Because that is where they are and is convenient for me. I already have a matching, copy selected tabs to clipboard, button.

          • auth@lemmy.ml
            link
            fedilink
            arrow-up
            1
            ·
            8 months ago

            so you copy opened tabs to clipboard and want to re-open another copy?

            • interdimensionalmeme@lemmy.mlOP
              link
              fedilink
              arrow-up
              1
              arrow-down
              1
              ·
              8 months ago

              It is a list of URLs, it can come from many places. I’m not just closing and reopening 100+ tabs from and to the same place. Example copying tabs from one computer, or vm, to another.

              The list could also be out of a text editor.

              • auth@lemmy.ml
                link
                fedilink
                arrow-up
                1
                ·
                8 months ago

                You know that if you setup a mozilla account, you can view tabs from any device/vm? and its supposed to be e2ee

                • interdimensionalmeme@lemmy.mlOP
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  8 months ago

                  Yes, I use that between my main pc and phone. But doing that for multiple hundreds of tabs gets quite clunky compare to copy and pasting lists of urls.

      • Malix@sopuli.xyz
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        8 months ago

        if firefox is the default browser, I guess just start "" "https://your.url.here.foo", as per https://superuser.com/a/36730

        otherwise, 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.

  • VeryNiiiice@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    8 months ago

    If you know Javascript you could maybe create a bookmarklet that does this. I just don’t know if it can access your clipboard.