summaryrefslogtreecommitdiff
path: root/gecko
diff options
context:
space:
mode:
Diffstat (limited to 'gecko')
-rw-r--r--gecko/chrome.manifest2
-rw-r--r--gecko/chrome/content/readable.xul8
-rw-r--r--gecko/install.rdf24
3 files changed, 34 insertions, 0 deletions
diff --git a/gecko/chrome.manifest b/gecko/chrome.manifest
new file mode 100644
index 0000000..fa8891b
--- /dev/null
+++ b/gecko/chrome.manifest
@@ -0,0 +1,2 @@
+content readable chrome/content/
+overlay chrome://browser/content/browser.xul chrome://readable/content/readable.xul
diff --git a/gecko/chrome/content/readable.xul b/gecko/chrome/content/readable.xul
new file mode 100644
index 0000000..e911b93
--- /dev/null
+++ b/gecko/chrome/content/readable.xul
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<overlay id="readable" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+ <script src="chrome://readable/content/readable.js" />
+ <keyset>
+ <key id="readable" modifiers="accel alt" key="t" oncommand="alert('hi!')" />
+ <key id="readable" modifiers="accel alt" key="r" oncommand="readable()" />
+ </keyset>
+</overlay>
diff --git a/gecko/install.rdf b/gecko/install.rdf
new file mode 100644
index 0000000..545f53d
--- /dev/null
+++ b/gecko/install.rdf
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+
+<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:em="http://www.mozilla.org/2004/em-rdf#">
+
+ <Description about="urn:mozilla:install-manifest">
+ <em:id>readable@njw.me.uk</em:id>
+ <em:version>VERSION</em:version>
+ <em:type>2</em:type>
+
+ <em:targetApplication>
+ <Description>
+ <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
+ <em:minVersion>3.0</em:minVersion>
+ <em:maxVersion>3.6.*</em:maxVersion>
+ </Description>
+ </em:targetApplication>
+
+ <em:name>Readable</em:name>
+ <em:description>Makes webpages more readable. Press Ctrl-Alt-r to toggle readable.</em:description>
+ <em:creator>Nick White</em:creator>
+ <em:homepageURL>http://njw.me.uk/software/readable/</em:homepageURL>
+ </Description>
+</RDF>