Removed old Yandex Metrika dummy

This commit is contained in:
Alex
2017-07-26 17:37:40 +03:00
parent d32b5c9bf5
commit a03387a06b

View File

@@ -9,11 +9,6 @@ overclockers.ru#%#AG_onLoad(function() { window.trackOutboundLink = window.open;
#%#navigator.getBattery = undefined;
!
! Yandex Metrika dummy
! Old
! TODO: remove it in the next extension build in AMO (current - 2.6.7)
~video.rambler.ru,~films.imhonet.ru,~yandex.ru,~yandex.com,~yandex.ua,~yandex.kz,~yandex.by,~yandex.com.tr#%#(function() { window.Ya = window.Ya || {}; window.Ya.Metrika = function() { var noop = function() {}; this.addFileExtension = noop; this.extLink = noop; this.file = noop; this.hit = noop; this.notBounce = noop; this.params = noop; this.reachGoal = noop; this.replacePhones = noop; this.clickmap = noop; this.trackLinks = noop; }; })();
search.aviasales.ru,eagleplatform.com#@%#(function() { window.Ya = window.Ya || {}; window.Ya.Metrika = function() { var noop = function() {}; this.addFileExtension = noop; this.extLink = noop; this.file = noop; this.hit = noop; this.notBounce = noop; this.params = noop; this.reachGoal = noop; this.replacePhones = noop; this.clickmap = noop; this.trackLinks = noop; }; })();
! New
~eagleplatform.com,~video.rambler.ru,~films.imhonet.ru,~yandex.ru,~yandex.com,~yandex.ua,~yandex.kz,~yandex.by,~yandex.com.tr#%#(function() { window.Ya = window.Ya || {}; window.Ya.Metrika = function() { var a = function() {}; this.replacePhones = this.reachGoal = this.params = this.notBounce = this.hit = this.file = this.extLink = clickmap = trackLinks = this.addFileExtension = a }; var a = [], c = a.push; a.push = function(b) { a._init || "function" !== typeof b || (b(), a._init = !0); c.call(a, b) }; window.yandex_metrika_callbacks = a})();
championat.media.eagleplatform.com#%#(function() { window.Ya = window.Ya || {}; window.Ya._metrika = function() { var noop = function() {}; this.counter = noop; }; })();
!