summaryrefslogtreecommitdiff
path: root/chromium
diff options
context:
space:
mode:
Diffstat (limited to 'chromium')
-rw-r--r--chromium/updates.xml2
-rwxr-xr-xchromium/viable.js9
-rwxr-xr-xchromium/viablehook.js1
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) {});