![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
How can I find a misplaced bookmark?
Apparently I accidentally dragged a bookmark to an unintended folder; how can I locate the folder it is in so I can drag it back to the correct folder? I can find the book mark by searching for it (either in the sidebar [Ctrl-B] or in the library [Ctrl-Shift-B] ; but these show the url and other information but not which folder it is in. I know it is saved somewhere. I probably have 100 folders. I can drag it from the search results list to a folder but that actually duplicates it.
Diubah
All Replies (6)
Hey cvbt,
It probably wound up in the "Unsorted Bookmarks" folder. An easy way to find it an fix it would be to just start typing the url or name of the bookmark into the address bar. It will autocomplete if you have it bookmarked. Once you find it and go to the site, click on the star next to the URL. Clicking on the star will give you the option to edit the bookmark.
Hopefully this helps!
The dialog that comes up from the star icon also shows the current folder, and if you click the downward-pointing V icon next to the folder name, you can scroll down to find that folder in the hierarchy. Would be nice if it were integrated into other dialogs, but...
You can open that URL in a tab and click the star button on the location bar to see in which folder the bookmark is located.
There are also extension that add an extra column in the bookmarks manager.
- Show Parent Folder: https://addons.mozilla.org/firefox/addon/show-parent-folder/
- Go Parent Folder: https://addons.mozilla.org/firefox/addon/go-parent-folder/
Well, those are pretty good answers. I have a twist for you though: this bookmark doesn't open up a new tab, it downloads a file. So, the star button is not accessible. It's a great bookmark. I use it often. Thanks for your replies; I didn't know that.
Diubah
Try to switch to offline mode (Firefox > Web Developer > Work Offline or File > Work Offline) if you do not want to use the extension. Then Firefox won't be able to open the link.
Are you nerdy? Do you remember any part of what you named the bookmark? If so, you could try this.
Please make a backup of your Firefox Profiles folder first just in case something goes wrong.
Then install this add-on: SQLite Manager :: Add-ons for Firefox.
Insert your pocket protector. ;-)
Copy the following to the clipboard:
SELECT b.title AS Bookmark, p.title AS Folder, h.title AS HigherFolder, f.url AS URL FROM ((moz_bookmarks AS b INNER JOIN moz_bookmarks AS p ON p.id = b.parent) INNER JOIN moz_bookmarks AS h ON p.parent = h.id) INNER JOIN moz_places AS f ON f.id = b.fk WHERE b.title like '%mozilla%'
Now let's fire up that new add-on:
Firefox classic Tools menu > SQLite Manager
(if you don't display the classic Tools menu, use Alt+t to display it)
Inside the add-on, on the toolbar: click (Select Profile Database), choose places.sqlite, then click Go
From the left pane, under Tables, click moz_bookmarks. Depending on which tab is active on the right, this may display a lot of bookmark titles (and various numbers) or something else.
Click the Execute SQL tab, clear out what's there, and paste in the query you copied from above.
You can click Run SQL to see what happens: it should list any bookmarks with mozilla in the title along with the folder they're in and the parent folder of that folder.
To search for the bookmark you lost, replace the mozilla in the last part of the query with text from the title you want to find. Then click Run SQL.
If you don't find it by title but you know part of the URL, you could try this query instead:
SELECT b.title AS Bookmark, p.title AS Folder, h.title AS HigherFolder, f.url AS URL FROM ((moz_bookmarks AS b INNER JOIN moz_bookmarks AS p ON p.id = b.parent) INNER JOIN moz_bookmarks AS h ON p.parent = h.id) INNER JOIN moz_places AS f ON f.id = b.fk WHERE f.url like '%mozilla%'
Any luck?