
const win = Components.classes["@mozilla.org/embedcomp/window-watcher;1"]
                      .getService(Components.interfaces.nsIWindowWatcher)
                      .activeWindow;
const liberator = win.liberator;

let page = liberator.findHelp(decodeURIComponent(document.location.search.substr(1)));
let url = "chrome://liberator/locale/" + page;

win.getBrowser().loadURIWithFlags(url, Components.interfaces.nsIWebNavigation.LOAD_FLAGS_REPLACE_HISTORY, null, null, null);


@@ -309,16 +309,23 @@
 et url =
+ page ?
  %22chrome
@@ -352,16 +352,43 @@
 %22 + page
+ : content.history.previous
 ;%0A%0Awin.g

Handle bad help tag links better