summaryrefslogtreecommitdiff
path: root/chromium/viable.js
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2011-06-23 19:30:51 +0100
committerNick White <git@njw.me.uk>2011-06-23 19:30:51 +0100
commit575c45e066404a85adbf8112f676ba89c7258daa (patch)
treeb9c718f36451277379d4f54a36756ee820166a03 /chromium/viable.js
parenta2a6986c2719849d4e794261f29c8689701445e3 (diff)
Add viable to firefox, improve firefox usage, general cleanups
Diffstat (limited to 'chromium/viable.js')
-rwxr-xr-xchromium/viable.js9
1 files changed, 0 insertions, 9 deletions
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) {});