diff --git a/consoleinfo.js b/consoleinfo.js index f6be3bb..a6d37e7 100644 --- a/consoleinfo.js +++ b/consoleinfo.js @@ -28,7 +28,7 @@ function hide(elementsToHide) { ? elementsToHide : [elementsToHide]; elements.forEach((element) => { - console.log("(consoleinfo) hiding") + console.log("(consoleinfo) hiding"); el.classList.add("hidden"); }); } @@ -39,7 +39,7 @@ function unhide(elementsToShow) { : [elementsToShow]; elements.forEach((element) => { if (element.style) { - console.log("(consoleinfo) unhiding") + console.log("(consoleinfo) unhiding"); el.classList.remove("hidden"); } }); diff --git a/host.js b/host.js index 0026e5a..bf279a8 100644 --- a/host.js +++ b/host.js @@ -1,5 +1,10 @@ function isProxyHost(requestDetails) { - if (requestDetails.url.includes(control_host()+":"+control_port()+"/jsonrpc")) return false; + if ( + requestDetails.url.includes( + control_host() + ":" + control_port() + "/jsonrpc" + ) + ) + return false; const originUrl = requestDetails.originUrl; const isWindowOrHomeUrl = originUrl !== browser.runtime.getURL("window.html") && @@ -168,7 +173,7 @@ function isRouterHost(url) { path = url.replace(protocol + hostname + "/", ""); } else if (identifyProtocolHandler(url)) { const newUrl = identifyProtocolHandler(url); - console.log("(host) testing router host protocol handler identified") + console.log("(host) testing router host protocol handler identified"); return isRouterHost(newUrl); } else { hostname = url.split("/")[0]; diff --git a/i2ppb@eyedeekay.github.io.xpi.torrent b/i2ppb@eyedeekay.github.io.xpi.torrent deleted file mode 100644 index cd50cab..0000000 Binary files a/i2ppb@eyedeekay.github.io.xpi.torrent and /dev/null differ diff --git a/proxyinfo.js b/proxyinfo.js index d3dfdd0..3e1a4a0 100644 --- a/proxyinfo.js +++ b/proxyinfo.js @@ -31,7 +31,7 @@ function hide(elements) { const elems = Array.isArray(elements) ? elements : [elements]; elems.forEach((elem) => { if (elem.style) { - console.log("(proxyinfo) hiding") + console.log("(proxyinfo) hiding"); elem.classList.add("hidden"); } }); @@ -42,7 +42,7 @@ function unhide(elements) { const elems = Array.isArray(elements) ? elements : [elements]; elems.forEach((elem) => { if (elem.style) { - console.log("(proxyinfo) unhiding") + console.log("(proxyinfo) unhiding"); elem.classList.remove("hidden"); } }); @@ -76,4 +76,3 @@ fetch("http://127.0.0.1:7657/jsonrpc/") var toopieIDLinks = document.querySelectorAll(".window-visit-toopie"); hide(toopieIDLinks); }); -