diff --git a/omega-target-chromium-extension/src/js/omega_webext_proxy_script.js b/omega-target-chromium-extension/src/js/omega_webext_proxy_script.js index 63c0e00..ea975c0 100644 --- a/omega-target-chromium-extension/src/js/omega_webext_proxy_script.js +++ b/omega-target-chromium-extension/src/js/omega_webext_proxy_script.js @@ -72,7 +72,6 @@ FindProxyForURL = (function () { } function init() { - browser.runtime.sendMessage({event: 'proxyScriptLoaded'}); browser.runtime.onMessage.addListener(function(message) { if (message.event === 'proxyScriptStateChanged') { state = message.state; @@ -85,5 +84,6 @@ FindProxyForURL = (function () { } } }); + browser.runtime.sendMessage({event: 'proxyScriptLoaded'}); } })();