Standard-Sitemap Navigator

This extension for Firefox locates any sitemap provided for the site you are visiting. Then it can present the sitemap in a sidebar, or in a pop-up menu from your toolbar.


Download version 1.17
Auto-updating
All releases at SourceForge

Sidebar features

The sitemap hierarchy appears as a collapsible tree in a sidebar which opens automatically when you visit a sitemap-enabled site.

Supported roles

The roles home, contact and contentinfo are readily available in the navigation bar.

The search role is supported by an integrated search field. If no site search mechanism is specified, a Google site search is used instead.

Current location

The item in the sidebar matching the current page is marked with a target symbol. In case such an item is hidden, all its ancestors’ twisties are highlighted. You can also click the ‘Where am I?’ button at the foot of the sidebar, to find the item for the current page.

This also works if the page appears at more than one place in the sitemap. All matching items are marked, their ancestors are highlighted, and the ‘Where am I?’ button cycles over all of them.

Choice of vertical or horizontal toolbar

The navigation toolbar can be configured horizontally or vertically.

Per-site configuration

Not happy with the sitemap provided for a particular site? Close the sidebar, and it will stay closed, even when you return to the site.

Some sitemaps need more horizontal space than others. The Navigator lets you alter the sidebar width, and remembers the position for when you return to the site later.

For some sitemap items, the Navigator can even remember whether you left them open or closed. (They need an xml:id for this.)

Finally, if the sitemap has items in different languages, you can adjust your preference just for that sitemap.

Standard-Sitemap Navigator respects your privacy by not permanently saving these settings during Private Browsing.

Dual sidebars

The Navigator sidebar is distinct from Firefox’s native sidebar that shows bookmarks, history, error console, etc.

Keyboard or mouse

The sidebar can be navigated just as well by keyboard.

Style hackery

(For advanced users)

If you’ve installed the Stylish add-on for Firefox, and you know your way around CSS and the DOM inspector, you can adjust the sidebar’s appearance according to taste. The sidebar’s content begins with:

chrome://standard-sitemap.org/content/sidebar.xul

…so you can use that to selectively apply your styles to just the sidebar. For example, to make the sidebar items use the same font as menu items:

@-moz-document url-prefix("chrome://standard-sitemap.org/content/sidebar.xul") {
  #sitetree {
    font: menu !important;
  }
}

Menu features

The Navigator provides a widget which you can place anywhere on your browser’s toolbars. It allows you to navigate a site with a space-saving pop-up menu. The roles home, contact, searchpage and contentinfo are available at the top level.

Auto-subgrouping

Long ordered menus can be automatically subgrouped to make them easier to navigate. This uses the order attribute with a value of lexical.

Configuration options

Preferences are available from the Add-ons window as usual for Firefox extensions, but you can also get them from the Options button at the bottom left of the sidebar.

Interactions with the hierarchy

There are a variety of ways in which the sidebar hierarchy and the current page interact.

Visiting pages as you browse

Visit the page as soon as the item is selected is the sidebar

As you move the cursor through the hierarchy, the current item is visited.

Showing subordinate options

Item is opened when clicked to visit

When you click on an item, it opens up to show subitems, as well as visiting the page.

New windows and tabs

Ctrl-clicking an item opens in a new tab

Enable this to get the usual behaviour of opening the item in a new tab. Add Shift to make it a background tab. (Also, Shift+Click opens in a new window, regardless of this setting.)

Keeping focus

After clicking, keep the focus in the sidebar

If this option is not set, focus is transferred to the main content after a click.

Tracking the current page

Automatically find items matching the current page

As you navigate in the page, the matching item is revealed, so all its parents are opened.

Item is selected when its page is visited

As you navigate in the page, the matching item is revealed, so all its parents are opened, and it will be selected.

Item is opened when its page is visited

As you navigate in the page, the matching item is revealed, so all its parents are opened, and it will be opened too.

Retention of roles

Show 'contact', 'contentinfo' and 'search' items in the sidebar tree too

Role items like those above are normally not shown in the sidebar hierarchy, but are accessed from the role buttons on the toolbar. If you prefer, you can keep them in the hierarchy as well.

Maximum menu size

Maximum items in auto-grouped submenus

When a sitemap contains a long list of items declared using the order attribute, the menu view will automatically group the items into several smaller groups, so the menu will not appear so long. This setting controls when this automatic grouping occurs. Lists no bigger than this setting are not automatically grouped.

HTTP Referrer

None/The sitemap's location/The current page's location

Normally when you click on a link in a page, the browser fetches the link while informing the server which page contained the link, i.e. who is the referrer. This usually appears in server logs, and webmasters might use the information to find out which other sites link to theirs.

If you click on an item in the sidebar, the link is within the sitemap, so it could reasonably send the sitemap’s address as the referrer; or it could pretend that the link was in the current page. This setting gives you the choice.

Note that the file format includes an attribute refer. From version 1.2 of the extension, this attribute is recognised, and can override your choice. This option should therefore be considered the default for when sitemaps do not specify anything themselves.

Sidebar auto-show for new websites

Automatically show the navigation sidebar on enabled pages

Firefox will remember if you closed the sidebar for a sitemap you’ve already seen, but it will automatically open it for new sites. If you don’t want this, you can turn it off.

Diagnostic modes

User mode/Webmaster mode
Debug mode (i.e. log information in Firefox's error console)

In Webmaster mode:

In debug mode:

Firefox-Extension FAQ

What can I try the extension out on?

Take a look at our showcases!

Development versions

Download latest snapshot
(Bleeding edge!)
File Last changed SHA1 Checksum
stdsitemap-ff-ext_br_ff4-compat.xpi 2010-11-21 22:58:38+00:00 28a08b9395-9a5c2c-1d671b-e11e5a-06acbfc55e5d
stdsitemap-ff-ext_br_modularity.xpi 2011-07-23 15:24:44+01:00 75ad999b22-85036f-ca582c-5d1672-933a09260f8b
stdsitemap-ff-ext_latest.xpi 2016-08-20 11:33:29+01:00 7a09e321b9-d899b6-58752f-da70fe-4cd6be83005f
stdsitemap-ff-ext_release-1.0.xpi 2012-08-29 10:48:41+01:00 92685cb78c-743ad7-d2f145-e0cd48-cdddf6421ae4
stdsitemap-ff-ext_release-1.1.xpi 2012-08-29 10:48:41+01:00 e870fe8923-7a9b0b-0569b1-1e009c-f20d9cbb1fbb
stdsitemap-ff-ext_release-1.10.xpi 2012-10-10 11:18:23+01:00 79d29e5b1d-daff51-17be22-aea690-7ea551de1792
stdsitemap-ff-ext_release-1.11.xpi 2012-11-25 13:29:03+00:00 525c553ae4-c7e364-7be471-5aa952-b657b63dd63c
stdsitemap-ff-ext_release-1.12.xpi 2013-01-29 14:03:58+00:00 ba4f67b831-998836-6567f7-e9132b-c51247163f83
stdsitemap-ff-ext_release-1.13.xpi 2013-02-20 10:04:33+00:00 9f28792757-bde1da-5eb94b-30f0a3-9c53211b83c2
stdsitemap-ff-ext_release-1.14.xpi 2013-02-27 09:54:02+00:00 6c6c7fc979-91059e-6031a7-edb0c3-bb7e297434d4
stdsitemap-ff-ext_release-1.15.xpi 2013-07-06 11:32:35+01:00 71625188de-fa887f-e0974e-a51420-87a4be388d2e
stdsitemap-ff-ext_release-1.16.xpi 2016-08-19 13:00:12+01:00 d144c03db2-3c093c-26749f-f05006-8fa2dc441d1a
stdsitemap-ff-ext_release-1.17.xpi 2016-08-20 11:33:21+01:00 2a84de9884-3281e2-ba3733-51e59a-8653b92e637b
stdsitemap-ff-ext_release-1.2.xpi 2012-08-29 10:48:41+01:00 231e0d3601-c8eb3d-e4d114-72d36e-f2ee3f22317e
stdsitemap-ff-ext_release-1.3.xpi 2012-08-29 10:48:41+01:00 fe2b55d62c-9f7a94-921e22-018ed2-40af6b2a9908
stdsitemap-ff-ext_release-1.4.xpi 2012-08-29 10:48:42+01:00 6929bdcb84-a21363-85ae95-a0232b-c00ac6ca22cb
stdsitemap-ff-ext_release-1.5.xpi 2012-08-29 10:48:42+01:00 adb5667287-178dcf-7b9843-8f85c5-55dc79821250
stdsitemap-ff-ext_release-1.6.xpi 2012-08-29 10:48:42+01:00 49d5ec271f-69dcd8-71d99e-56cb87-01f328da25d2
stdsitemap-ff-ext_release-1.7.xpi 2012-08-29 10:48:42+01:00 46baf7c645-43c1eb-593120-23fa4c-00ac8e2efd34
stdsitemap-ff-ext_release-1.8.xpi 2012-08-29 10:48:42+01:00 1d35eb9299-57c633-52d7c3-c85d4d-c0feef0efdfd
stdsitemap-ff-ext_release-1.9.xpi 2012-08-29 10:50:59+01:00 ad8e7f5f5e-84c1db-cac422-ba8d72-b79070c76796

Developer documentation

If you intend to develop the source code for the Firefox extension, you might find the source documentation helpful.