From f27a59c193859be3d508d7d41ec66df4aa2fc552 Mon Sep 17 00:00:00 2001 From: idk Date: Mon, 11 Nov 2019 16:44:58 -0500 Subject: [PATCH] additional isolation by contextual id --- proxy.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/proxy.js b/proxy.js index 669930f..5f69696 100644 --- a/proxy.js +++ b/proxy.js @@ -132,14 +132,7 @@ var handleContextProxyRequest = async function(requestDetails) { }; if (requestDetails.tabId > 0) { - if (proxyHost(requestDetails.url)) { - console.log("(Proxy)I2P Proxy test URL detected, ", requestDetails.url); - return { - type: getScheme(), - host: getHost(), - port: getPort() - }; - } else if (i2pHost(requestDetails.url)) { + if (i2pHost(requestDetails.url)) { console.log("(Proxy)I2P URL detected, "); var tab = tabGet(requestDetails.tabId); var mtab = tab.then(tabFind);