Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. Would be nice to have a trustworthy #Firefox add-on for doing search-and-replace on URLs in bookmarks, to fix up #GitLab's arbitrary renaming of "/-/issues/" to "/-/work_items/"

Would be nice to have a trustworthy #Firefox add-on for doing search-and-replace on URLs in bookmarks, to fix up #GitLab's arbitrary renaming of "/-/issues/" to "/-/work_items/"

Scheduled Pinned Locked Moved Uncategorized
firefoxgitlab
10 Posts 6 Posters 33 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • nekohayo@mastodon.socialN This user is from outside of this forum
    nekohayo@mastodon.socialN This user is from outside of this forum
    nekohayo@mastodon.social
    wrote last edited by
    #1

    Would be nice to have a trustworthy #Firefox add-on for doing search-and-replace on URLs in bookmarks, to fix up #GitLab's arbitrary renaming of "/-/issues/" to "/-/work_items/"

    The most popular add-on I found, https://addons.mozilla.org/firefox/addon/bookmarks-organizer/, can't do it. Everything else in https://addons.mozilla.org/en-US/firefox/search/?q=bookmarks+replace+url replace url seems to have a few hundred users at most…

    According to "Bookmarks Organizer", I have over 18,000 bookmarks, of which 1k are GitLab issues URLs, so doing it manually would be very inefficient.

    rnb@framapiaf.orgR inguin@nerdculture.deI nekohayo@mastodon.socialN 3 Replies Last reply
    0
    • nekohayo@mastodon.socialN nekohayo@mastodon.social

      Would be nice to have a trustworthy #Firefox add-on for doing search-and-replace on URLs in bookmarks, to fix up #GitLab's arbitrary renaming of "/-/issues/" to "/-/work_items/"

      The most popular add-on I found, https://addons.mozilla.org/firefox/addon/bookmarks-organizer/, can't do it. Everything else in https://addons.mozilla.org/en-US/firefox/search/?q=bookmarks+replace+url replace url seems to have a few hundred users at most…

      According to "Bookmarks Organizer", I have over 18,000 bookmarks, of which 1k are GitLab issues URLs, so doing it manually would be very inefficient.

      rnb@framapiaf.orgR This user is from outside of this forum
      rnb@framapiaf.orgR This user is from outside of this forum
      rnb@framapiaf.org
      wrote last edited by
      #2

      @nekohayo

      Et pourquoi pas exporter les bookmarks (en HTML ou en JSON), corriger avec un outils dédié puis réimporter les bookmarks ?

      cristianrasch@fosstodon.orgC 1 Reply Last reply
      0
      • rnb@framapiaf.orgR rnb@framapiaf.org

        @nekohayo

        Et pourquoi pas exporter les bookmarks (en HTML ou en JSON), corriger avec un outils dédié puis réimporter les bookmarks ?

        cristianrasch@fosstodon.orgC This user is from outside of this forum
        cristianrasch@fosstodon.orgC This user is from outside of this forum
        cristianrasch@fosstodon.org
        wrote last edited by
        #3

        @rnb @nekohayo Was about to propose the same workflow. Using a powerful text editor like #vim that's just 2 commands way (one to make the substitution across the entire file, plus another to save your changes and exit the editor)

        nekohayo@mastodon.socialN 1 Reply Last reply
        0
        • cristianrasch@fosstodon.orgC cristianrasch@fosstodon.org

          @rnb @nekohayo Was about to propose the same workflow. Using a powerful text editor like #vim that's just 2 commands way (one to make the substitution across the entire file, plus another to save your changes and exit the editor)

          nekohayo@mastodon.socialN This user is from outside of this forum
          nekohayo@mastodon.socialN This user is from outside of this forum
          nekohayo@mastodon.social
          wrote last edited by
          #4

          @cristianrasch @rnb
          Yuck
          But also, I fear this rugpull could go "very wrong" with Firefox Sync across multiple computers, and with extensions such as https://addons.mozilla.org/en-US/firefox/addon/snoozetabs/ (which uses bookmarks behind the scenes)

          rnb@framapiaf.orgR 2 Replies Last reply
          0
          • nekohayo@mastodon.socialN nekohayo@mastodon.social

            @cristianrasch @rnb
            Yuck
            But also, I fear this rugpull could go "very wrong" with Firefox Sync across multiple computers, and with extensions such as https://addons.mozilla.org/en-US/firefox/addon/snoozetabs/ (which uses bookmarks behind the scenes)

            rnb@framapiaf.orgR This user is from outside of this forum
            rnb@framapiaf.orgR This user is from outside of this forum
            rnb@framapiaf.org
            wrote last edited by
            #5

            @nekohayo @cristianrasch

            I've done a lot of export import of bookmarks between browsers over the years without problems (except with Gnome Epiphany)

            The size (18 000 bookmarks 😱) should not be a problem, but I don't know how Firefox Sync will react.

            Maybe a "dryrun" with a dedicated firefox profile to see how it goes.

            1 Reply Last reply
            0
            • nekohayo@mastodon.socialN nekohayo@mastodon.social

              Would be nice to have a trustworthy #Firefox add-on for doing search-and-replace on URLs in bookmarks, to fix up #GitLab's arbitrary renaming of "/-/issues/" to "/-/work_items/"

              The most popular add-on I found, https://addons.mozilla.org/firefox/addon/bookmarks-organizer/, can't do it. Everything else in https://addons.mozilla.org/en-US/firefox/search/?q=bookmarks+replace+url replace url seems to have a few hundred users at most…

              According to "Bookmarks Organizer", I have over 18,000 bookmarks, of which 1k are GitLab issues URLs, so doing it manually would be very inefficient.

              inguin@nerdculture.deI This user is from outside of this forum
              inguin@nerdculture.deI This user is from outside of this forum
              inguin@nerdculture.de
              wrote last edited by
              #6

              @nekohayo
              Don't know of any extension, sorry.

              My own approach for a similar migration was to fix this up directly in the history/bookmarks database:

              - Quit Firefox
              - Find the places.sqlite file in your profile
              - Make a backup!
              - Type: sqlite3 places.sqlite
              - Type: update moz_places set url = replace(url, '/-/issues?', '/-/work_items?');
              - Quit with Ctrl-D

              This will fix both bookmarks and the history. Unfortunately I have no clue how Firefox Sync will react to this stunt.

              1 Reply Last reply
              0
              • nekohayo@mastodon.socialN nekohayo@mastodon.social

                Would be nice to have a trustworthy #Firefox add-on for doing search-and-replace on URLs in bookmarks, to fix up #GitLab's arbitrary renaming of "/-/issues/" to "/-/work_items/"

                The most popular add-on I found, https://addons.mozilla.org/firefox/addon/bookmarks-organizer/, can't do it. Everything else in https://addons.mozilla.org/en-US/firefox/search/?q=bookmarks+replace+url replace url seems to have a few hundred users at most…

                According to "Bookmarks Organizer", I have over 18,000 bookmarks, of which 1k are GitLab issues URLs, so doing it manually would be very inefficient.

                nekohayo@mastodon.socialN This user is from outside of this forum
                nekohayo@mastodon.socialN This user is from outside of this forum
                nekohayo@mastodon.social
                wrote last edited by
                #7

                YOLO I guess, I was not going to be doing manual database surgery nor manually editing a thousand bookmarks, so ended up using https://addons.mozilla.org/firefox/addon/bookmark-url-batch-replacer/ and hoping that it can be trusted.

                That UI is sketchy as hell, but it seems like "/-/issues/" and "/-/work_items/" did not trigger any regexes.

                Link Preview Image
                danialbehzadi@persadon.comD deobald@fantastic.earthD 2 Replies Last reply
                0
                • nekohayo@mastodon.socialN nekohayo@mastodon.social

                  @cristianrasch @rnb
                  Yuck
                  But also, I fear this rugpull could go "very wrong" with Firefox Sync across multiple computers, and with extensions such as https://addons.mozilla.org/en-US/firefox/addon/snoozetabs/ (which uses bookmarks behind the scenes)

                  rnb@framapiaf.orgR This user is from outside of this forum
                  rnb@framapiaf.orgR This user is from outside of this forum
                  rnb@framapiaf.org
                  wrote last edited by
                  #8

                  @nekohayo @cristianrasch

                  Here's a really simple firefox extension that could do the trick.

                  __Test__ and __backups__ before of course.

                  Link Preview Image
                  update bookmarks ($7643) · Snippets · GitLab

                  Framagit

                  favicon

                  GitLab (framagit.org)

                  1 Reply Last reply
                  0
                  • nekohayo@mastodon.socialN nekohayo@mastodon.social

                    YOLO I guess, I was not going to be doing manual database surgery nor manually editing a thousand bookmarks, so ended up using https://addons.mozilla.org/firefox/addon/bookmark-url-batch-replacer/ and hoping that it can be trusted.

                    That UI is sketchy as hell, but it seems like "/-/issues/" and "/-/work_items/" did not trigger any regexes.

                    Link Preview Image
                    danialbehzadi@persadon.comD This user is from outside of this forum
                    danialbehzadi@persadon.comD This user is from outside of this forum
                    danialbehzadi@persadon.com
                    wrote last edited by
                    #9

                    @nekohayo
                    Did you try escaping slashes? (\/)

                    1 Reply Last reply
                    0
                    • nekohayo@mastodon.socialN nekohayo@mastodon.social

                      YOLO I guess, I was not going to be doing manual database surgery nor manually editing a thousand bookmarks, so ended up using https://addons.mozilla.org/firefox/addon/bookmark-url-batch-replacer/ and hoping that it can be trusted.

                      That UI is sketchy as hell, but it seems like "/-/issues/" and "/-/work_items/" did not trigger any regexes.

                      Link Preview Image
                      deobald@fantastic.earthD This user is from outside of this forum
                      deobald@fantastic.earthD This user is from outside of this forum
                      deobald@fantastic.earth
                      wrote last edited by
                      #10

                      @nekohayo this is a small hearbreak and horror for those of us who just spent a few months writing immutable bookmark managers.

                      1 Reply Last reply
                      1
                      0
                      • R relay@relay.infosec.exchange shared this topic
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups