aboutsummaryrefslogtreecommitdiff
path: root/contact_finder.js
diff options
context:
space:
mode:
authorhackademix <giorgio@maone.net>2018-08-14 00:58:14 +0200
committerhackademix <giorgio@maone.net>2018-08-14 00:58:14 +0200
commitd6902eea60acea9f1ea3828e1cdb0bf6288e7b06 (patch)
tree2c47e965b7c6a71a4d3425fa8aeef617b6ea8960 /contact_finder.js
parentc1d3257ad3f7f630eafbbca5b7e7b27e32b146c2 (diff)
Removed browser->webex "shim".
Diffstat (limited to 'contact_finder.js')
-rw-r--r--contact_finder.js38
1 files changed, 1 insertions, 37 deletions
diff --git a/contact_finder.js b/contact_finder.js
index 90f0108..48f9c27 100644
--- a/contact_finder.js
+++ b/contact_finder.js
@@ -289,45 +289,9 @@ function main(){
new_debug_button("Complain to website",handler);
}
-// See main_background.js
-var webex;
-var myPort;
-function set_webex(){
- if(typeof(browser) == "object"){
- webex = browser;
- }
- if(typeof(chrome) == "object"){
- webex = chrome;
- }
-}
-set_webex();
-var myPort = webex.runtime.connect({name:"contact_finder"});
+var myPort = browser.runtime.connect({name:"contact_finder"});
myPort.onMessage.addListener(function(m) {
prefs = m;
main();
});
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-