diff --git a/manifest.json b/manifest.json index c73046a..286808a 100644 --- a/manifest.json +++ b/manifest.json @@ -8,7 +8,7 @@ "permissions": ["theme", "proxy", "privacy"], "manifest_version": 2, "name": "I2P Proxy", - "version": "1.0", + "version": "1.11", "description": "Set up a browser to use the i2p http proxy automatically", "background": { "scripts": ["background.js", "proxy.js"] diff --git a/proxy.js b/proxy.js index c5a5e91..10d2332 100644 --- a/proxy.js +++ b/proxy.js @@ -14,6 +14,8 @@ browser.privacy.network.peerConnectionEnabled.set({value: false}); browser.privacy.network.networkPredictionEnabled.set({value: false}); browser.privacy.network.webRTCIPHandlingPolicy.set({value: "disable_non_proxied_udp"}); +console.log("Preliminarily disabled WebRTC.") + if (isFirefox()) { var proxySettings = { proxyType: "manual", @@ -22,6 +24,7 @@ if (isFirefox()) { httpProxyAll: true }; browser.proxy.settings.set({value:proxySettings}); + console.log("i2p settings created for Firefox") }else{ var config = { mode: "fixed_servers", @@ -51,4 +54,5 @@ if (isFirefox()) { chrome.proxy.settings.set( {value: config, scope: 'regular'}, function() {}); + console.log("i2p settings created for Chromium") }