Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search

Make7

(8,543 posts)
3. There should be a recent backup bookmarks file in the Mozilla profile folder.
Sun Jan 20, 2013, 06:45 PM
Jan 2013

(This will probably sound more complicated than it is - but it really isn't that bad.)

On Windows hit WindowsKEY+R to open the Run... dialog box. Type/paste in %APPDATA%\Mozilla\Firefox\Profiles\ and click Okay. Open the profile folder with the word default in it. (See this for other operating systems.) There should a folder named bookmarkbackups inside that. Open it then copy and paste the most recent backup file to the desktop (or any other folder that is easy to work with).

Start IE or Chrome and either drag the backup file from the desktop or use the Open dialog (Ctrl+O) to view its contents. To make a new window/tab with a list of clickable links from that file (which you can open in a new tab and bookmark in whatever browser you are using), create and run a bookmarklet with the following code:

[div class="excerpt" style="word-wrap: break-word; margin-left: 1em; border: 1px solid #bfbfbf; border-radius: 0.4615em; box-shadow: 3px 3px 3px #999999;"]javascript:(function(){var%20ar1=document.body.outerHTML.split('{');var%20w=window.open();w.document.open("text/html&quot ;w.document.write('<!DOCTYPE%20html><html><body>');for(var%20cnt=0;cnt<ar1.length;cnt++){if(ar1[cnt].search('http')>0){var%20ar2=ar1[cnt].split('"');var%20ttl='';var%20uri='';for(var%20i=0;i<ar2.length;i++){if(ar2[i]=='title'){i=i+2;ttl=ar2[i];}else%20if(ar2[i]=='uri'){i=i+2;uri=ar2[i];}}if((ttl.length>0)&&(uri.length>0)){w.document.write('<a%20href="'+uri+'"%20target="_blank">'+ttl+'</a><br>'+'\n');}else%20if(uri.length>0){w.document.write('<a%20href="'+uri+'"%20target="_blank">'+uri+'</a><br>'+'\n');}}}w.document.write('</body>\n</html>');w.document.close();})()
To make bookmarklet, just create a bookmark on whatever page you have open and then go to its properties and give it an appropriate name, replace the URL with the javascript code above and click OK or Save or whatever your browser wants. To run it, just select it like you would any other bookmark.

I tested this using the bookmark file from FireFox17 and ran the bookmarklet in IE9 and Chrome24 - hopefully it will get most of the names of your bookmarks instead of just the URLs, but I only spent enough time on it to make the parsing work for simple bookmark info - it should get all the URLs that start with http though.

Latest Discussions»Help & Search»Computer Help and Support»mozilla stopped working o...»Reply #3