yandex.ru - removed dangerous rule

This commit is contained in:
Alex
2017-11-15 16:13:23 +02:00
parent e23e5b6776
commit 03e63c1782
2 changed files with 4 additions and 3 deletions

View File

@@ -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/

View File

@@ -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 для предотвращения удаления стилей (не актуально)