I have Firefox running on two computers. Each one with your bookmarks. I'd like to import just a folder of computer 1 Firefox bookmarks to computer 2 Firefox bookmarks.
I don't want to import all the bookmarks, just a folder.
I thought of doing that dir开发者_运维技巧ectly in the bookmarks file: bookmarks.html.
But how do I do it?
Solved:
I exported the bookmarks as an HTML file, then I opened it in an HTML editor. Then it is not so hard to spot the folders and bookmarks inside it. I copied what I wanted.
Open the other Firefox, export bookmarks, open it in an HTML editor and paste the code. Save.
From inside Firefox, import the changed bookmarks.html and voila!!
- Backup your bookmarks as a JSON file.
- Delete the bookmarks you do not want.
- Export the ones you do want as an HTML file
- Restore your bookmarks with the JSON file
- Install Firefox add-on OneTab
- Send tabs to OneTab
- Click Share as webpage (or select and copy the text)
- Save and move that page
https://addons.mozilla.org/en-US/firefox/addon/onetab/?src=search
"Send tabs to the right to OneTab" is probably what you're after.
I was similarly surprised how hard this was without an add-on but this is an easy solution once I thought of it. You have to get used to how OneTab works, and maybe tweak its settings for how you work, and I still do a lot of save all tabs, but OneTab has become a very useful on-the-fly part of my tab/ boookmarking process.
Here's a not too difficult solution. I've had a similar problem with a folder disappearing from my very heavily populated Bookmarks toolbar. I probably accidentally did something to delete it. Fortunately, the folder still existed on another computer.
I tried exporting to html (10,000 lines) and json (1 line 78,000 characters wide), so I didn't fancy editing either of those.
Here's what I did.
On the computer with the bookmarks still remaining, Export the bookmarks to html (Bookmarks/Show All Bookmarks/Import and Backup/Export Bookmarks to HTML).
Open the containing folder from the download dialog box. Open this html file in Firefox in the destination profile.
Use FF search to find the folder you want and select the title of the folder to the end of the folder contents.
Here's the good stuff. I don't know if this was in Firefox when this problem was first raised. Right click and select "View Selection Source". You'll get a popup window with just the source you need. Save it straight from the window as a .html file. (Web page only) Copy the path from the saveas box address bar.
Open the bookmarks library ShiftCtrl_B, Import the html file. (Paste the path into the address bar.)
Move the folder from the bottom of the Bookmarks Menu folder to where you want it. Done
Open Firefox
- Select a bookmark folder that you want to export
- Select Copy
Open a product that permits to "paste as HTML", it will insert the "titles" and the links in a structure HTML, with correct TAGS (HREF, DD, DT, ...):
- PsPad
- AceHTML
Create an empty file [NomeFile].HTML
- Paste as HTML (you must obtain an HTML structure)
Execute in this order:
Substitute: "DL>"
With: "DL><p>"
Delete: "<DD>"
Delete: "</DD>"
Delete empty rows
Substitute: "<DT>"
With: "<DT><H3>"
Substitute: "<A HREF"
With: "<DT><A HREF"
Save the file
In Firefox
- Import and Backup
- Import bookmark as HTML, select the file created
- Open all the imported links to obtain the favicons
- Import and Backup
This procedure worked exporting from FireFox 71 and importing in Firefox 83
Drag and drop the folder to any Firefox text-ready field (I'm used to use Yahoo notepad). You will be provided with a clean text list of all the URLs contained in the folder.
Copy/paste on a software able to generate a mail/PDF and all links will be active. Word/LibreOffice allow the activation of links when any space related figure (spacebar, enter, tab, etc.) is manually added. Pretty boring, but it is an easy task to generate an HTML file ready for import back to Firefox.
Just a wild guess... I think there are specialistic text editors around that have some function able to perform the conversion with much less hassle :)...
For firefox 57 and later, use the addon tabzen.
- Install the addon
- click tabzen icon
- choose settings icon in upper right corner to get popup
- on the popup use the icon in the upper right to put the popup in a tab
- use import on the root directory of a file you created from the "show all bookmarks" window using export. This had created an html file of all bookmarks in a profile. Now with all this folder structure in tabzen, you can go to a folder and export just that folder to an html file.
- You can use that html file, to import where you want it in your own browser by using the "show all bookmarks" window, go to the folder where you want to import to, and import the html file created by tabzen.
By default tabzen puts html files in the download directory.
BookmarksHome cuts out steps 1 and 2 from JT Ripper's answer above. Click the icon opens the bookmarks in a web page in the source profile. Start from step 3 - now only 4 steps. (But it spreads subfolders around you need to search for them!)
I've tried many answers on here, but none of them achieved my goal: To import all Firefox bookmarks without messing up the folder structure
Here's what worked for me:
- open the Website
about:profiles
- in Root Directory click on
Open Directory
(if there are multiple profiles, click on the one without the buttonLauch profile in new browser
) - copy (not move!) all the files onto a USB or smth similiar
3.1 (connect the USB to the 2nd PC)
- repeat step 1 and 2 on the 2nd PC
- go to the parent directory (i.e. one directory up)
- create a new folder, the name should end with ., e.g. "lsri5trz.default"
- copy (or move) all the files from the USB into the created folder
- go back to firefox in
about:profiles
- click on
Create a new profile
> thenNext
- type in the '2nd name' of the folder (in this case "default")
- click on
Choose Folder...
- select the created folder
- under the profile, click on "Lauch profile in new browser"
The disadvantage is that copying the files can take up to 10mins each time, because you are not just copying the bookmarks, but also all the settings, configuration files, themes, addons, history... This is why this is not the optimal way to just import the bookmarks with the right folder structure
One way is
Click on Bookmarks > Organize Bookmarks > Import and Backup > backup
& save that file, transfer it to your new computer and import it into Firefox.
Another tedious(may be) way Organize Bookmarks > Export Bookmark.
You can then email the file, save it to a utility like
dropbox, put it on a USB drive or whatever else you may have available
to transfer it to your other computer. Then you can import it into the
browser on your other computer.
Look here : Export Bookmarks in Mozilla Firefox
精彩评论