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:
8
common/content/help.js
Normal file
8
common/content/help.js
Normal 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
7
common/content/help.xul
Normal 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>
|
||||
|
||||
Reference in New Issue
Block a user