diff --git a/ExperimentalFilter/sections/Dangerous/filter.txt b/ExperimentalFilter/sections/Dangerous/filter.txt index 4d6e5174cba..625531333b9 100644 --- a/ExperimentalFilter/sections/Dangerous/filter.txt +++ b/ExperimentalFilter/sections/Dangerous/filter.txt @@ -11,6 +11,10 @@ ! fake browser update ~junodownload.com#%#document.onmouseout = null; window.onbeforeunload = null; window.blur = null; ! +! Yandex Weather - test rule(not for maps) +!+ NOT_PLATFORM(windows, mac, android) +! *do not enable* yandex.ru#%#AG_onLoad(function() { if (window.location.href.indexOf("pogoda") != -1 && window.location.href.indexOf("nowcast") == -1) { Object.defineProperty(HTMLScriptElement.prototype, 'src', {writable:false}) } }); +! ! https://github.com/AdguardTeam/AdguardFilters/issues/4983 mobiflip.de##div[data-widget="plista_widget_belowArticle"] ~ h4.post-header ! https://forum.adguard.com/index.php?threads/20885/ diff --git a/RussianFilter/sections/general_extensions.txt b/RussianFilter/sections/general_extensions.txt index dc1d9f6b3ca..3cdecb75296 100644 --- a/RussianFilter/sections/general_extensions.txt +++ b/RussianFilter/sections/general_extensions.txt @@ -1,9 +1,6 @@ !----------------------- !------- JS ------------ !----------------------- -! Yandex Weather - test rule(not for maps) -!+ NOT_PLATFORM(windows, mac, android) -yandex.ru#%#AG_onLoad(function() { if (window.location.href.indexOf("pogoda") != -1 && window.location.href.indexOf("nowcast") == -1) { Object.defineProperty(HTMLScriptElement.prototype, 'src', {writable:false}) } }); ! !### TEMPORARY ### ! Отключаем MutationObserver для предотвращения удаления стилей (не актуально)