1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-25 18:15:52 +01:00

Sorry, minor feature that's more of a bug fix: Options/commands/mappings in :help now behave as links.

This commit is contained in:
Kris Maglione
2008-12-20 19:59:36 -05:00
parent 2c325d4043
commit 2f0132cabc
6 changed files with 37 additions and 6 deletions

8
common/content/help.js Normal file
View File

@@ -0,0 +1,8 @@
const liberator = Components.classes["@mozilla.org/embedcomp/window-watcher;1"]
.getService(Components.interfaces.nsIWindowWatcher)
.activeWindow
.liberator;
liberator.help(decodeURIComponent(document.location.search.substr(1)));

7
common/content/help.xul Normal file
View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript;version=1.8"
src="chrome://liberator/content/help.js"/>
</window>