From c05ab1fd001058313d5bf1ef6b13a4a40a4c6342 Mon Sep 17 00:00:00 2001 From: Nick White Date: Tue, 2 Nov 2010 19:14:41 +0000 Subject: Add firefox to INSTALL --- INSTALL | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL index ed062bf..3c835e9 100644 --- a/INSTALL +++ b/INSTALL @@ -1,17 +1,26 @@ Readable is written in ECMAScript, and how to launch it varies a little depending on browser. +# Firefox + +Readable is now packaged as an addon for firefox (and other browsers +of its kin.) You can either get it from the readable web page, or +build it by running: + + make xpi + + # Surf -To use it from surf, and trigger it from ctrl-alt-r, add the +To use readable from surf, and trigger it from ctrl-alt-r, add the following to script.js (function() { - document.addEventListener('keydown', keybind, false); + document.addEventListener('keydown', keybind, false); })(); function keybind(e) { - if (e.keyIdentifier == "U+0052" && e.ctrlKey && e.altKey) // ctrl-alt-r + if (e.keyIdentifier == "U+0052" && e.ctrlKey && e.altKey) // ctrl-alt-r readable(); } /* copy readable.js here */ @@ -19,8 +28,7 @@ function keybind(e) { # Uzbl -To use this from uzbl, add the following line to the config file -(replacing 'r' with the key to bind to): +To use this from uzbl, add the following line to the config file: @cbind r = script file:///path/to/readable.js -- cgit v1.2.3