mirror of
https://github.com/AdguardTeam/AdguardFilters.git
synced 2026-08-29 12:14:41 +00:00
Update the header of every file - new comments (#108188)
* headers comments https://github.com/AdguardTeam/AdguardFilters/issues/107129 * Annoyances - fixes in cookies sections * English - removed some typos * English - fixes in Annoyances * English - added similar fixes to other filters * English - added fixes to the regional, spyware filters * English - added fixes to adservers_firstparty (also tracking) * English - fixes * Update AnnoyancesFilter/sections/annoyances.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * Update AnnoyancesFilter/sections/antiadblock.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * Update AnnoyancesFilter/sections/antiadblock.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * Update AnnoyancesFilter/sections/cookies_general.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * Update AnnoyancesFilter/sections/cookies_specific.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * Update AnnoyancesFilter/sections/cookies_whitelist.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * Update AnnoyancesFilter/sections/low-attendance.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * Update ChineseFilter/sections/general_elemhide.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * Update ChineseFilter/sections/general_extensions.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * Update ChineseFilter/sections/general_extensions.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * Update ChineseFilter/sections/general_url.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * Update AnnoyancesFilter/sections/mobile-app.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * Update AnnoyancesFilter/sections/popups.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * Update AnnoyancesFilter/sections/push-notifications.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * Update AnnoyancesFilter/sections/self-promo.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * Update AnnoyancesFilter/sections/subscriptions.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * Update AnnoyancesFilter/sections/tweaks.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * Update AnnoyancesFilter/sections/widgets.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * Update ChineseFilter/sections/antiadblock.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * Update ChineseFilter/sections/css_extended.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * Structure - fixes in general_url * English - fixes in specific * English - fixes in css_extended * English - fixes in general_elemhide * English - fixes in general_extensions * English - fixes in general_url * Structure - Annoyances - popups - added examples * Update AnnoyancesFilter/sections/mobile-app.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * Update ChineseFilter/sections/antiadblock.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * Update DutchFilter/sections/whitelist.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * Update EnglishFilter/sections/content_blocker.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * Update EnglishFilter/sections/cryptominers.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * Update EnglishFilter/sections/foreign.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * Update EnglishFilter/sections/replace.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * Update EnglishFilter/sections/whitelist.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * Update EnglishFilter/sections/whitelist_stealth.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * Structure - Base - cname_adservers - added a note * English - language-specific filters - antiadblock - fixes * English - whitelist - fixes * English - replace - fixes * Update UsefulAdsFilter/sections/usefulads.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * Update TrackParamFilter/sections/whitelist.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * Update TurkishFilter/sections/css_extended.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * Update TrackParamFilter/sections/general_url.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * Update TrackParamFilter/sections/specific.txt Co-authored-by: Andrey Meshkov <am@adguard.com> * English - css_extended - fixes * Structure - specific - added an example * removed the example - bab * English - fixes * whitelist_stealth - fix * English - fixes * Spyware - general_elemhide - fix Co-authored-by: Andrey Meshkov <am@adguard.com> Co-authored-by: Alex302 <alex302@adguard.com> Co-authored-by: Stanislav Atroschenko <68852737+stanislav-atr@users.noreply.github.com> Co-authored-by: zloyden <33488229+zloyden@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
!
|
||||
! This section contains the list of the rules against annoyances that are not falling under existing categories. Rules should be domain-specific.
|
||||
!
|
||||
! Good: example.org##.annoyance (it's an annoyance that not falling under existing categories)
|
||||
! Bad: ||example.org^$third-party (it's an adserver and should be in adservers.txt)
|
||||
!
|
||||
!
|
||||
!######### Annoying elements (not ads)
|
||||
!
|
||||
! Test for youtube. Look for feedback
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
!
|
||||
! These rules are against all kinds of ad blocking reinjection/circumvention scripts
|
||||
! which does not affect the functioning of site
|
||||
! First of all, this section has common rules that prevent most known ad block detections. In that case domain should be added to the common rules.
|
||||
! The section contains the list of the rules are against all kinds of ads reinjection or ad-blocking circumvention scripts that do not affect the functioning of the website.
|
||||
! Rules should generally be domain-specific. In some exceptional cases, it's allowed to add generic ones, but this should be approved by most of the maintainers.
|
||||
!
|
||||
! Good: ||example.org/adblock/detect.js
|
||||
! Good: @@/adblocker/detect.js$domain=example.org
|
||||
! Bad: ||ad.doubleclick.net^ (should be in adservers.txt)
|
||||
!
|
||||
!
|
||||
!
|
||||
! Important: don't block paywalls
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
!
|
||||
! This section contains the list of generic rules that block cookie notifications.
|
||||
!
|
||||
! Good: ###cookie
|
||||
! Bad: example.org###cookie (should be in cookies_specific.txt)
|
||||
!
|
||||
!
|
||||
!#######################################################
|
||||
!######### General element hiding rules ################
|
||||
!#######################################################
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
!
|
||||
! This section contains the list of domain-specific rules that block cookie notifications.
|
||||
!
|
||||
! Good: example.org###cookie
|
||||
! Bad: ###cookie (should be in cookies_general.txt)
|
||||
!
|
||||
!
|
||||
!#######################################################
|
||||
!######### Rules for specific sites ####################
|
||||
!#######################################################
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
!
|
||||
! This section contains the list of rules that fix incorrect blocking of cookie notifications by generic rules. Rules should be domain-specific.
|
||||
!
|
||||
! Good: example.org#@##cookie
|
||||
! Bad: example.org###cookie (should be in cookies_specific.txt)
|
||||
!
|
||||
!
|
||||
!#######################################################
|
||||
!######### White list. Fixing filtering errors #########
|
||||
!#######################################################
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
!
|
||||
! Extended CSS rules
|
||||
! Obsolete. Do not add new rules.
|
||||
! This section contains the list of extended CSS rules against ads.
|
||||
! Note, that rules should be domain-specific and you have to use special syntax `#?#` instead of `##`.
|
||||
!
|
||||
! Good: example.org#?#main > div.row:has(> div.ad)
|
||||
! Bad: example.org##main > div.ad (should be in specific.txt)
|
||||
!
|
||||
!
|
||||
!----------------------------------!
|
||||
!--------- REMAINS ----------------!
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
!
|
||||
! This section contains the list of rules that block ads on not-popular websites. Rules should be domain-specific.
|
||||
!
|
||||
! Good: example.org##.ad
|
||||
! Bad: ##.ad (should be in general_url.txt)
|
||||
!
|
||||
!
|
||||
!#######################################################
|
||||
!######### Low-attendance sites ########################
|
||||
!######### less then 30k visits/month ##################
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
!
|
||||
! This section contains the list of rules are against banners that promote mobile apps.
|
||||
! Note, that the file consists of multiple sections for different purposes. For instance, there is a section for exceptions and some platform-specific sections.
|
||||
!
|
||||
! Good: any type of the rules will be good
|
||||
! Bad: @@||example.org^$stealth (should be in AdGuard Base - whitelist_stealth.txt)
|
||||
!
|
||||
!#######################################################
|
||||
!######### Banners of mobile apps for the sites ########
|
||||
!#######################################################
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
!#######################################################
|
||||
!######### Rules for blocking in page popups ###########
|
||||
!######### and floating elements #######################
|
||||
!#######################################################
|
||||
! Whitelist is at the end of file
|
||||
!
|
||||
! This section contains the list of rules that block in-page popups (like banners with special offers) and floating elements.
|
||||
! At the bottom of this file, you can find the allowlist that fixes issues caused by the rules from this file.
|
||||
!
|
||||
! Good: any type of the rules will be good
|
||||
! Bad: @@||example.org^$stealth (should be in AdGuard Base - whitelist_stealth.txt)
|
||||
!
|
||||
!
|
||||
! "Add to home screen in mobile Chrome"
|
||||
||mail.ru/manifest.json
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
!#######################################################
|
||||
!######### Rules for blocking push notifications #######
|
||||
!#######################################################
|
||||
!
|
||||
! This section contains the list of rules that block website push notifications ("subscribe to the news" kind of notifications).
|
||||
!
|
||||
! Good: any type of the rules will be good
|
||||
! Bad: @@||example.org^$stealth (should be in AdGuard Base - whitelist_stealth.txt)
|
||||
!
|
||||
!
|
||||
! Disabling of push-notifications
|
||||
wallstreet-online.de,dni.ru,polit.info#%#if (window.PushManager) { window.PushManager.prototype.subscribe = function () { return { then: function (func) { } }; }; }
|
||||
macwelt.de,pcwelt.de#%#//scriptlet("set-constant", "firebase.messaging", "noopFunc")
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
!
|
||||
!######### Remains of ads. Obsolete section. Better use Extended CSS rules in regular filters
|
||||
! Obsolete. Do not add new rules.
|
||||
! This section contains the list of the rules that block remains of ads. Better use Extended CSS rules in regular filters.
|
||||
! Do not add any rules here.
|
||||
!
|
||||
!
|
||||
!
|
||||
webmd.com#?#.main-container > div[id^="ContentPane"] ~ aside.module-unified-right-rail:has(> header > h3:contains(Today on WebMD))
|
||||
avtonovostidnya.ru##main > div[id*="single"] ~ hr.gray-lg
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
!
|
||||
! This is section contains the list of rules that block websites' own banners at our discretion.
|
||||
!
|
||||
! Self-promo example: promoting other services from the same company (if it's annoying enough).
|
||||
!
|
||||
! Good: any type of the rules will be good
|
||||
! Bad: @@||example.org^$stealth (should be in AdGuard Base - whitelist_stealth.txt)
|
||||
!
|
||||
!
|
||||
!#######################################################
|
||||
!######### Blocking self promotion #####################
|
||||
!#######################################################
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
!#######################################################
|
||||
!######### Subscriptions, newsletters etc. #############
|
||||
!#######################################################
|
||||
!
|
||||
! This section contains the list of rules that block the promotion of subscriptions, newsletters.
|
||||
! Examples: "subscribe to our blog", "subscribe to our newsletter" blocks in all kinds of blocks.
|
||||
!
|
||||
! Good: any type of the rules will be good
|
||||
! Bad: @@||example.org^$stealth (should be in AdGuard Base - whitelist_stealth.txt)
|
||||
!
|
||||
!
|
||||
! common names
|
||||
! ##.cta-component-half-width
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
!
|
||||
! This section contains the list of rules that are used for UI tweaks and other similar cases. For instance, we unblock the right context menu or unblock selecting text on a webpage.
|
||||
!
|
||||
! Good: any type of the rules will be good
|
||||
! Bad: @@||example.org^$stealth (should be in AdGuard Base - whitelist_stealth.txt)
|
||||
!
|
||||
!
|
||||
!##############################
|
||||
!######### CSS tweaks #########
|
||||
!##############################
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
!
|
||||
! This section contains the list of rules that block annoying third-party widgets (weather, money exchange, 3rd-party feedbacks, 3rd-party assistants).
|
||||
!
|
||||
! Good: any type of the rules will be good
|
||||
! Bad: @@||example.org^$stealth (should be in AdGuard Base - whitelist_stealth.txt)
|
||||
!
|
||||
!
|
||||
!#######################################################
|
||||
!######### Block useless widgets #######################
|
||||
!### Weather, money exchange, 3rd-party feedbacks, #####
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
!
|
||||
! Section contains list of advertising networks
|
||||
! This section contains the list of third-party advertising networks domains.
|
||||
! Note, that we only put rules that block full domains here and not URL parts (there's `general_url.txt` for that). Also, it must be domains that are used in a third-party context.
|
||||
!
|
||||
! Good: ||doubleclick.net^$third-party
|
||||
! Bad: /banner.jpg (should be in general_url.txt)
|
||||
! Bad: ||adssubdomain.legitwebsite.com^ (should be in adservers_firstparty.txt)
|
||||
!
|
||||
!
|
||||
||bjjabc.com^$third-party
|
||||
||bbs.kiiqnnx.cn^
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
!
|
||||
! Section contains the list of advertising networks, which are hosted on non advertising sites as subdomains
|
||||
! This section contains the list of advertising networks domains, which are hosted on non advertising sites as subdomains.
|
||||
! Note, that we only put rules that block full subdomains here and not URL parts (there's `general_url.txt` for that).
|
||||
!
|
||||
! Good: ||ad.doubleclick.net^
|
||||
! Bad: /banner.jpg (should be in general_url.txt)
|
||||
! Bad: ||legitwebsite.com^$third-party (should be in adservers.txt)
|
||||
!
|
||||
!
|
||||
||ad.juksy.com^
|
||||
||ads.tvb.com^
|
||||
@@ -1,5 +1,11 @@
|
||||
!
|
||||
! These rules are against all kinds of ad blocking reinjection/circumvention scripts
|
||||
! First of all, this section has common rules that prevent most known ad block detections. In that case domain should be added to the common rules.
|
||||
! The section contains the list of the rules are against all kinds of ads reinjection or ad-blocking circumvention scripts. If such a script does not cripple the website, we add rules to the Annoyances filter.
|
||||
! Rules should generally be domain-specific. In some exceptional cases, it's allowed to add generic ones, but this should be approved by most of the maintainers.
|
||||
!
|
||||
! Good: ||example.org/adblock/detect.js
|
||||
! Good: @@/adblocker/detect.js$domain=example.org
|
||||
! Bad: ||ad.doubleclick.net^ (should be in adservers.txt)
|
||||
!
|
||||
!
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/107446
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
!
|
||||
! Extended CSS rules
|
||||
! This section contains the list of extended CSS rules against ads.
|
||||
! Note, that rules should be domain-specific and you have to use special syntax `#?#` instead of `##`.
|
||||
!
|
||||
! Good: example.org#?#main > div.row:has(> div.ad)
|
||||
! Bad: example.org##main > div.ad (should be in specific.txt)
|
||||
!
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/105485
|
||||
ct.999wan.wang#?#.container .card:has(> .card-body > .flex-fill > #ad_text)
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
!
|
||||
! Section contains list general hiding rules
|
||||
! This section contains generic element hiding rules that block ads.
|
||||
!
|
||||
! Good: ##.adv
|
||||
! Bad: example.org##.adv (should be in specific.txt)
|
||||
!
|
||||
!
|
||||
##.Zi_ad_a_H
|
||||
##a[href^="https://adm.beimg.com/"]
|
||||
@@ -1,3 +1,10 @@
|
||||
!
|
||||
! This section contains the list of ad blocking rules that fall under "advanced" category.
|
||||
! By advanced we mean the following rule types: CSS, scriptlets, HTML filtering (`$$` marker), JS.
|
||||
!
|
||||
! Good: example.org#$##rek { display: none !important; }; example.org#%#//scriptlet('set-cookie', 'ad', '0'); example.org#%#document.cookie = "ad =0"; ; example.org$$script[tag-content="ad"][max-length="3000"].
|
||||
! Bad: example.org###rek (should be in specific.txt)
|
||||
!
|
||||
!--------------------------------------!
|
||||
!------- JS rules ---------------------!
|
||||
!--------------------------------------!
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
!
|
||||
! This section contains the list of generic blocking rules.
|
||||
!
|
||||
! Good: .org/ads/
|
||||
! Bad: .org/ads/$domain=example.org (for instance, should be in specific.txt)
|
||||
!
|
||||
!
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/35526
|
||||
://m.*.cn/*.xmtl?$third-party
|
||||
://m.*.cn/*/*.js?ssid=_
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
!
|
||||
! The content replacement rules
|
||||
! This section contains the list of the content replacement rules that block ads. Rules must be domain-specific.
|
||||
!
|
||||
! Good: ||example.org/video-links$replace=/vast":/vast_":/
|
||||
! Bad: ||example.org/video-links (should be in specific.txt)
|
||||
!
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/87176
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/54359
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
!
|
||||
! Section contains rules for specific websites
|
||||
! This section contains the list of domain-specific rules that block ads.
|
||||
!
|
||||
! Good: example.org###rek; ||example.com/ads/
|
||||
! Bad: example.org#$##rek { display: none !important; } (for instance, should be in general_extensions.txt)
|
||||
!
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/88097
|
||||
ipv6.baidu.com,m.baidu.com,www.baidu.com,www1.baidu.com,xueshu.baidu.com###results > div[class]:not(.result):not(.result-op):not(.sp-rslt-bar):not(.s-group-result):not(.hint-unsafe)
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
!
|
||||
! White list. Fixing filtration errors (false-positive)
|
||||
! This section contains the list of rules that fix incorrect blocking. Rules must be domain-specific.
|
||||
!
|
||||
! Good: example.org#@#.ad
|
||||
! Bad: @@||example.org^$stealth (should be in AdGuard Base - whitelist_stealth.txt)
|
||||
!
|
||||
!
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/105329
|
||||
@@||51zxw.net/getvutf.asp?$domain=51zxw.net
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
!
|
||||
! Section contains list of advertising networks
|
||||
! This section contains the list of third-party advertising networks domains.
|
||||
! Note, that we only put rules that block full domains here and not URL parts (there's `general_url.txt` for that). Also, it must be domains that are used in a third-party context.
|
||||
!
|
||||
! Good: ||doubleclick.net^$third-party
|
||||
! Bad: /banner.jpg (should be in general_url.txt)
|
||||
! Bad: ||adssubdomain.legitwebsite.com^ (should be in adservers_firstparty.txt)
|
||||
!
|
||||
!
|
||||
||pexi.nl^$third-party
|
||||
||adconfigproxy.azurewebsites.net^$third-party
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
!
|
||||
! Section contains the list of advertising networks, which are hosted on non advertising sites as subdomains
|
||||
! This section contains the list of advertising networks domains, which are hosted on non advertising sites as subdomains.
|
||||
! Note, that we only put rules that block full subdomains here and not URL parts (there's `general_url.txt` for that).
|
||||
!
|
||||
! Good: ||ad.doubleclick.net^
|
||||
! Bad: /banner.jpg (should be in general_url.txt)
|
||||
! Bad: ||legitwebsite.com^$third-party (should be in adservers.txt)
|
||||
!
|
||||
!
|
||||
||content2.nrc.nl^
|
||||
@@ -1,5 +1,11 @@
|
||||
!
|
||||
! These rules are against all kinds of ad blocking reinjection/circumvention scripts
|
||||
! First of all, this section has common rules that prevent most known ad block detections. In that case domain should be added to the common rules.
|
||||
! The section contains the list of the rules are against all kinds of ads reinjection or ad-blocking circumvention scripts. If such a script does not cripple the website, we add rules to the Annoyances filter.
|
||||
! Rules should generally be domain-specific. In some exceptional cases, it's allowed to add generic ones, but this should be approved by most of the maintainers.
|
||||
!
|
||||
! Good: ||example.org/adblock/detect.js
|
||||
! Good: @@/adblocker/detect.js$domain=example.org
|
||||
! Bad: ||ad.doubleclick.net^ (should be in adservers.txt)
|
||||
!
|
||||
! Prevent AdFender detection
|
||||
@@/ad_pics/*$image,domain=computerworld.nl|webwereld.nl
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
!
|
||||
! Extended CSS rules
|
||||
! This section contains the list of extended CSS rules against ads.
|
||||
! Note, that rules should be domain-specific and you have to use special syntax `#?#` instead of `##`.
|
||||
!
|
||||
! Good: example.org#?#main > div.row:has(> div.ad)
|
||||
! Bad: example.org##main > div.ad (should be in specific.txt)
|
||||
!
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/48649
|
||||
marktplaats.nl#?#.mp-Page-element > .mp-Listings + div:not([class]):not([id]):has(> .mp-Listings__admarktTitle)
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
!
|
||||
! Section contains list general hiding rules
|
||||
! This section contains generic element hiding rules that block ads.
|
||||
!
|
||||
! Good: ##.adv
|
||||
! Bad: example.org##.adv (should be in specific.txt)
|
||||
!
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
!
|
||||
! This section contains the list of ad blocking rules that fall under "advanced" category.
|
||||
! By advanced we mean the following rule types: CSS, scriptlets, HTML filtering (`$$` marker), JS.
|
||||
!
|
||||
! Good: example.org#$##rek { display: none !important; }; example.org#%#//scriptlet('set-cookie', 'ad', '0'); example.org#%#document.cookie = "ad =0"; ; example.org$$script[tag-content="ad"][max-length="3000"].
|
||||
! Bad: example.org###rek (should be in specific.txt)
|
||||
!
|
||||
!--------------------------------------!
|
||||
!------- JS rules ---------------------!
|
||||
!--------------------------------------!
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
!
|
||||
! Banner names
|
||||
! This section contains the list of generic blocking rules.
|
||||
!
|
||||
! Good: .org/ads/
|
||||
! Bad: .org/ads/$domain=example.org (for instance, should be in speficic.txt)
|
||||
!
|
||||
!
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
!
|
||||
! The content replacement rules
|
||||
! This section contains the list of the content replacement rules that block ads. Rules must be domain-specific.
|
||||
!
|
||||
! Good: ||example.org/video-links$replace=/vast":/vast_":/
|
||||
! Bad: ||example.org/video-links (should be in specific.txt)
|
||||
!
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/6938
|
||||
||svonm.com/*config.json$replace=/"enabled": true\,/"enabled":false\,/i,important
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
!--------------------------------------------------------!
|
||||
!-------------------- Specific rules --------------------!
|
||||
!--------------------------------------------------------!
|
||||
!
|
||||
! This section contains the list of domain-specific rules that block ads.
|
||||
!
|
||||
! Good: example.org###rek; ||example.com/ads/
|
||||
! Bad: example.org#$##rek { display: none !important; } (for instance, should be in general_extensions.txt)
|
||||
!
|
||||
itnijs.frl##.last.widget
|
||||
itnijs.frl##.widget-5 > div.banner
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
!
|
||||
! White list. Fixing filtration errors (false-positive)
|
||||
! This section contains the list of rules that fix incorrect blocking. Rules must be domain-specific.
|
||||
!
|
||||
! Good: example.org#@#.ad
|
||||
! Bad: @@||example.org^$stealth (should be in AdGuard Base - whitelist_stealth.txt)
|
||||
!
|
||||
!
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/71460
|
||||
!+ PLATFORM(ios, ext_safari)
|
||||
|
||||
@@ -1,7 +1,13 @@
|
||||
!
|
||||
! Section contains list of advertising networks
|
||||
! This section contains the list of third-party advertising networks domains.
|
||||
! Note, that we only put rules that block full domains here and not URL parts (there's `general_url.txt` for that). Also, it must be domains that are used in a third-party context.
|
||||
! The rules with hints are at the end of file.
|
||||
|
||||
! Good: ||doubleclick.net^$third-party
|
||||
! Bad: /banner.jpg (should be in general_url.txt)
|
||||
! Bad: ||adssubdomain.legitwebsite.com^ (should be in adservers_firstparty.txt)
|
||||
!
|
||||
!
|
||||
! The rules with hints are at the end of file
|
||||
!
|
||||
||lzrikate.com^$third-party
|
||||
||xfyyveifirnll.com^
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
!
|
||||
! Section contains the list of advertising networks, which are hosted on non advertising sites as subdomains
|
||||
! This section contains the list of advertising networks domains, which are hosted on non advertising sites as subdomains.
|
||||
! Note, that we only put rules that block full subdomains here and not URL parts (there's `general_url.txt` for that).
|
||||
!
|
||||
! Good: ||ad.doubleclick.net^
|
||||
! Bad: /banner.jpg (should be in general_url.txt)
|
||||
! Bad: ||legitwebsite.com^$third-party (should be in adservers.txt)
|
||||
!
|
||||
!
|
||||
||d24g87zbxr4yiz.cloudfront.net^
|
||||
||centent.stemplay.cc^
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
!
|
||||
! These rules are against all kinds of ad blocking reinjection/circumvention scripts
|
||||
! First of all, this section has common rules that prevent most known ad block detections. In that case domain should be added to the common rules.
|
||||
! The section contains the list of the rules are against all kinds of ads reinjection or ad-blocking circumvention scripts. If such a script does not cripple the website, we add rules to the Annoyances filter.
|
||||
! Rules should generally be domain-specific. In some exceptional cases, it's allowed to add generic ones, but this should be approved by most of the maintainers.
|
||||
!
|
||||
! Good: ||example.org/adblock/detect.js
|
||||
! Good: @@/adblocker/detect.js$domain=example.org
|
||||
! Bad: ||ad.doubleclick.net^ (should be in adservers.txt)
|
||||
!
|
||||
! .pub_728x90.text-ad.textAd.text_ad.text_ads.text-ads.text-ad-links is often used as a bait
|
||||
#$#.pub_728x90.text-ad.textAd.text_ad.text_ads.text-ads.text-ad-links { display: block !important; }
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
!
|
||||
! Section contains list of popular banner sizes
|
||||
! This section contains the list of popular banner sizes.
|
||||
! Rules should be generic.
|
||||
!
|
||||
! Good: ##embed[height="175"][width="175"]
|
||||
! Bad: example.org##embed[height="175"][width="175"] (should be in specific.txt)
|
||||
!
|
||||
##embed[height="175"][width="175"]
|
||||
##embed[height="200"][width="100%"]
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
!
|
||||
! CNAME advertising networks
|
||||
! This section contains the list of the rules are against CNAME advertising networks.
|
||||
! Note, we only include rules from AdGuard's cname-tracker repo here, there's no need to add regular rules here.
|
||||
!
|
||||
! Good: !#include https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/trackers/adspyglass.txt
|
||||
! Bad: ||monerominer.rocks^$third-party (should be in adservers.txt)
|
||||
!
|
||||
!
|
||||
! AdSpyglass : 0i0i0i0.com disguised advertising networks
|
||||
!#include https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/trackers/adspyglass.txt
|
||||
|
||||
@@ -1,6 +1,14 @@
|
||||
!
|
||||
! Section contains list of the rules for content blockers
|
||||
! It will be used by AdGuard Content Blocker and AdGuard for iOS/Safari
|
||||
! This section contains the list of the rules for content blockers (AdGuard for iOS, AdGuard for Safari and AdGuard Content Blocker for Yandex Browser / Samsung Browser on Android).
|
||||
!
|
||||
! The point is that these apps support only a limited subset of AdGuard filtering rules syntax.
|
||||
! Because of that, we have to resort to using more complicated and less effective solutions there.
|
||||
! Note, that you can use some specific type of the rules: base (with / without exceptions).
|
||||
!
|
||||
! Good: ||example.org/adblock/detect.js
|
||||
! Good: @@/adblocker/detect.js$domain=example.org
|
||||
! Bad: example.org#?##adblock (should be in antiadblock.txt)
|
||||
!
|
||||
!
|
||||
!###################### Temporary ######################
|
||||
!
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
!
|
||||
! Section contains list of crypto-miners
|
||||
! This section contains the list of rules are against crypto-miners.
|
||||
!
|
||||
! Good: ||monerominer.rocks^$third-party
|
||||
! Bad: monerominer.rocks##.ad (should be in specific.txt)
|
||||
!
|
||||
!
|
||||
! Do not block authedmine.com
|
||||
!
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
!
|
||||
! Extended CSS rules
|
||||
! This section contains the list of extended CSS rules against ads.
|
||||
! Note, that rules should be domain-specific and you have to use special syntax `#?#` instead of `##`.
|
||||
!
|
||||
! Good: example.org#?#main > div.row:has(> div.ad)
|
||||
! Bad: example.org##main > div.ad (should be in specific.txt)
|
||||
!
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/109066
|
||||
sukebei.nyaa.si#?#div[class*="-"] > ins.adsbyexoclick:upward(1)
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
!
|
||||
! This section contains the list of rules that are supposed to work on websites we have no language-specific filter for yet.
|
||||
!
|
||||
! Good: any type of the rules will be good
|
||||
! Bad: @@||example.org^$stealth (should be in AdGuard Base - whitelist_stealth.txt)
|
||||
!
|
||||
!
|
||||
!---------------------------------------------------------------------
|
||||
!------------------------------ Albanian -----------------------------
|
||||
!---------------------------------------------------------------------
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
!
|
||||
! Section contains list general hiding rules
|
||||
! This section contains generic element hiding rules that block ads.
|
||||
!
|
||||
! Good: ##.adv
|
||||
! Bad: example.org##.adv (should be in specific.txt)
|
||||
!
|
||||
!
|
||||
!+ NOT_OPTIMIZED
|
||||
##.home-ad-region-1
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
!
|
||||
! This section contains the list of ad blocking rules that fall under "advanced" category.
|
||||
! By advanced we mean the following rule types: CSS, scriptlets, HTML filtering (`$$` marker), JS.
|
||||
!
|
||||
! Good: example.org#$##rek { display: none !important; }; example.org#%#//scriptlet('set-cookie', 'ad', '0'); example.org#%#document.cookie = "ad =0"; ; example.org$$script[tag-content="ad"][max-length="3000"].
|
||||
! Bad: example.org###rek (should be in specific.txt)
|
||||
!
|
||||
!-------------------
|
||||
!-------JS----------
|
||||
!-------------------
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
!
|
||||
! This section contains the list of generic blocking rules.
|
||||
!
|
||||
! Good: .org/ads/
|
||||
! Bad: .org/ads/$domain=example.org (for instance, should be in speficic.txt)
|
||||
!
|
||||
!
|
||||
! This is an interesting case.
|
||||
! This is a part of the URL used by an Indian ISP called BSNL
|
||||
! to inject ads into HTTP pages
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
!
|
||||
! The content replacement rules
|
||||
! This section contains the list of the content replacement rules that block ads. Rules must be domain-specific.
|
||||
!
|
||||
! Good: ||example.org/video-links$replace=/vast":/vast_":/
|
||||
! Bad: ||example.org/video-links (should be in specific.txt)
|
||||
!
|
||||
!
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/105079
|
||||
! Fix ad placeholders in iframe
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
!
|
||||
! This section contains the list of domain-specific rules that block ads.
|
||||
!
|
||||
! Good: example.org###rek; ||example.com/ads/
|
||||
! Bad: example.org#$##rek { display: none !important; } (for instance, should be in general_extensions.txt)
|
||||
!
|
||||
! Section contains rules for specific websites
|
||||
!
|
||||
!### HINTS are at the end of file
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
!
|
||||
! White list. Fixing filtration errors (false-positive)
|
||||
! This section contains the list of rules that fix incorrect blocking. Rules must be domain-specific.
|
||||
|
||||
!
|
||||
! Good: example.org#@#.ad
|
||||
! Bad: @@||example.org^$stealth (should be in AdGuard Base - whitelist_stealth.txt)
|
||||
!
|
||||
!
|
||||
!#########################################
|
||||
! START: Temporary
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
!-----------------------------------------------------------
|
||||
!-------------------- Fixing Stealth Mode ------------------
|
||||
!-----------------------------------------------------------
|
||||
!
|
||||
! This section contains the list of rules that fix Stealth Mode issues. Rules should be domain-specific.
|
||||
!
|
||||
! Good: @@||example.org^$stealth
|
||||
! Bad: example.org#@#.ad (should be in AdGuard Base - whitelist.txt)
|
||||
!
|
||||
!
|
||||
!############### TEMPORARY ###############
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/104168 [Stealth Mode - Referrer]
|
||||
@@||streampass.org^$stealth
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
!
|
||||
! Section contains list of advertising networks
|
||||
! This section contains the list of third-party advertising networks domains. In that case domain should be added to the common rules.
|
||||
! Note, that we only put rules that block full domains here and not URL parts (there's `general_url.txt` for that). Also, it must be domains that are used in a third-party context.
|
||||
!
|
||||
! Good: ||doubleclick.net^$third-party
|
||||
! Bad: /banner.jpg (should be in general_url.txt)
|
||||
! Bad: ||adssubdomain.legitwebsite.com^ (should be in adservers_firstparty.txt)
|
||||
!
|
||||
!
|
||||
||be-rtl.videoplaza.tv^
|
||||
||fristminyas.com^$third-party
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
!
|
||||
! Section contains the list of advertising networks, which are hosted on non advertising sites as subdomains
|
||||
! This section contains the list of advertising networks domains, which are hosted on non advertising sites as subdomains.
|
||||
! Note, that we only put rules that block full subdomains here and not URL parts (there's `general_url.txt` for that).
|
||||
!
|
||||
! Good: ||ad.doubleclick.net^
|
||||
! Bad: /banner.jpg (should be in general_url.txt)
|
||||
! Bad: ||legitwebsite.com^$third-party (should be in adservers.txt)
|
||||
!
|
||||
!
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
!
|
||||
! These rules are against all kinds of ad blocking reinjection/circumvention scripts
|
||||
! First of all, this section has common rules that prevent most known ad block detections. In that case domain should be added to the common rules.
|
||||
! The section contains the list of the rules are against all kinds of ads reinjection or ad-blocking circumvention scripts. If such a script does not cripple the website, we add rules to the Annoyances filter.
|
||||
! Rules should generally be domain-specific. In some exceptional cases, it's allowed to add generic ones, but this should be approved by most of the maintainers.
|
||||
!
|
||||
! Good: ||example.org/adblock/detect.js
|
||||
! Good: @@/adblocker/detect.js$domain=example.org
|
||||
! Bad: ||ad.doubleclick.net^ (should be in adservers.txt)
|
||||
!
|
||||
!--- Sourcepoint ---
|
||||
capital.fr,maxisciences.com#%#!function(){function b(){}function a(a){return{get:function(){return a},set:b}}function c(a){a(!1)}AG_defineProperty('_sp_.config.content_control_callback',a(b)),AG_defineProperty('_sp_.config.spid_control_callback',a(b)),AG_defineProperty('_sp_.config.vid_control_callback',a(b)),AG_defineProperty('_sp_.config.disableBlockerStyleSheets',a(!1)),AG_defineProperty('_sp_.checkState',a(c)),AG_defineProperty('_sp_.isAdBlocking',a(c)),AG_defineProperty('_sp_.isAdblocking',a(c)),AG_defineProperty('_sp_.isContentBlockerPresent',a(c)),AG_defineProperty('_sp_.getSafeUri',a(function(a){return a})),AG_defineProperty('_sp_.pageChange',a(b)),AG_defineProperty('_sp_.setupSmartBeacons',a(b)),AG_defineProperty('_sp_.msg.startMsg',a(b)),document.addEventListener('sp.blocking',function(a){a.stopImmediatePropagation(),a=document.createEvent('Event'),a.initEvent('sp.not_blocking',!0,!1),this.dispatchEvent(a)})}();
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
!
|
||||
! Extended CSS rules
|
||||
! This section contains the list of extended CSS rules against ads.
|
||||
! Note, that rules should be domain-specific and you have to use special syntax `#?#` instead of `##`.
|
||||
!
|
||||
! Good: example.org#?#main > div.row:has(> div.ad)
|
||||
! Bad: example.org##main > div.ad (should be in specific.txt)
|
||||
!
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/105651
|
||||
crunchyscan.fr#?#.body-wrap > .c-sidebar:not(:has([id*="manga"]))
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
!
|
||||
! Section contains list general hiding rules
|
||||
! This section contains generic element hiding rules that block ads.
|
||||
!
|
||||
! Good: ##.adv
|
||||
! Bad: example.org##.adv (should be in specific.txt)
|
||||
!
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
!
|
||||
! This section contains the list of ad blocking rules that fall under "advanced" category.
|
||||
! By advanced we mean the following rule types: CSS, scriptlets, HTML filtering (`$$` marker), JS.
|
||||
!
|
||||
! Good: example.org#$##rek { display: none !important; }; example.org#%#//scriptlet('set-cookie', 'ad', '0'); example.org#%#document.cookie = "ad =0"; ; example.org$$script[tag-content="ad"][max-length="3000"].
|
||||
! Bad: example.org###rek (should be in specific.txt)
|
||||
!
|
||||
!--------------------------------------!
|
||||
!------- JS rules ---------------------!
|
||||
!--------------------------------------!
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
!
|
||||
! Banner names
|
||||
! This section contains the list of generic blocking rules.
|
||||
!
|
||||
! Good: .org/ads/
|
||||
! Bad: .org/ads/$domain=example.org (for instance, should be in speficic.txt)
|
||||
!
|
||||
!
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/83524
|
||||
/propads.$badfilter
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
!
|
||||
! The content replacement rules
|
||||
! This section contains the list of the content replacement rules that block ads. Rules must be domain-specific.
|
||||
!
|
||||
! Good: ||example.org/video-links$replace=/vast":/vast_":/
|
||||
! Bad: ||example.org/video-links (should be in specific.txt)
|
||||
!
|
||||
!
|
||||
! French-language catch-up TV web apps
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
!--------------------------------------------------------!
|
||||
!-------------------- Specific rules --------------------!
|
||||
!--------------------------------------------------------!
|
||||
!
|
||||
! This section contains the list of domain-specific rules that block ads.
|
||||
!
|
||||
! Good: example.org###rek; ||example.com/ads/
|
||||
! Bad: example.org#$##rek { display: none !important; } (for instance, should be in general_extensions.txt)
|
||||
!
|
||||
! For URL shorteners or simple sites with frequently changed ad servers.
|
||||
! Incorrectly blocked domains can be excluded using regex(synchronize this regexp in all filters)
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
!
|
||||
! White list. Fixing filtration errors (false-positive)
|
||||
! This section contains the list of rules that fix incorrect blocking. Rules must be domain-specific.
|
||||
!
|
||||
! Good: example.org#@#.ad
|
||||
! Bad: @@||example.org^$stealth (should be in AdGuard Base - whitelist_stealth.txt)
|
||||
!
|
||||
!
|
||||
! broken player
|
||||
@@||oasis-player.p7s1.io/web/monetization/*/monetization.js$domain=puls24.at|kabeleins.de|wetter.com|prosiebenmaxx.de|sixx.de|sat1.de|puls4.com|prosieben.de|kabeleinsdoku.de|kabeleinsdoku.at|zappn.tv
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
!
|
||||
! This section contains the list of third-party advertising networks domains.
|
||||
! Note, that we only put rules that block full domains here and not URL parts (there's `general_url.txt` for that). Also, it must be domains that are used in a third-party context.
|
||||
!
|
||||
! Good: ||doubleclick.net^$third-party
|
||||
! Bad: /banner.jpg (should be in general_url.txt)
|
||||
! Bad: ||adssubdomain.legitwebsite.com^ (should be in adservers_firstparty.txt)
|
||||
!
|
||||
!
|
||||
||tikibihu.com^$third-party
|
||||
||partners2.das-onlinespiel.de^$third-party
|
||||
||intextlinks.idg.zone^$third-party
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
!
|
||||
! These rules are against all kinds of ad blocking reinjection/circumvention scripts
|
||||
! First of all, this section has common rules that prevent most known ad block detections. In that case domain should be added to the common rules.
|
||||
! The section contains the list of the rules are against all kinds of ads reinjection or ad-blocking circumvention scripts. If such a script does not cripple the website, we add rules to the Annoyances filter.
|
||||
! Rules should generally be domain-specific. In some exceptional cases, it's allowed to add generic ones, but this should be approved by most of the maintainers.
|
||||
!
|
||||
! Good: ||example.org/adblock/detect.js
|
||||
! Good: @@/adblocker/detect.js$domain=example.org
|
||||
! Bad: ||ad.doubleclick.net^ (should be in adservers.txt)
|
||||
!
|
||||
!--- Prevent AdFender detection ---
|
||||
!+ NOT_OPTIMIZED
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
!
|
||||
! Extended CSS rules
|
||||
! This section contains the list of extended CSS rules against ads.
|
||||
! Note, that rules should be domain-specific and you have to use special syntax `#?#` instead of `##`.
|
||||
!
|
||||
! Good: example.org#?#main > div.row:has(> div.ad)
|
||||
! Bad: example.org##main > div.ad (should be in specific.txt)
|
||||
!
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/105158
|
||||
kochbar.de#?#section[data-area*="_Empfehlungen-"] .rtli-large-5:has(>.kb-ad)
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
!
|
||||
! Section contains list general hiding rules
|
||||
! This section contains generic element hiding rules that block ads.
|
||||
!
|
||||
! Good: ##.adv
|
||||
! Bad: example.org##.adv (should be in specific.txt)
|
||||
!
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
!
|
||||
! This section contains the list of ad blocking rules that fall under "advanced" category.
|
||||
! By advanced we mean the following rule types: CSS, scriptlets, HTML filtering (`$$` marker), JS.
|
||||
!
|
||||
! Good: example.org#$##rek { display: none !important; }; example.org#%#//scriptlet('set-cookie', 'ad', '0'); example.org#%#document.cookie = "ad =0"; ; example.org$$script[tag-content="ad"][max-length="3000"].
|
||||
! Bad: example.org###rek (should be in specific.txt)
|
||||
!
|
||||
!--------------------------------------!
|
||||
!------- JS rules ---------------------!
|
||||
!--------------------------------------!
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
!
|
||||
! Banner names
|
||||
! This section contains the list of generic blocking rules.
|
||||
!
|
||||
! Good: .org/ads/
|
||||
! Bad: .org/ads/$domain=example.org (for instance, should be in speficic.txt)
|
||||
!
|
||||
!
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
!
|
||||
! The content replacement rules
|
||||
! This section contains the list of the content replacement rules that block ads. Rules must be domain-specific.
|
||||
!
|
||||
! Good: ||example.org/video-links$replace=/vast":/vast_":/
|
||||
! Bad: ||example.org/video-links (should be in specific.txt)
|
||||
!
|
||||
! Glomex video ads - kabeleins.de,prosieben.de,prosiebenmaxx.de,ran.de,sat1.de,sat1gold.de,sixx.de,the-voice-of-germany.de,wetter.com
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/21525
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
!--------------------------------------------------------!
|
||||
!-------------------- Specific rules --------------------!
|
||||
!--------------------------------------------------------!
|
||||
!
|
||||
! This section contains the list of domain-specific rules that block ads.
|
||||
!
|
||||
! Good: example.org###rek; ||example.com/ads/
|
||||
! Bad: example.org#$##rek { display: none !important; } (for instance, should be in general_extensions.txt)
|
||||
!
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/101190
|
||||
||ihreapotheken.de^$third-party
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/93094
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
!
|
||||
! White list. Fixing filtration errors (false-positive)
|
||||
! This section contains the list of rules that fix incorrect blocking. Rules must be domain-specific.
|
||||
!
|
||||
! Good: example.org#@#.ad
|
||||
! Bad: @@||example.org^$stealth (should be in AdGuard Base - whitelist_stealth.txt)
|
||||
!
|
||||
!
|
||||
!###TEMPORARY###
|
||||
!###############
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
!
|
||||
! Section contains list of advertising networks
|
||||
! This section contains the list of third-party advertising networks domains.
|
||||
! Note, that we only put rules that block full domains here and not URL parts (there's `general_url.txt` for that). Also, it must be domains that are used in a third-party context.
|
||||
!
|
||||
! Good: ||doubleclick.net^$third-party
|
||||
! Bad: /banner.jpg (should be in general_url.txt)
|
||||
! Bad: ||adssubdomain.legitwebsite.com^ (should be in adservers_firstparty.txt)
|
||||
!
|
||||
!
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/23113
|
||||
! ||weblio.jp^$third-party
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
!
|
||||
! These rules are against all kinds of ad blocking reinjection/circumvention scripts
|
||||
! First of all, this section has common rules that prevent most known ad block detections. In that case domain should be added to the common rules.
|
||||
! The section contains the list of the rules are against all kinds of ads reinjection or ad-blocking circumvention scripts. If such a script does not cripple the website, we add rules to the Annoyances filter.
|
||||
! Rules should generally be domain-specific. In some exceptional cases, it's allowed to add generic ones, but this should be approved by most of the maintainers.
|
||||
!
|
||||
! Good: ||example.org/adblock/detect.js
|
||||
! Good: @@/adblocker/detect.js$domain=example.org
|
||||
! Bad: ||ad.doubleclick.net^ (should be in adservers.txt)
|
||||
!
|
||||
!
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/108229
|
||||
friday.kodansha.co.jp#$#body { overflow: visible !important; }
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
!
|
||||
! Extended CSS rules
|
||||
! This section contains the list of extended CSS rules against ads.
|
||||
! Note, that rules should be domain-specific and you have to use special syntax `#?#` instead of `##`.
|
||||
!
|
||||
! Good: example.org#?#main > div.row:has(> div.ad)
|
||||
! Bad: example.org##main > div.ad (should be in specific.txt)
|
||||
!
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/104224#issuecomment-1002865063
|
||||
! TODO: replace the rule below after the release of the extension 4.0
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
!
|
||||
! Section contains list general hiding rules
|
||||
! This section contains generic element hiding rules that block ads.
|
||||
!
|
||||
! Good: ##.adv
|
||||
! Bad: example.org##.adv (should be in specific.txt)
|
||||
!
|
||||
!
|
||||
##._popIn_infinite_ad
|
||||
##._popIn_infinite_video
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
!
|
||||
! This section contains the list of ad blocking rules that fall under "advanced" category.
|
||||
! By advanced we mean the following rule types: CSS, scriptlets, HTML filtering (`$$` marker), JS.
|
||||
!
|
||||
! Good: example.org#$##rek { display: none !important; }; example.org#%#//scriptlet('set-cookie', 'ad', '0'); example.org#%#document.cookie = "ad =0"; ; example.org$$script[tag-content="ad"][max-length="3000"].
|
||||
! Bad: example.org###rek (should be in specific.txt)
|
||||
!
|
||||
!-------------------
|
||||
!-------JS----------
|
||||
!-------------------
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
!
|
||||
! Banner names
|
||||
! This section contains the list of generic blocking rules.
|
||||
!
|
||||
! Good: .org/ads/
|
||||
! Bad: .org/ads/$domain=example.org (for instance, should be in general_extensions.txt)
|
||||
!
|
||||
!
|
||||
/plugins/betube-ads/*
|
||||
.com/ufo/$script,third-party
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
!
|
||||
! Section contains rules for specific websites
|
||||
! This section contains the list of domain-specific rules that block ads.
|
||||
!
|
||||
! Good: example.org###rek; ||example.com/ads/
|
||||
! Bad: example.org#$##rek { display: none !important; } (for instance, should be in speficic.txt)
|
||||
!
|
||||
! /banner/banner_ - if it is necessary, make this rule domain specific
|
||||
!
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
!
|
||||
! White list. Fixing filtration errors(false-positive)
|
||||
! This section contains the list of rules that fix incorrect blocking. Rules must be domain-specific.
|
||||
!
|
||||
! Good: example.org#@#.ad
|
||||
! Bad: @@||example.org^$stealth (should be in AdGuard Base - whitelist_stealth.txt)
|
||||
!
|
||||
!
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/107680
|
||||
@@||ias.global.rakuten.com/adv/$script,domain=24.rakuten.co.jp
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
!
|
||||
! Section contains list of advertising networks
|
||||
! This section contains the list of third-party advertising networks domains for mobile devices.
|
||||
! Note, that we only put rules that block full domains here and not URL parts (there's `general_url.txt` for that). Also, it must be domains that are used in a third-party context.
|
||||
!
|
||||
! Good: ||doubleclick.net^$third-party
|
||||
! Bad: /banner.jpg (should be in general_url.txt)
|
||||
! Bad: ||adssubdomain.legitwebsite.com^ (should be in adservers_firstparty.txt)
|
||||
!
|
||||
!
|
||||
! ||mobileapptracking.com^ - don't block this domain with all subdomains. https://forum.adguard.com/index.php?threads/23917/
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
!
|
||||
! These rules are against all kinds of ad blocking reinjection/circumvention scripts
|
||||
! First of all, this section has common rules that prevent most known ad block detections. In that case domain should be added to the common rules.
|
||||
! The section contains the list of the rules are against all kinds of ads reinjection or ad-blocking circumvention scripts. If such a script does not cripple the website, we add rules to the Annoyances filter.
|
||||
! Rules should generally be domain-specific. In some exceptional cases, it's allowed to add generic ones, but this should be approved by most of the maintainers.
|
||||
!
|
||||
! Good: ||example.org/adblock/detect.js
|
||||
! Good: @@/adblocker/detect.js$domain=example.org
|
||||
! Bad: ||ad.doubleclick.net^ (should be in adservers.txt)
|
||||
!
|
||||
!
|
||||
!--- Temporary
|
||||
! https://github.com/AdguardTeam/AdguardForiOS/issues/255
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
!
|
||||
! Extended CSS rules
|
||||
! This section contains the list of extended CSS rules against ads on mobile devices.
|
||||
! Note, that rules should be domain-specific and you have to use special syntax `#?#` instead of `##`.
|
||||
!
|
||||
! Good: example.org#?#main > div.row:has(> div.ad)
|
||||
! Bad: example.org##main > div.ad (should be in specific.txt)
|
||||
!
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/109417
|
||||
seiga.nicovideo.jp#?#div[data-ads-name="sp_android_web_manga_viewer_lv3_300x250_north"]:upward(1)
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
!
|
||||
! Section contains list general hiding rules
|
||||
! This section contains generic element hiding rules that block ads on mobile devices.
|
||||
!
|
||||
! Good: ##.adv
|
||||
! Bad: example.org##.adv (should be in specific.txt)
|
||||
!
|
||||
!--- popular banner sizes ---
|
||||
##img[width="320"][height="50"]
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
!
|
||||
! This section contains the list of ad blocking rules that fall under "advanced" category.
|
||||
! By advanced we mean the following rule types: CSS, scriptlets, HTML filtering (`$$` marker), JS.
|
||||
!
|
||||
! Good: example.org#$##rek { display: none !important; }; example.org#%#//scriptlet('set-cookie', 'ad', '0'); example.org#%#document.cookie = "ad =0"; ; example.org$$script[tag-content="ad"][max-length="3000"].
|
||||
! Bad: example.org###rek (should be in specific.txt)
|
||||
!
|
||||
!-------------------
|
||||
!-------JS----------
|
||||
!-------------------
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
!
|
||||
! General URL(for apps only)
|
||||
! This section contains the list of generic blocking rules (mobile sites or apps).
|
||||
!
|
||||
! Good: .org/ads/
|
||||
! Bad: .org/ads/$domain=example.org (for instance, should be in speficic.txt)
|
||||
!
|
||||
!
|
||||
||s.*.com/pp.php?uid=$third-party
|
||||
.cn/?ss=
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
!
|
||||
! The content replacement rules
|
||||
! This section contains the list of the content replacement rules that block ads on mobile devices. Rules must be domain-specific.
|
||||
!
|
||||
! Good: ||example.org/video-links$replace=/vast":/vast_":/
|
||||
! Bad: ||example.org/video-links (should be in specific.txt)
|
||||
!
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/101976
|
||||
||content.jwplatform.com/players/*isAMP$replace=/"autostart": "viewable"/"autostart": ""/
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
!
|
||||
! Section contains rules for specific applications
|
||||
! This section contains the list of the base rules that block ads in mobile apps. Rules should be specific.
|
||||
!
|
||||
! Good: ||graph.facebook.com^$app=com.geumson.nookslist
|
||||
! Bad: ||graph.facebook.com^$third-party (should be in adservers.txt)
|
||||
!
|
||||
!
|
||||
! French-language catch-up TV mobile apps
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
!
|
||||
! Section contains rules for specific websites
|
||||
! This section contains the list of domain-specific rules that block ads on mobile devices.
|
||||
!
|
||||
! Good: example.org###rek; ||m.example.com/ads/
|
||||
! Bad: example.org#$##rek { display: none !important; } (for instance, should be in general_extensions.txt)
|
||||
!
|
||||
!
|
||||
! https://forum.adguard.com/index.php?threads/10464/
|
||||
||images-*.ssl-images-amazon.com/images/*/ape/sf/MAsf-*_.js
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
!
|
||||
! White list. Fixing filtration errors (false-positive)
|
||||
! This section contains the list of rules that fix incorrect blocking. Rules must be domain-specific.
|
||||
!
|
||||
! Good: example.org#@#.ad
|
||||
! Bad: @@||example.org^$stealth (should be in AdGuard Base - whitelist_stealth.txt)
|
||||
!
|
||||
!
|
||||
! ##### TEMPORARY START #####
|
||||
!
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
!
|
||||
! Содержит доменные имена, использующиеся рекламными сетями.
|
||||
! This section contains the list of third-party advertising networks domains.
|
||||
! Note, that we only put rules that block full domains here and not URL parts (there's `general_url.txt` for that). Also, it must be domains that are used in a third-party context.
|
||||
!
|
||||
! Good: ||doubleclick.net^$third-party
|
||||
! Bad: /banner.jpg (should be in general_url.txt)
|
||||
! Bad: ||adssubdomain.legitwebsite.com^ (should be in adservers_firstparty.txt)
|
||||
!
|
||||
!
|
||||
||adblocksosal.ru^$third-party
|
||||
||unhwav.com^
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
!
|
||||
! Section contains the list of advertising networks, which are hosted on non advertising sites as subdomains
|
||||
! This section contains the list of advertising networks domains, which are hosted on non advertising sites as subdomains.
|
||||
! Note, that we only put rules that block full subdomains here and not URL parts (there's `general_url.txt` for that).
|
||||
!
|
||||
! Good: ||ad.doubleclick.net^
|
||||
! Bad: /banner.jpg (should be in general_url.txt)
|
||||
! Bad: ||legitwebsite.com^$third-party (should be in adservers.txt)
|
||||
!
|
||||
!
|
||||
||t.sur.new.gorodkirov.ru^
|
||||
||dsp-eu.surfy.tech^
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
!
|
||||
! These rules are against all kinds of ad blocking reinjection/circumvention scripts
|
||||
! First of all, this section has common rules that prevent most known ad block detections. In that case domain should be added to the common rules.
|
||||
! The section contains the list of the rules are against all kinds of ads reinjection or ad-blocking circumvention scripts. If such a script does not cripple the website, we add rules to the Annoyances filter.
|
||||
! Rules should generally be domain-specific. In some exceptional cases, it's allowed to add generic ones, but this should be approved by most of the maintainers.
|
||||
!
|
||||
! Good: ||example.org/adblock/detect.js
|
||||
! Good: @@/adblocker/detect.js$domain=example.org
|
||||
! Bad: ||ad.doubleclick.net^ (should be in adservers.txt)
|
||||
!
|
||||
! AdBlocksBuilder
|
||||
.com/resources/draw_script.js$third-party
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
!
|
||||
! Extended CSS rules
|
||||
! This section contains the list of extended CSS rules against ads.
|
||||
! Note, that rules should be domain-specific and you have to use special syntax `#?#` instead of `##`.
|
||||
!
|
||||
! Good: example.org#?#main > div.row:has(> div.ad)
|
||||
! Bad: example.org##main > div.ad (should be in specific.txt)
|
||||
!
|
||||
! sdamgia.ru
|
||||
sdamgia.ru#?#center > script[src^="https://pagead2.googlesyndication.com/"]:upward(1)
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
!
|
||||
! CSS-правила, общие и применяемые на всех доменах.
|
||||
! Чем меньше мы сюда добавляем, тем лучше.
|
||||
! Именно из-за них рендеринг страницы работает медленнее.
|
||||
! This section contains generic element hiding rules that block ads.
|
||||
!
|
||||
! Good: ##.adv
|
||||
! Bad: example.org##.adv (should be in specific.txt)
|
||||
!
|
||||
!
|
||||
! Browsers ads
|
||||
##a[href^="https://ya-distrib.ru/r/"]
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
!
|
||||
! This section contains the list of ad blocking rules that fall under "advanced" category.
|
||||
! By advanced we mean the following rule types: CSS, scriptlets, HTML filtering (`$$` marker), JS.
|
||||
!
|
||||
! Good: example.org#$##rek { display: none !important; }; example.org#%#//scriptlet('set-cookie', 'ad', '0'); example.org#%#document.cookie = "ad =0"; ; example.org$$script[tag-content="ad"][max-length="3000"].
|
||||
! Bad: example.org###rek (should be in specific.txt)
|
||||
!
|
||||
!-----------------------
|
||||
!------- JS ------------
|
||||
!-----------------------
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
!
|
||||
! Секция содержит популярные имена баннеров или скриптов,
|
||||
! используемые для загрузки рекламы.
|
||||
! Пишем сюда все, что не содержит конкретного доменого имени.
|
||||
! This section contains the list of generic blocking rules.
|
||||
!
|
||||
! Примеры рекламных адресов. Возможно, в дальнейшем общие правила из них получатся
|
||||
! Good: .org/ads/
|
||||
! Bad: .org/ads/$domain=example.org (for instance, should be in speficic.txt)
|
||||
!
|
||||
!
|
||||
! Advertising URL Examples. Probably, we will do common rules from them.
|
||||
! http://b.povarenok.ru/show.php?placeid=*&zone=&rnd=*
|
||||
! http://twodrive.su/code/bshow.php?id=*&dimension=*&new_dimension=*
|
||||
! http://p.rclmc.top/*.html?b=*&x=4&y=1&s=25&c=*&ref=&prot=http&h=*&mkey=*&*
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
!
|
||||
! Новостные тизерки
|
||||
! This section contains the list of the base rules that block news teasers.
|
||||
!
|
||||
! Good: ||smi24.kz^$third-party
|
||||
! Bad: ||smi24.kz/banners/ (should be in specific.txt)
|
||||
!
|
||||
!
|
||||
||smi24.kz^$third-party
|
||||
||virtonnews.com^$third-party
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
!
|
||||
! The content replacement rules
|
||||
! This section contains the list of the content replacement rules that block ads. Rules must be domain-specific.
|
||||
!
|
||||
! Good: ||example.org/video-links$replace=/vast":/vast_":/
|
||||
! Bad: ||example.org/video-links (should be in specific.txt)
|
||||
!
|
||||
!
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/92400
|
||||
||kinoglobus.at.ua^$replace=/РЕКЛАМА:\s//
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
!
|
||||
! Правила специфичные для конкретных сайтов.
|
||||
! This section contains the list of domain-specific rules that block ads.
|
||||
!
|
||||
! Good: example.org###rek; ||example.com/ads/
|
||||
! Bad: example.org#$##rek { display: none !important; } (for instance, should be in general_extensions.txt)
|
||||
!
|
||||
!
|
||||
! Specific WS
|
||||
!
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
!
|
||||
! Белый список. Исправляем ошибки фильтрации.
|
||||
! This section contains the list of rules that fix incorrect blocking. Rules must be domain-specific.
|
||||
!
|
||||
! Good: example.org#@#.ad
|
||||
! Bad: @@||example.org^$stealth (should be in AdGuard Base - whitelist_stealth.txt)
|
||||
!
|
||||
!
|
||||
!
|
||||
!### Temporary ###
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
!
|
||||
! Extended CSS rules
|
||||
! This section contains the list of extended CSS rules against social widgets.
|
||||
! Note, that rules should be domain-specific and you have to use special syntax `#?#` instead of `##`.
|
||||
!
|
||||
! Good: example.org#?#main > div.row:has(> div.ad)
|
||||
! Bad: example.org##main > div.ad (should be in specific.txt)
|
||||
!
|
||||
elamigosedition.com#?#.sidebar > div.side-b:has(> div.side-t > span.fa-thumbs-up)
|
||||
ua-region.com.ua#?#.cart-company-full > div.d-flex:has(> div.main-info-sharing)
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user