Elektrine lite

← Feed

@nekohayo@mastodon.social

Post #1828626

2026-04-30 17:11 UTC

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.

Replies (3)

  • @nekohayo@mastodon.social 2026-04-30 18:43

    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.

    Open ##1845840

  • @rnb@framapiaf.org 2026-04-30 17:22

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

    Open ##1891742

  • @inguin@nerdculture.de 2026-04-30 18:06

    @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.

    Open ##1891747