Microsoft has acquired GitHub. Decentraleyes has left GitHub. Welcome to its new home!

To participate, please register, or sign in with an existing GitLab.com, Bitbucket, or GitHub account.

Past contributions on GitHub? Be sure to reclaim your Comments, Issues, and Pull Requests.

Commit f16a81c2 authored by Thomas Rientjes's avatar Thomas Rientjes

Update undetectable tainted domains

parent 4396c1c9
......@@ -60,7 +60,6 @@ var storage = simpleStorage.storage;
*/
var undetectableTaintedDomains = {
'api-maps.yandex.ru': true,
'direct.yandex.com': true,
'direct.yandex.ru': true,
'disk.yandex.com': true,
......@@ -71,6 +70,8 @@ var undetectableTaintedDomains = {
'news.yandex.ru': true,
'news.yandex.ua': true,
'passport.twitch.tv': true,
'taxi.yandex.com': true,
'taxi.yandex.ru': true,
'ya.ru': true,
'yandex.com': true,
'yandex.ru': true
......@@ -80,7 +81,20 @@ var undetectableTaintedDomains = {
* Initializations
*/
storage.taintedDomains = storage.taintedDomains || undetectableTaintedDomains;
Object.extend = function (destination, source) {
for (var property in source) {
if (source.hasOwnProperty(property)) {
destination[property] = source[property];
}
}
return destination;
};
storage.taintedDomains = storage.taintedDomains || {};
storage.taintedDomains = Object.extend(storage.taintedDomains, undetectableTaintedDomains);
/**
* Load Watcher Class
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment