搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Bookmarks, bulk edit, searc/replace, places.sqlite/html ?

  • 4 回覆
  • 1 有這個問題
  • 11 次檢視
  • 最近回覆由 cor-el

more options

Greetings.

My situation is I have multiple bookmarks (100++) with a Title/Name text format eg. "ABCD...123...EFG...HIJK ...".

I need to trim off the first characters and ideally the last characters of the Title, leaving eg. "123...EFG...". A search-and-replace operation would be best if possible.

I can move all the bookmarks that need to be modified, to a separate bookmarks folder if necessary.

Can anyone please suggest a way to do this, using a add-on tool or utility to safely modify the SQLite 'places.sqlite' database or bookmarks.html   

I knew some basic SQL script years ago and think I can pick up some again or SQlite.

Or - export / backup bookmarks to to a 'json' or bookmarks.html file, edit the file using search-replace in a text editor, then restore from the file   

  • Are the backup json and export html files in plain ASCII characters that I can edit the Title text fields   


Thanks, Michael.

Greetings. My situation is I have multiple bookmarks (100++) with a Title/Name text format eg. "ABCD...123...EFG...HIJK ...". I need to trim off the first characters and ideally the last characters of the Title, leaving eg. "123...EFG...". A search-and-replace operation would be best if possible. I can move all the bookmarks that need to be modified, to a separate bookmarks folder if necessary. Can anyone please suggest a way to do this, using a add-on tool or utility to safely modify the SQLite 'places.sqlite' database or bookmarks.html    I knew some basic SQL script years ago and think I can pick up some again or SQlite. Or - export / backup bookmarks to to a 'json' or bookmarks.html file, edit the file using search-replace in a text editor, then restore from the file    * Are the backup json and export html files in plain ASCII characters that I can edit the Title text fields    Thanks, Michael.

由 Nozokyo 於 修改

所有回覆 (4)

more options

I have not heard of such a thing.

Go to the Mozilla Add-ons Web Page {web link} (There’s a lot of good stuff here) and search for what you want.

more options

EDIT: I modified this question title & contect since original post.

more options

You should be able to make the modifications to a JSON backup and restore this file.

You can open the file in the Scratchpad (Firefox/Tools > Web Developer) and click the "Pretty Print" button to format the file for readability. You can use a suitable text editor that can support regular expressions if it can't be done with a normal search and replace.

more options