update the extensions

This commit is contained in:
idk
2019-03-03 23:33:56 -05:00
parent a53fd94701
commit af50fd8a84
4 changed files with 8 additions and 5 deletions

View File

@@ -16,6 +16,9 @@ browser.privacy.network.webRTCIPHandlingPolicy.set({value: "disable_non_proxied_
console.log("Preliminarily disabled WebRTC.")
var controlHost = "127.0.0.1"
var controlPort = "7951"
function setupProxy() {
if (isFirefox()) {
if (getScheme() == "http") {
@@ -63,8 +66,8 @@ function setupProxy() {
function RefreshIdentity(){
console.log("Generating new identity")
const controlhost = getControlHost();
const controlport = getControlPort();
const controlhost = controlHost;
const controlport = controlPort;
const Http = new XMLHttpRequest();
const url='http://' + controlhost + ":" + controlport
Http.open("GET", url);