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!)

Developer documentation

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