Bookmarks in Firefox

Location: http://www.mvps.org/dmcritchie/firefox/bookmarks.htm      
Home page: http://www.mvps.org/dmcritchie/firefox/firefox.htm
[View without Frames]
The information here was copied (but not removed) from rightff.htm#bookmarksbar, the chromed bookmarks tab from tabs.htm#chrome

Bookmarks bar -- Personal Toolbar Folder  (#bookmarksbar)

bookmarksbar *
 

The bookmarks bar can be modified with userChrome (see userChrome.css changes}


userChrome code changes for Bookmarks Bar with folders in blue, and filenames in red; and
Tabs Bar underlining as inactive tab, active tab, and unread tabs, and a smaller font size on all toolbars.

[image of all toolbars]


Open
Open in New Window
Open in New Tab
New Bookmark
New Folder...
New Separator
Cut
Copy
Paste
Delete
Sort By Name
Properties
single Bookmark in Bookmarks menu
or Bookmarks bar
Expand
Open in Tabs
Manage Folder
New Bookmark
New Folder...
New Separator
Cut
Copy
Paste
Delete
Sort by Name
Properties
Folder in Bookmarks menu
or Bookmarks bar
The Bookmarks Toolbar is the “Personal Toolbar Folder” in your Bookmarks (bookmarks.htm).  So anything you can do (move, drag to, copy, paste, sort) in your Bookmarks you can also do in your Bookmarks Toolbar.  I have chosen to have my Bookmarks Toolbar comprised of Folders because of limited real estate in the browser.  Most of the bookmarks that I maintain in the Bookmarks Toolbar folders are bookmarklets, which are JavaScript code that you can use on the location bar, favorites, or drag to the Bookmarks bar to use later on other web pages.  

You can customize your bookmarks toolbar by dragging a webpage link or the Favicon at leftside of the location bar to the bookmarks toolbar.  Just like you do when you drag a link to your bookmarks through the Bookmarks menu or through the Bookmarks Manager (Ctrl+B).  In Internet Explorer can customize your links bar, by dragging a link to the links bar (or to a links bar folder) exactly the same regardless of your browser. 

To delete a bookmark or folder from your Bookmarks bar, left click on Bookmark on the Firefox main menu, then on Manage Bookmarks, then delete the unwanted bookmark or folder.

The default name of "Personal Toolbar Folder" can be changed by providing a value for custtoolbar.personal_toolbar_folder in about:config or from with bookmarks manager by selecting a folder then then using edit (menu), "Set as bookmarks toolbar folder".  Probably not a good idea though for most people, but it is possible to have duplicate names from an import.

Google Groups Search:  You don't need the Google extension to provide a button for the Google Groups search, you can create your own  search button on your bookmarks bar (links bar) by going to Google Groups and then dragging the link to bookmarks bar and stripping out all wording with a right click to change properties to just have a button and to make sure you just have the following link within.


Works for single word like Excel
http://groups.google.com/advanced_group_search?q=group:*Excel*&num=100 title="Search the *Excel* Newsgroups with Google Groups" target="nw"
or for *mozilla.support.firefox* into the group box (need HELP with This)
http://groups.google.com/advanced_group_search?q=group:*mozilla.support.firefox*&num=100

Manage Bookmarks Bookmarks Manager:
Right click on the icon to open in new window or to open in new tab; otherwise opens in same window.  (Same as in IE, except IE doesn't have Tabs).  Another way to open in a new tab is to drag to the “New Tab” (you can't drag the icon to the toolbar)

Sorting Bookmarks in Firefox(#sortbookmarks)
Ctrl-B (for bookmarks)
Fx2: Right click on a bookmark entry directory, Sort by Name
Fx3: Right click on the folder to sort folders/bookmarks immediately within. (see Sorting bookmarks alphabetically - MozillaZine Knowledge Base, separator modifications made 2008-06-25)
(IE users can look at PC World article article for sorting bookmarks.)

Read more about Bookmarks and the Bookmark Manager on a separate page (onsite).

You might want set up your favorite bookmarks as keywords.  I am currently keeping my keyword bookmarks in their own folder (K) on my bookmarks bar just so I can keep track of what keywords I have and to minimize duplicates or deleting important bookmarks, see examples of my keyword shortcuts

In Firefox 3.* and above use "SortPlaces" extension to permanently sort bookmarks (sorting with SortPlaces is reversible).  More information in MozillaZine article "Sorting and rearranging bookmarks - Firefox - MozillaZine Knowledge Base".

Firefox 3 (3.0b2)

Bookmark Organization and Sorting changes in Firefox 3 (3.0b2)

Basically the organization is the same as before, but you will note that Firefox 3.0b2 has some changes to protect the Bookmarks Toolbar (formerly Personal Bookmarks) from being sorted accidentally, that may have been protected previously in an extension with the appropriate options.

Within Bookmarks (Ctrl+B) and Places Organizer (Ctrl+Shift+B, or Tools, Show Bookmarks } you will see that there are 3 subfolders within Bookmarks, and you cannot sort the Bookmarks folder itself, but you can sort separately from each of it's main subfolders: "Bookmarks Toolbar", "Bookmarks Menu", and "unfiled Bookmarks" with the context menu item ("Sort Bookmarks"), or any of the subfolders. You can not select a bookmark and sort as it is grayed out, you must sort by selecting a folder and the items within the folder will be sorted (recursive sorting is controlled by sortbookmarks.recursive or maybe that was just used by extensions "Bookmarks sorting", and "Sort bookmarks").

You can use the [-] and [+] buttons to collapse and expand viewing of your bookmark folders, and to better see it's structure.

As further protection, against having your "Bookmarks Toolbar" inappropriately sorted, you cannot create your own folders in the "Bookmarks" folder but you can create folders and bookmarks in any of it's subfolders. So you can sort your "Bookmarks Toolbar" and then drag things around and not be affected later by sorting "Bookmarks Menu" or "unfiled Bookmarks".

"Places Organizer" (formerly "Organize Bookmarks") has an additional sort ordering from the Views menu. Views also specifies which columns will be seen, but is not sticky you have to choose your non default columns each time.

Within "Places Organizer" you will also see that History and Tags which really share the same format/content as a bookmark are included as separate folders.

If you had an extension "Sort Bookmarks" or "Bookmark Sorting" disable it, won't work and menu may be deceptive.

Location of a bookmark to a folder
VERY PAINFUL, and a show stopper, unless "Locate in Bookmarks" extension will be made to work with Places.

Opera nicely shows the bookmarking structure when a bookmarks search is invoked from the bookmarks sidebar (Ctrl+B in Firefox, Ctrl+Alt+B in Opera), see picture and would like to see that in Firefox, but Opera has same problems as Firefox if you were to sort on any column such as name, url, or nickname (Keyword in Firefox), so you still need something like the Locate in Bookmarks extension.  See Locate in Bookmarks (support, 2008-03-19).
With in "Places Organizer" in 3.0b2, formerly "Organize Bookmarks" in 2.0.0.*, you can't find the containing folder of the bookmark, not even in Fx2, but in Fx2 there was an extension "Locate in Bookmarks" .

Now with the changes of bookmarks really **has to be in Firefox** should not be relying on extensions for such basics. https://addons.mozilla.org/firefox/622

Currently because the full disclosure features of the "OpenBook" extension have not been included in Firefox 3 Beta and the extension does not work in FF 3, creating bookmarks is severly hampered without ease of access to Keyword, in addition to the undesireable effects of the Starred bookmarks without a location folder descriptor/locator and the fact that you don't know what you are modifying or deleting.

Hopefully a decent dialog with Ctrl+D will be builtin to the final version that emphases keyword more than tags. As it is now they've suppressed keyword (and description) many places to encourage use of tags which creates a very big usability issue with one of the best features (keyword) of Firefox.

Several Extensions can't be used because the disable Ctrl+D: McAfee SiteAdvisor, Search Cache, Split Browser. Also the OpenBook extension doesn't actually do anything now in Fx3. (see f3 comments for updates).

You will notice that in their haste to promote Tags: that it is more difficult to create the much more useful Keyword: (for more information see Firefox Keyword Shortcuts

More information on Firefox 3 in firefox.htm#fx3 , and places.htm

Unrelated to bookmarks, but really miss the "keyconfig" extension that lists all keyboard shortcuts -- should have been builtin to Firefox, as it would note anybody overriding builtin keyboard shortcuts.

Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9b2) Gecko/2007121120 Firefox/3.0b2 ID:2007121120



View menu, sidebar  [onsite]

ff_view_sidebar.jpg (8980)
  Bookmarks menu   (kb article)
Bookmark all Tabs Ctrl+Shift+D  
Search Bookmarks
Bookmark this page Ctrl+D
Organize Bookmarks
Subscribe to this Page 
/// 
Clubs    (folder)
>
/// Computers   (folder)
>


Manage Bookmarks with the Bookmarks Manager  (#manage)

Right click on Bookmarks menu and then on Manage Bookmarks, and a new window opens up with the bookmarks.  There is also Ctrl+B (toogle) which is the same but in a single column pinned to the left side of the current window referred to as a Sidebar.

Sorting Bookmarks   (#sorting)

Sorting in both lists can be controlled from bookmark manager. By clicking on Name, first you get your default view, then you get sorted folders and bookmarks together in alpha order, next click in reverse alpha order.

By sorting bookmarks and folders together can be useful for placing loose bookmarks into their folders particularly when the first word is the most important reference toward this goal.

To permanently sort the bookmarks.html file in your profile, you will need to use an extension such as Sort Bookmarks

Sorting Bookmarks Alphabetically (Firefox) - MozillaZine Knowledge Base.  Sorting bookmarks one folder at a time, or using extensions for immediate permanent sorting.

Manage Bookmarks (menu)

Find Bookmarks (#find)

Manage Bookmarks (display)

Manage Bookmarks with the Enhanced Bookmark Search extension, Search by Title, Location, description or keyword including modifiers of contains, starts with, ends with, is, is not, doesn't contain. [for Manage bookmarks via Bookmarks menu]

Manage Bookmarks (menu) with Enhanced Bookmark Search

After using Find search in the Manage Bookmarks list for “Firefox” you can use the bookmark but you can't see what folder a bookmark of interest can be found in.  To help you locate the folder you should add the Locate in Bookmarksfolders extension.  which adds “Locate” to your context menus, since folder information is not included in properties.  [additional extensions].

To help with such things as Firefox Keyword Shortcuts, would suggest you add the columns Keyword and Description using the View menu to cusomiza.

Personal Toolbar Folder   (#personal)

Your personal bookmarks is probably your most important single folder in your bookmarks file; and because the Bookmarks Bar is a folder in your Bookmarks, you can drag links to it, create sub folders, and install bookmarklets. 

[bookmarksbar.htm]

In fact to create a new folder on your bookmarks bar you use Manage bookmarks. 
For more information about your Bookmarks bar -- Personal Toolbar Folder  (on-site)


userChrome changes above show Bookmarks Bar with folders in blue, and filenames in red; and Tabs Bar underlining as inactive tab, active tab, and unread tabs, and a smaller font size on all toolbars.

Exporting Bookmarks (#export)

The bookmarks.html is a regular HTML file, there is no real need for an export, but you can find an export under bookmarks, file manager (Library (Organize Bookmarks)).  If you want to work with bookmarks.html in Notepad, suggest bringing Firefox down first so that you see current copy (don't really know if this step is needed though).  Your Profiles folder contains one or more profiles, one of which is your profile folder which in turn contains your bookmarks.html and addtional customization files all of which should be included with your backups.  Backing up or exporting your bookmarks.html file does not change the need to backup your entire profile.  There is a bookmarkbackups folder in your profile folder that has several daily backups of your bookmarks.html file.

Importing Bookmarks (#import)

Watch out for duplicate imports, it will result in additional bookmarks added, at first it will seem that you are replacing what you have but you aren't, you are adding at the end to what you have.

Bookmark Properties (#properties)


Add Bookmark, Ctrl+D, extended by OpenBook with Options.
Description filled in from META data.
Keyword filled in manually
Dropdown on left for latest (MRU) bookmark folders added to.
Dropdown on right ability to select any bookmark folder.
Dialog box widened due to userChrome.css change.
Also see Extensions (below) for keyword w/o ext.
You must go into properties to see
  [_} Load the bookmark in the side bar
Bookmark folders have a name and can have a description.  Keep in mind that Firefox bookmarks are in the bookmarks.html file, so the folders that are in bookmarks are logical folders.  In Fx3 your bookmarks are no longer in bookmarks.html but in an sqlite database (places.sqlite).
In Internet Explorer (IE6) the folders in Favorites are actually directories on your hard drive, it was bad design from the start as it was designed for what they thought was the typical user with only thirty bookmarks (20-40 bookmarks).  A directory entry requires 1K or 4K (have to get that information), and it also applies to your Windows Desktop and Quick Launch shortcuts.

In reality many programmers and researchers have well over a thousand bookmarks.

Bookmark entries have a name and a location (url), and can have a shortcut (keyword shortcut), and a description.  There is also a checkbox to indicate if you want it to show in the sidebar (I leave it unchecked).

In the bookmarks properties you can add a description for each bookmark, which will show up in Firefox and most other browsers because it is HTML, but will be dropped from Internet Explorer imports because IE6 uses directories.  Additional Pictures of use of Ctrl+D to add information directly to a bookmark when created with the help of the "OpenBook" extension, rather than later through the bookmark properties makes the user interface much better, see Additional Pictures [bookmarks dropdown] [most recently used dropdown]

As an alternative to the "OpenBook" extension, you can enter a few lines of code into your userChrome.css file or include them as a style in the "Stylish" extension.  By having them in your userChrome.css, you will have access to the items even if extensions are disabled in Safe Mode.

/* http://forums.mozillazine.org/viewtopic.php?f=23&t=687835&p=3679075 */
/* Add a keyword when adding a bookmark -- finally something for Fx3 */
#editBMPanel_keywordRow, #editBMPanel_descriptionRow, 
#editBMPanel_loadInSidebarCheckbox {visibility: visible; }
#editBMPanel_tagsSelector[collapsed="true"]{display:none !important;}

In Firefox 3 (Places) an SQLITE database replaces internal use of the bookmarks.html file but there will be an HTML file available with the bookmarks, it is difficult to see all of these propeties in one place in Fx3:  name, location, keyword, tags, description, and show in sidebar.  Finding the location of the bookmark itself had been available with the "Locate in bookmarks" extension but that also doesn't work in Fx3 Beta 3.0b2 -- in fact the entire user interface for bookmarks has been destroyed in that Beta, we'll see what the next Beta does (3.0b3).

Viewing your bookmarks.html file as HTML (#viewing)

If you view your Firefox bookmarks.html with any browser you will see the descriptions that you may have added through properties.  It is a good idea to have a bookmark for your bookmarks.html in a folder on your bookmarks toolbar so you can view it.

about:config search on bookmarks (#config)

*
The items in bold are changed from their default values. 

Read about browser bookmark config entries in the MozillaZine KB.
  browser.bookmarks.sort.resource   rdf:http://home.netscape.com/NC-rdf#Name (default): by bookmark name

You can find your bookmarks.html file in your profile directory (create a profile: keyword shortcut, use about:cache to help find your profile)

You should be backing up your bookmarks along with your entire profile. 

After installing the Sort bookmarks extension the defaults are changed as shown in a new about:config search on bookmarks. *

Keyboard shortcuts for Bookmarks (#keyboardshortcuts)

Ctrl+B,  brings up Bookmarks side panel (toggles)
Ctrl+Shift+B,  sometimes available in Firefox 3.0 brings up Library, same as Bookmarks (menu), Organize Bookmarks but appears to be available with newly created profile.
Ctrl+D,  bookmark this page
Ctrl+Shift+D,  Bookmark All Tabs   (to a NEW folder within a bookmarks folder of your choice)

Unfortunately there is no Firefox builtin shortcut for Bookmarks Manager (Bookmarks, Manage Bookmarks), but you can make up a keyword shortcut using a Chrome URLs.  You can't invoke a chrome shortcut from a link, but you can drag the shortcut to the location bar and hit Enter, or install a bookmark on your system, preferably as a keyword shortcut for this perhaps a keyword of "BM:" with a title of "BM: Bookmarks Manager".
  chrome://browser/content/bookmarks/bookmarksManager.xul -- ("bm:") in Firefox 2.0.*.* (does not work in Fx3.0b2)
  chrome://browser/content/places/places.xul -- ("places:") for a link to places "Show All Bookmarks" in Firefox 3.0b1
  chrome://browser/content/bookmarks/bookmarksPanel.xul -- in Firefox 3.0b2, not of much use is the right side of Places.

Be wary of anything that wants to control the middle-click button, because the best assignment is Enter, then many operations can be completed by using the mouse alone.  Suggestions for assignments for a 5 button mouse.

Opening a bookmark in a new tab (#bookmark2tab)

Mouse You can use Ctrl+Click on a bookmark to bring up in a new tab.
Read a mini presentation on opening bookmarks and links into new tabs (2007-07-01)

Extensions installed for Bookmarks (#extensions)

Bookmarks Scrollbar (uninstalled), adds a scrollbar to bookmarks (bookmarks, personal toolbar folders) Fx 2.0.0.3 pretty much killed usefullness of the extension but see userChrome code changes.
Enhanced Bookmark Search *, Search by Title, Location, description or keyword including modifiers of contains, starts with, ends with, is, is not, doesn't contain. [bookmarks menu].
Keyword Bar *, Shows a sidebar with all bookmarks that contain a defined keyword (shortcuts)
Locate in Bookmark Folders *, Adds Locate to the Bookmarks Manager (Ctrl+B) context menu so you can tell what “folder” your selected bookmark is in. [context menu of Bookmark Manager]
Add to Search Bar * extension, provides the ability to create keyword shortcuts (bookmarks) for search engines, as well as creating search engine plugins.
Sort Bookmarks *, Sort Bookmarks, you need an extension to permanently sort your bookmarks.html Adds “Sort by Name” to the Bookmarks menu (or perhaps your default sort).
OpenBook *, Customize Add Bookmark (Ctrl+D) to include Description rather than having to update through properties, but OpenBook goes one step better and fills in the Description from the Meta data.  Simple additions to your userChrome.css can include Keyword with your Add Bookmark without the extension, and in Fx3 can even include the description:  see link or for a working Style change see Keyword addition for Add/Change Bookmark (Fx3) | userstyles.org (Style 9029). #keywordRow { display: -moz-grid-line !important; } /* Fx2 */ #editBMPanel_keywordRow, #editBMPanel_descriptionRow, #editBMPanel_loadInSidebarCheckbox {visibility: visible; } /* Fx3 */ #editBMPanel_tagsSelector[collapsed="true"]{display:none !important;} /* Fx3 */
Flat Bookmark Editing(disabled), Edit bookmarks <Ctrl+P> in the bookmark organizer, without opening the properties window. [View Menu] May be useful if you want to edit a lot of links. 
To see what extensions I'm actually using as of my last website update, see my InfoLister Listing.

Bookmark Extensions I don't use (#othersmayask)

Column Bookmarks :: Firefox Add-ons
Bookmark Duplicate Detector(117KB), Stephane BERTIN, Detects Duplicate Bookmarks when bookmarks are added and specify where is the previous URL. You can also search and delete duplicates URL already in your Bookmarks.
Foxmarks Bookmark Synchronizer which stores bookmarks with a second party.  Users who are concerned about privacy: please see foxmarks blog for more information.
Those using multiple profiles on the same computer may face similar problems and one solution to fix one folder (and subfolders) would be to copy the folder to the other profile. Doesn't synchronize and doesn't work across multiple computers.
Bookmark Duplicate Remover

Display link url next the link (#visible)

You can use a Bookmarklet [-- http://www.mvps.org/dmcritchie/ie/bookmarklets.htm --] display the url to the right of the link.

You can use the "WebDeveloper" extension [Information, Display link details] to display the details to the left of the actual link, using the same link as the above example it will
display as href=../ie/bookmarklets.htm Bookmarklet

Wanted – Conversion of Bookmarks file materials (#wanted)

For Documentation purposes, it would be nice to be able to also delete all of the specific bookmarks only material in a copy of the bookmarks.htm file such as timestamp, id, and (infile) icons.  Not to mention converting to acceptable W3C code for ampersands in urls as parameters in Google search, and substitutions for spaces for with HREF of bookmarklets.  In fact it would be especially useful in documentation of keyword shortcuts, and of bookmarklets.

If anyone writes or stumbles upon such a free utility please let me know as it would certainly make some of my documentation easier to keep current.

Found part of stripping out parts of bookmarks:  For help in removing parts of bookmarks see posting Exporting Bookmarks to Clean HTML (2006-08-09), and posting 2007-01-25.  Also I should check if exporting bookmarks via Bookmarks Manager looks different than the bookmarks.html file itself.

If I were still on main frames, I'd probably have written a macro a long time ago -- or maybe not as most of such things I wrote would have involved only a single row for substitutions. Use of Regular Expressions within a utility would probably solve problem, as long as result would still be usuable as links and bookmarklets within an HTML document.

Additional things wanted of similar interests (#alsowanted)

Hiding or Removing parts of bookmarks.html (#removing)

  • Hiding Descriptions in a copy of bookmarks.html with code after <title>...</title>
    <style type="text/css">
    DD     { display : none    ! important; }
    </style>
    
  • With use of Regular Expressions in SED [ref]
    s/ICON="[^"]*"//
    /<DD>/d
    
  • Problems with Bookmarks (#problems)

    Lost Bookmarks (#lostbookmarks)

    Windows is my operating system, so references on my site are related to Windows.

    Your bookmarks.html file is in your profile, also there is a backup copy in your profile as bookmarks.bak and there is folder, bookmarkbackups, in your profile folder with 5 daily backups plus one from Firefox 1.5.0.4 when the folder was created, be sure to check the dates.  Replacement of bookmarks.html file must be done with Firefox offline.

    Missing Bookmarks Toolbar (#missingtoolbar)

    Bookmarks Confusion (#confusion)


    Bookmarklets;  There are a lot of links on this page.  The following BookMarklets (Favelets) will distinguish between internal or external links.  First click on "highlight links",  and then on "int/ext links".  Your browser's Reset button (F5) will reload the original unmodified web page. 
    This page was introduced on March 29, 2005. 
    [My Excel Pages -- home]    [INDEX to my site and the off-site pages I reference] 
    [Site Search -- Excel]     [Go Back]    [Return to TOP

    Main Firefox pages (on-site):  [Customizations, Extensions],  [Tabs],  [Bookmarks],  [Keyword shortcuts],  [Context and other menus]  [Passwords]

    Please send your comments concerning this web page to: David McRitchie send email comments


    Copyright © 2004 - 2008,  F. David McRitchie,  All Rights Reserved