Last active
December 9, 2020 09:14
-
-
Save chrismeller/fa9d7fcc1393e209c3882041b6c7296d to your computer and use it in GitHub Desktop.
Yandex Weather uBlock Origin Rules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!right-hand ads on the main page | |
yandex.*##:xpath(//div[ contains( @class, 'content__bottom' ) ]/following-sibling::div[1]) | |
yandex.*##:xpath(//div[ contains( @class, 'content__bottom' ) ]/following-sibling::div[2]) | |
!row-level ads on the main page | |
yandex.*##:xpath(//div[ contains( @class, 'card' ) and not(contains( @class, 'maps' )) and descendant::script ]) | |
!right-hand ads on the monthly page | |
yandex.*##:xpath(//div[ contains( @class, '__content' ) and descendant::div[ contains( @class, 'page30days' ) ] ]/following-sibling::div[1]) | |
!bottom ads on the monthly page | |
yandex.*##:xpath(//section[ contains( @class, 'content__section' ) and descendant::script ][2]) | |
!left-hand ad on the map page | |
yandex.*##:xpath(//div[ contains( @class, 'map-left-pane' ) ]//a[ contains( @class, 'button' ) ]/following-sibling::div[1]) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment