summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2010-11-02 19:06:02 +0000
committerNick White <git@njw.me.uk>2010-11-02 19:06:02 +0000
commite2e0ca32a9073de01ceb93b2c4a8045caf761b40 (patch)
tree91d5e5a305ec629190275624a773e9dd5990506f /INSTALL
parent9b74d624c1b248f81771082c7adc1bab3ae670d6 (diff)
Update install docs, remove testing line
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL29
1 files changed, 14 insertions, 15 deletions
diff --git a/INSTALL b/INSTALL
index 8b85241..ed062bf 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,34 +1,33 @@
Readable is written in ECMAScript, and how to launch it varies a
little depending on browser.
-# Uzbl
-
-To use this from uzbl, add the following line to the config file
-(replacing 's' with the key to bind to):
-
-@cbind s = script file:///path/to/readable.js
-
-You'll also have to add the statement 'readable();' to the bottom of
-readable.js.
-
-
# Surf
-To use it from surf, and trigger it from a key combination, add the
-following to script.js (replacing the keyIdentifier if you want to
-bind to a key other than Ctrl-S):
+To use it from surf, and trigger it from ctrl-alt-r, add the
+following to script.js
(function() {
document.addEventListener('keydown', keybind, false);
})();
function keybind(e) {
- if (e.keyIdentifier == "U+0053" && e.ctrlKey) // ^s
+ if (e.keyIdentifier == "U+0052" && e.ctrlKey && e.altKey) // ctrl-alt-r
readable();
}
/* copy readable.js here */
+# Uzbl
+
+To use this from uzbl, add the following line to the config file
+(replacing 'r' with the key to bind to):
+
+@cbind r = script file:///path/to/readable.js
+
+You'll also have to add the statement 'readable();' to the bottom of
+readable.js.
+
+
# Other browsers; 'bookmarklet'
To use this as a 'bookmarklet', create a new bookmark with an address of: