jsfmt
This commit is contained in:
21
info.js
21
info.js
@@ -70,15 +70,30 @@ Http.send();
|
||||
//});
|
||||
|
||||
function transferComplete(evt) {
|
||||
console.log("The transfer is complete.", this.status, this.statusText, this.responseText);
|
||||
console.log(
|
||||
"The transfer is complete.",
|
||||
this.status,
|
||||
this.statusText,
|
||||
this.responseText
|
||||
);
|
||||
}
|
||||
|
||||
function transferFailed(evt) {
|
||||
console.log("An error occurred while transferring the file.", this.status, this.statusText, this.responseText);
|
||||
console.log(
|
||||
"An error occurred while transferring the file.",
|
||||
this.status,
|
||||
this.statusText,
|
||||
this.responseText
|
||||
);
|
||||
}
|
||||
|
||||
function transferCanceled(evt) {
|
||||
console.log("The transfer has been canceled by the user.", this.status, this.statusText, this.responseText);
|
||||
console.log(
|
||||
"The transfer has been canceled by the user.",
|
||||
this.status,
|
||||
this.statusText,
|
||||
this.responseText
|
||||
);
|
||||
}
|
||||
|
||||
Http.addEventListener("load", transferComplete);
|
||||
|
||||
8
scrub.js
8
scrub.js
@@ -216,7 +216,7 @@ var contextSetup = async function(requestDetails) {
|
||||
}
|
||||
};
|
||||
if (requestDetails.tabId > 0) {
|
||||
if (proxyHost(requestDetails.url)){
|
||||
if (proxyHost(requestDetails.url)) {
|
||||
return requestDetails;
|
||||
}
|
||||
if (i2pHost(requestDetails.url)) {
|
||||
@@ -233,9 +233,9 @@ var contextSetup = async function(requestDetails) {
|
||||
var mtab = tab.then(anyTabFind);
|
||||
return requestDetails;
|
||||
}
|
||||
//var tab = tabGet(requestDetails.tabId);
|
||||
//var mtab = tab.then(anyTabFind);
|
||||
return requestDetails;
|
||||
//var tab = tabGet(requestDetails.tabId);
|
||||
//var mtab = tab.then(anyTabFind);
|
||||
return requestDetails;
|
||||
} catch (error) {
|
||||
console.log("(isolate)Not an I2P request, blackholing", error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user