diff options
author | Nick White <git@njw.me.uk> | 2011-06-23 19:30:51 +0100 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2011-06-23 19:30:51 +0100 |
commit | 575c45e066404a85adbf8112f676ba89c7258daa (patch) | |
tree | b9c718f36451277379d4f54a36756ee820166a03 /chromium | |
parent | a2a6986c2719849d4e794261f29c8689701445e3 (diff) |
Add viable to firefox, improve firefox usage, general cleanups
Diffstat (limited to 'chromium')
-rw-r--r-- | chromium/updates.xml | 2 | ||||
-rwxr-xr-x | chromium/viable.js | 9 | ||||
-rwxr-xr-x | chromium/viablehook.js | 1 |
3 files changed, 2 insertions, 10 deletions
diff --git a/chromium/updates.xml b/chromium/updates.xml index f938094..acf8ed1 100644 --- a/chromium/updates.xml +++ b/chromium/updates.xml @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='UTF-8'?> <gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'> - <app appid='apapoaenlmlncnnhbpdobjifmpjdabpn'> + <app appid='dbggpgfcgemloeeldimghohejgnkahdi'> <updatecheck codebase='WEBSITE/simplyread-VERSION.crx' version='VERSION' /> </app> </gupdate> diff --git a/chromium/viable.js b/chromium/viable.js deleted file mode 100755 index c957608..0000000 --- a/chromium/viable.js +++ /dev/null @@ -1,9 +0,0 @@ -/* See COPYING file for copyright, license and warranty details. */ - -function viable() { - var doc; - doc = (document.body === undefined) - ? window.content.document : document; - return doc.getElementsByTagName("p").length; -} -if(viable()) chrome.extension.sendRequest({}, function(response) {}); diff --git a/chromium/viablehook.js b/chromium/viablehook.js new file mode 100755 index 0000000..80bb673 --- /dev/null +++ b/chromium/viablehook.js @@ -0,0 +1 @@ +if(simplyread-viable()) chrome.extension.sendRequest({}, function(response) {}); |