From f16a81c2497af74c343e46111602eddf7120e8d3 Mon Sep 17 00:00:00 2001
From: Thomas Rientjes <synzvato@protonmail.com>
Date: Sat, 7 May 2016 18:07:34 +0200
Subject: [PATCH] Update undetectable tainted domains

---
 lib/load-watcher.js | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/lib/load-watcher.js b/lib/load-watcher.js
index 9d8e785..4bc19c7 100644
--- a/lib/load-watcher.js
+++ b/lib/load-watcher.js
@@ -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
-- 
GitLab