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:
zloyden
2022-02-07 00:12:16 +03:00
committed by GitHub
parent 1ffdf069d9
commit e235602e9c
141 changed files with 837 additions and 130 deletions

View File

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

View File

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

View File

@@ -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 ################
!#######################################################

View File

@@ -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 ####################
!#######################################################

View File

@@ -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 #########
!#######################################################

View File

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

View File

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

View File

@@ -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 ########
!#######################################################

View File

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

View File

@@ -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")

View File

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

View File

@@ -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 #####################
!#######################################################

View File

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

View File

@@ -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 #########
!##############################

View File

@@ -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, #####

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -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=_

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -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)
!

View File

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

View File

@@ -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)
!
!

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -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; }

View File

@@ -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%"]

View File

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

View File

@@ -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 ######################
!

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View 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

View File

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

View File

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

View File

@@ -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)
!
!

View File

@@ -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)})}();

View File

@@ -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"]))

View File

@@ -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)
!

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -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)
!

View File

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

View File

@@ -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)
!
!

View File

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

View File

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

View File

@@ -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###
!###############

View File

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

View File

@@ -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; }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -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"]

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -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 #####
!

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -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=*&*

View File

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

View File

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

View File

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

View File

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

View File

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