Temporary list of tainted domains removed

This commit is contained in:
nobody 2020-07-04 07:34:31 +02:00
parent 61f04f1c78
commit 30e36abd72
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
1 changed files with 1 additions and 16 deletions

View File

@ -30,7 +30,7 @@ var interceptor = {};
interceptor.handleRequest = function (requestDetails, tabIdentifier, tab) {
let validCandidate, tabDomain, targetDetails, targetPath;
let validCandidate, targetDetails, targetPath;
validCandidate = requestAnalyzer.isValidCandidate(requestDetails, tab);
@ -53,18 +53,6 @@ interceptor.handleRequest = function (requestDetails, tabIdentifier, tab) {
};
}
tabDomain = helpers.extractDomainFromUrl(tab.url, true);
if (tabDomain === null) {
tabDomain = Address.EXAMPLE;
}
if (interceptor.taintedDomains[tabDomain] || (/yandex\./).test(tabDomain) ||
(/wickedlocal\.com/).test(tabDomain)) {
return interceptor._handleMissingCandidate(requestDetails.url, true);
}
targetDetails = requestAnalyzer.getLocalTarget(requestDetails);
targetPath = targetDetails.path;
@ -141,9 +129,6 @@ interceptor._handleStorageChanged = function (changes) {
* Initializations
*/
// Temporary list of tainted domains.
interceptor.taintedDomains = {};
interceptor.amountInjected = 0;
interceptor.xhrTestDomain = Address.DECENTRALEYES;
interceptor.blockMissing = false;