linguist
linguist copied to clipboard
Add Adblock Filters language
Description
Adds Adblock Filters language. This syntax is used by filter lists for ad blockers (e.g. AdGuard, uBlock Origin, Adblock Plus). Almost all such lists are maintained on GitHub.
Checklist:
- [x] I am adding a new language.
- [x] The extension of the new language is used in hundreds of repositories on GitHub.com.
-
Please note that
.adblockextension is rarely used. Filter lists usually have.txtextension (maybe.txtheuristics required?). However, the syntax is used by many repositories:Show repositories (243)
https://github.com/51114u9/bolivia-ublockfilters https://github.com/abp-filters/abp-filters-anti-cv https://github.com/abp-filters/abp-filters-compliance https://github.com/abp-filters/abp-filters-hotfix https://github.com/abp-filters/abp-filters-mobile https://github.com/ABPindo/indonesianadblockrules https://github.com/abpvn/abpvn https://github.com/acnapyx/paywall-remover https://github.com/adblock-thai/thai-ads-filter https://github.com/adbyby/xwhyc-rules https://github.com/AdguardTeam/AdguardFilters (1.6K stars) https://github.com/AdguardTeam/AdGuardSDNSFilter https://github.com/AdguardTeam/FiltersRegistry https://github.com/akopachov/uBlock-AK-filter-rules https://github.com/andromedarabbit/List-KR https://github.com/anudeepND/blacklist https://github.com/anudeepND/youtubeadsblacklist https://github.com/AnXh3L0/blocklist https://github.com/anyuzu99/nothingblock https://github.com/arapurayil/aBL https://github.com/arichr/bakadvert https://github.com/austinhuang0131/0131-block-list https://github.com/Ayesh/Adblock-Sinhala https://github.com/B-Con/mute https://github.com/balupton/filters https://github.com/banbendalao/ADgk https://github.com/betterwebleon/international-list https://github.com/betterwebleon/slovenian-list https://github.com/bkazez/distractionblock https://github.com/BlackJack8/iOSAdblockList https://github.com/blocklistproject/Lists https://github.com/blogmangit/Cosmetic-Filters https://github.com/bmyjacks/adlists https://github.com/BPower0036/AdBlockFilters https://github.com/brave/adblock-lists https://github.com/brawdevtest/ioG-list https://github.com/brunomiguel/antinonio https://github.com/byaka/ublock-antiskimming-list https://github.com/caffeinewriter/DontPushMe https://github.com/catsxp/adblock-lists https://github.com/Cinnamon-Unltd/Anti-Kpop-Spammers-Filterlist-for-Twitter https://github.com/Circu1T-Bre4keR/My-rules-for-UMATRIX-and-UBLOCK-ORIGIN https://github.com/cjx82630/cjxlist https://github.com/ColumWalsh/unsullied https://github.com/cpeterso/clickbait-blocklist https://github.com/crazy-max/WindowsSpyBlocker https://github.com/Crystal-RainSlide/AdditionalFiltersCN https://github.com/cxw620/AdGuard-Rules https://github.com/Cybo1927/Hosts https://github.com/dagoll/filters-list https://github.com/DandelionSprout/adfilt https://github.com/DandelionSprout/adguard https://github.com/DandelionSprout/Swedish-List-for-Adblock-Plus https://github.com/danielnixon/no-comment https://github.com/DariusIurca/ROADBLK-EXTRA https://github.com/DavidYaacov/adblock_youtube_paid https://github.com/DeepSpaceHarbor/Macedonian-adBlock-Filters https://github.com/deletescape/noads https://github.com/dhowe/uAssets https://github.com/DoingDog/XXKiller https://github.com/dorjmi/nothingblock https://github.com/durablenapkin/scamblocklist https://github.com/duskwuff/syndicationblock https://github.com/EasyDutch-uBO/EasyDutch https://github.com/EasyList-Lithuania/easylist_lithuania https://github.com/easylist-thailand/easylist-thailand https://github.com/easylist/antiadblockfilters https://github.com/easylist/easylist (1.2K stars) https://github.com/easylist/easylistchina https://github.com/easylist/easylistdutch https://github.com/easylist/easylistgermany https://github.com/easylist/EasyListHebrew https://github.com/easylist/easylistitaly https://github.com/easylist/easylistportuguese https://github.com/easylist/easylistspanish https://github.com/easylist/KoreanList https://github.com/easylist/listear https://github.com/easylist/listefr https://github.com/easylist/ruadlist https://github.com/eEIi0A5L/adblock_filter https://github.com/eladkarako/hosts https://github.com/elypter/filter_processor https://github.com/elypter/generic_annoying_stickybar_filter https://github.com/emilstahl/blocklist https://github.com/endolith/clickbait https://github.com/evenxzero/Raajje-AdList https://github.com/examplecode/ad-rules-for-xbrowser https://github.com/farrokhi/adblock-iran https://github.com/festum/anti-bias-media https://github.com/FiltersHeroes/KAD https://github.com/FiltersHeroes/KADhosts https://github.com/FiltersHeroes/PolishAnnoyanceFilters https://github.com/FiltersHeroes/PolishAntiAnnoyingSpecialSupplement https://github.com/FiltersHeroes/PolishSocialCookiesFiltersDev https://github.com/finnish-easylist-addition/finnish-easylist-addition https://github.com/francis-zhao/quarklist https://github.com/ftpmorph/ftprivacy https://github.com/FutaGuard/FutaFilter https://github.com/gfmaster/adblock-korea-contrib https://github.com/gioxx/xfiles https://github.com/gwarser/filter-lists https://github.com/Hackl0us/AdBlock-Rules-Mirror https://github.com/Hakame-kun/uBlock-Filters-Indonesia https://github.com/hant0508/uBlock-filters https://github.com/hawkeye116477/FilterListsDarkMode https://github.com/haykam821/Blocklists https://github.com/hdd1013/AdBlockListSubKr https://github.com/hirorpt/filters https://github.com/hit3shjain/Andromeda-ublock-list https://github.com/hl2guide/All-in-One-Customized-Adblock-List https://github.com/hl2guide/Filterlist-for-AdGuard-or-PiHole https://github.com/hoshsadiq/adblock-nocoin-list (1.3K stars) https://github.com/hoshsadiq/blocked-hosts https://github.com/Hubird-au/Adversity https://github.com/hufilter/hufilter https://github.com/hufilter/hufilter-dev https://github.com/Hunter-Github/the-best-stack-overflow https://github.com/HuzunluArtemis/TurkishAdblockList https://github.com/hXR16F/uBlock-Origin-Lists https://github.com/iam-py-test/my_filters_001 https://github.com/iamashley0/topgg-ublock-filter https://github.com/IDKwhattoputhere/uBlock-Filters-Plus https://github.com/JanJastrow/blocked_domains https://github.com/jasonbarone/membership-app-block-list https://github.com/jbara2002/Melody-_Host https://github.com/jiayiming/jCleanList https://github.com/JohnyP36/Personal-List https://github.com/jwinnie/acceptable-ads https://github.com/k2jp/abp-japanese-filters https://github.com/K-mikaZ/new_approach_adb__1st https://github.com/kano1/I https://github.com/kano1/Kano https://github.com/kargig/greek-adblockplus-filter https://github.com/Karmesinrot/Anifiltrs https://github.com/kbinani/adblock-wikipedia https://github.com/kbinani/adblock-youtube-ads https://github.com/KCaglarCoskun/enur-filter-list https://github.com/Kees1958/WS3_annual_most_used_survey_blocklist https://github.com/kowith337/PersonalFilterListCollection https://github.com/kowith337/ThaiAntiForceLike https://github.com/kowith337/ThaiAntiTokenSites https://github.com/kowith337/ThaiParanoidBlock https://github.com/L33Tech/uLists https://github.com/LanikSJ/ubo-filters https://github.com/Larvit4r/Blocklists https://github.com/lassekongo83/Frellwits-filter-lists https://github.com/lilydjwg/abp-rules https://github.com/LinuxLowell/chat-annoyances https://github.com/List-KR/List-KR https://github.com/llacb47/miscfilters https://github.com/LordBadmintonofYorkshire/Overlay-Blocker https://github.com/loveqqzj/AdGuard https://github.com/luigimannoni/m5s-ublock-filter https://github.com/lutoma/nocomments https://github.com/Luzifer/browser-privacy https://github.com/maciejtarmas/AlleBlock https://github.com/MajkiIT/polish-ads-filter https://github.com/MajkiIT/polish-ads-filter#polish-filters-for-adblock-ublock-origin--adguard https://github.com/Manu1400/i-don-t-care-about-gotoup-btns https://github.com/Manu1400/i-don-t-care-about-newsletters https://github.com/masterinspire/Master-AdRules https://github.com/MasterKia/PersianBlocker https://github.com/mayve/private-adblock-filters https://github.com/medavox/uor https://github.com/mediumkreation/IndianList https://github.com/metaphoricgiraffe/tracking-filters https://github.com/migueldemoura/ublock-umatrix-rulesets https://github.com/mistalaba/popover-blocklist https://github.com/mitchellkrogza/Fail2Ban.WebExploits https://github.com/miyurusankalpa/adblock-list-sri-lanka https://github.com/mkb2091/blockconvert https://github.com/MonyaTechnik/themtfilters https://github.com/mtxadmin/ublock https://github.com/Nebula-Mechanica/Anti-AutoTranslation-List https://github.com/NeeEoo/AdBlockNeeEoo https://github.com/neodevpro/neodevhost https://github.com/nfer/easylistchina_it https://github.com/nicedirector/ADBlock https://github.com/Nickwasused/CleanSocialMedia https://github.com/nimasaj/uBOPa https://github.com/nmasse-itix/ITIX-uBlock-List https://github.com/notriddle/remove-fixed-banners https://github.com/oldprettyclementine/ad.blockthatshit https://github.com/olegwukr/polish-privacy-filters https://github.com/OmniMir/WebMonkey https://github.com/OsborneSystems/Columbia https://github.com/OwlStudioCN/owl-abp-rules https://github.com/Paxxs/Google-Blocklist https://github.com/ph00lt0/blocklist https://github.com/r4vi/block-the-eu-cookie-shit-list https://github.com/rafagale/ubo-static-blacklist https://github.com/RandomAdversary/Macedonian-adBlock-Filters https://github.com/RandomRhythm/LevelUpDomain https://github.com/readthedocs/ads-for-opensource https://github.com/realodix/AdBlockID https://github.com/rebelion76/bankiru_plus_adblock_list https://github.com/RedDragonWebDesign/block-everything https://github.com/reek/anti-adblock-killer https://github.com/reelsense/browser-scripts-tools https://github.com/Rpsl/adblock-leadgenerator-list https://github.com/Rudloff/adblock-imokwithcookies https://github.com/ryanbr/fanboy-adblock https://github.com/Sappurit/uBlock-Filters https://github.com/secretsnow/Ad-Filters https://github.com/seia-soto/filter-kr https://github.com/sioxe823/Project-RnJlRUhL https://github.com/sipp11/th_ad_filters https://github.com/SlashArash/adblockfa https://github.com/smed79/blacklist https://github.com/spiri-leo/spiri-list https://github.com/stamparm/maltrail https://github.com/T4Tea/ADPMobileFilter https://github.com/taylr/linkedinsanity https://github.com/tcptomato/ROad-Block https://github.com/TheCardinalSystem/Cruncyroll-Filter-List https://github.com/thedoggybrad/anti-gotoup-buttons https://github.com/theel0ja/CrapBlock https://github.com/thoughtconverge/abf https://github.com/ThuHtooSan/Burmese-Filter-List https://github.com/tofukko/filter https://github.com/tomasko126/easylistczechandslovak https://github.com/toshiya44/myAssets https://github.com/TPCTPCTPC/Adblock-gist https://github.com/troysjanda/MyBlockLists https://github.com/twcau/AdblockRules https://github.com/uBlock-user/uBO-Personal-Filters https://github.com/uBlockOrigin/uAssets https://github.com/unchartedsky/adguard-kr https://github.com/uniartisan/adblock_list https://github.com/UnluckyLuke/BlockUnderRadarJunk https://github.com/VernonStow/Filterlist https://github.com/vksbhagat/uBlock_filters-rules https://github.com/whtsky/abp-rules https://github.com/WhyIsEvery4thYearAlwaysBad/anti-cancer-filter-lists https://github.com/wiltteri/subscriptions https://github.com/xinggsf/Adblock-Plus-Rule https://github.com/YanFung/Ads https://github.com/yecarrillo/adblock-colombia https://github.com/yourduskquibbles/webannoyances https://github.com/yous/YousList https://github.com/Yuki2718/adblock https://github.com/Yumire/kiss-filters https://github.com/zonprox/adblock
-
Most popular repositories:
- https://github.com/uBlockOrigin/uAssets/tree/master/filters (2K stars)
- https://github.com/AdguardTeam/AdguardFilters (1.6K stars)
- https://github.com/hoshsadiq/adblock-nocoin-list (1.3K stars)
- https://github.com/easylist/easylist (1.3K stars)
-
Popular GitHub topics:
- https://github.com/topics/adblock-list (120 results)
- https://github.com/topics/ublock-list
- https://github.com/topics/ublock-origin-filters
- https://github.com/topics/ublock-filters-rules
- https://github.com/topics/adblock-plus
-
- [x] I have included a real-world usage sample for all extensions added in this PR:
- Sample source(s):
- https://github.com/scripthunter7/linguist/blob/bbbf4105ec160377abc213bd61afaa6539bedeb4/samples/Adblock%20Filter%20List/test_rules.txt
- Sample license(s): MIT
- Sample source(s):
- [x] I have included a syntax highlighting grammar: https://github.com/ameshkov/VscodeAdblockSyntax
- [x] I have updated the heuristics to distinguish my language from others using the same extension. https://github.com/scripthunter7/linguist/blob/0a2042081bf346ff5f0e85f5ea3f5ea98f5f117c/lib/linguist/heuristics.yml#L653-L655
- [x] The extension of the new language is used in hundreds of repositories on GitHub.com.
Related: https://github.com/ameshkov/VscodeAdblockSyntax/issues/48
Please note that .adblock extension is rarely used.
Yes, this means we can't add support for this extension.
Filter lists usually have .txt extension (maybe .txt heuristics required?).
This would probably be the best option, but you'll need to be quite careful with the heuristic to be sure you don't catch legit text files.
@lildude Thanks for the feedback! I'm still working on the regex. You can view the current state here: https://rubular.com/r/Q7XJYCSEzIi0Jk
I hope this length is still acceptable. I have tried to make the detection as accurate as possible in order to exclude false positive cases. Detailed explanation with examples:
Show details
\[(A|a)dblock (P|p)lus (\d\.?)+]- [Adblock Plus x.y] headers (not always present)
- Example:
[Adblock Plus 2.0]
! ?Version: ?\d{4,}- "Version" metadata (not always present)
- Example:
! Version: 202207120948 !Version: 202207120948
! ?Last modified: \d{2} [a-zA-Z]{3} \d{4}- "Last modified" metadata (not always present)
- Example:
! Last modified: 12 Jul 2022 09:48 UTC
! ?Expires:[^\n\(]+\(update frequency\)- "Expires" metadata (not always present)
- Example:
! Expires: 4 days (update frequency) ! Expires: 3 hours (update frequency)
! ?Homepage: https:\/\/- "Homepage" metadata (not always present)
- Example:
! Homepage: https://easylist.to/
\!#(if|include|endif|safari_cb_affinity)- Preprocessing directives (not always present and not all adblocker support it)
- Example:
!#if (adguard && !adguard_ext_safari) !#include https://example.org/ !#endif
##\+js\(- uBlock Origin scriptlet rule (not always present)
- Example:
example.org##+js(goyavelab-defuser.js)
##[^\:\n]*\:style\(- uBlock Origin CSS inject rule (not always present)
- Example:
example.org##.some-class > .another-class:style(padding-top: 1rem !important;)
(?<![\t ])(#@?#|#@?\?#|\$@?\$|##\^|#@?\$\?#|#@?%#|#@?\$#)[\w\.#\~\{\}\/\-\>\+\[\] ]+- [no space][separator][selector] (not always present)
- Separator cannot be preceded by a space (filtering out possible false positive cases)
- Separators (
@is the exception character):##/#?#(exception:#@#/#@?#): Element hiding rule$$(exception:$@$): AdGuard HTML filtering rule##^: uBlock HTML filtering rule#?#/#?$#: CSS injection rule (exception: #@?# / #@?$#)#%#: JavaScript rule (exception:#@%#)
- Examples:
! Hide .advert selector on all domains ##.advert ! Hide .advert selector on example.com and example.org (in this regex, I skipped domains) example.com,example.org##.advert - TODO: More strict
##separator?
!\+ ?NOT_OPTIMIZED- Hint directive (not always present)
- https://kb.adguard.com/en/general/how-to-create-your-own-ad-filters#not_optimized-hint
(@@)?\|\|(([a-z0-9|-]+\.)*[a-z0-9|-]+\.[a-z]+)\^?- Networking rules
- Examples:
! Block example.com ||example.com^ ||example.com ! Unblock example.com @@||example.com
((?<![\t \(])\$\~?((third|first)\-party|match\-case|important|domain\=|denyallow|elemhide|generichide|specifichide|genericblock|jsinject|urlblock|content|document|stealth|popup|empty|mp4|script|stylesheet|subdocument|object|image|xmlhttprequest|media|font|websocket|ping|webrtc|badfilter|csp|replace|cookie|redirect(-rule)?|remove(param|header)|app\=|network|extension|client\=|dnstype\=|dnsrewrite\=|ctag|xhr|inline-(script|font)|all|3p|1p|css|frame|ghide|ehide|shide|queryprune|popunder))[no (, no tab, no space]$[modifier] / [no (, no tab, no space]$~[modifier]- Rule modifiers (https://kb.adguard.com/en/general/how-to-create-your-own-ad-filters#modifiers) (not always present)
- I thought it better to list the possible modifiers here
- Examples:
! A rule to block requests that match the specified mask, and are sent from domain example.org or its subdomains. ||baddomain.com^$domain=example.org ! This rule is applied to domain.com, but not to the other domains. Example of a request that is not a third-party request: http://domain.com/icon.ico. ||domain.com$~third-party
I've been tempted to add support for AdBlock filters in the past. I decided against it for two reasons:
-
We're disambiguating against freeform text, which should be assumed to contain anything and everything; including examples of AdBlock filters in lengthier prose (think
README.txt). -
An accurate heuristic will have abysmal performance. Consider rules as complex as these:
about-drinks.com,familie.de,formel1.de,freenet.de,hifi-forum.de,kicker.de,β¦transfermarkt.*##+js(nostif, .call(null), 10) *.jpg$script,domain=allthingsvegas.com|aupetitparieur.com|bestfunnyjokes4u.com|cheatsheet.com|clashdaily.com|craigjames.com|designbump.com|grammarist.com|madworldnews.com|menrec.com|politicalcowboy.com|reviveusa.com|sonsoflibertymedia.com|thedesigninspiration.com|themattwalshblog.com|videogamesblogger.comNot only do we need to validate variable-length lists of domains and CSS selectors, we also have to run this validation against every single
.txtfile on GitHub. In pathological cases, this can have a noticeable impact on performance.
Hopefully these reasons double as a PSA for any aspiring language-designers to avoid using the .txt extension for their new file-formats. π
We're disambiguating against freeform text, which should be assumed to contain anything and everything; including examples of AdBlock filters in lengthier prose (think README.txt).
I don't know how many files this issue can affect. I assume this number is very low.
An accurate heuristic will have abysmal performance. Consider rules as complex as these
Currently I only validate "obvious" parts, like ##^script / ##+js( and I think the chance that legit txt files do contain such data is quite low. In my opinion, we don't need to validate the entire file (eg CSS selectors). See https://rubular.com/r/7vMkdzGVsqu8dV
Not only do we need to validate variable-length lists of domains and CSS selectors, we also have to run this validation against every single .txt file on GitHub.
Hopefully these reasons double as a PSA for any aspiring language-designers to avoid using the .txt extension for their new file-formats. π
That's why I didn't want to approach it from the side of heuristics in the first round, but the .adblock extension is rarely used :confused: My other idea was the manual override, see my first comment on this topic: https://github.com/ameshkov/VscodeAdblockSyntax/issues/48#issue-1269148703 It can also be an option that only the very clear things are included in the regex, e.g. header metadata, and in the remaining cases a manual override must be added to some repositories. Overall, the language is in active use on GitHub. What do you think would be a good solution?
but the .adblock extension is rarely used
No, I'm not talking about the .adblock extension. I'm referring to the use of .txt for storing AdBlock filter rules (which currently appears to be the norm; see uBlockOrigin's lists for an example). Heuristics are only used when Linguist is classifying a file whose extension is shared by two or more languages. So they won't be needed for an .adblock extension, since it's not in-use by another language; for .txt, however, the heuristics will be run on everything with a .txt extension.
Overall, the language is in active use on GitHub. What do you think would be a good solution?
Yes, and I'd very much like to see it supported. Unfortunately, this is one of those annoying scenarios where there isn't an easy and efficient solution. Short of evangelising use of the .adblock extension on GitHub, I mean.
Heuristics are only used when Linguist is classifying a file whose extension is shared by two or more languages.
Oh, I think we misunderstood each other :) I just mentoined the .adblock extension because it could create a "new standard" in the future (because of syntax highlight) and in this case we don't need to apply complex heuristics for all txt files. But since the extension is rarely used, it cannot be included here. Stalemate π
Considering these facts, only the heuristic remains, but it still needs to be developed further in order to function as accurately and optimally as possible.
I made the requested changes.
@lildude @Alhadis
I have a slightly different idea in order to solve this situation. It is enough to examine only the beginning of the txt files. Thus, false positive detection is completely excluded, and there will be no problems with the performance either.
There are two main cases:
- File starts with
[adblocker_name]or[adblocker_name adblocker_version]-
Possible adblocker names:
AdBlock,Adblock Plus,AdGuard,uBlock/uBlock Origin -
Examples:
Show examples
[Adblock Plus 2.0][Adblock Plus 2.5.5],[uBlock Origin 1.0.0.0][AdGuard 1.0][AdBlock]- Special versions:
- Combination:
[Adblock Plus 2.0; AdGuard 1.0] - As a comment:
! [uBlock Origin],# [uBlock Origin 2.0]
- Combination:
-
Heuristics:
\A((!|#)\s?)?\[(((A|a)d(b|B)lock(\s(P|p)lus)?)|(u(B|b)lock(\s(O|o)rigin)?)|(A|a)d(G|g)uard)(\s(\d+(\.(?=\d))?)+)?(\s?;\s?(((A|a)d(b|B)lock(\s(P|p)lus)?)|(u(B|b)lock(\s(O|o)rigin)?)|(A|a)d(G|g)uard)(\s(\d+(\.(?=\d))?)+)?)*\]
-
- File starts with metadata comments:
-
Possible metadata fields:
Title,Expires,Homepage,License/Licence,Version,Last modified/Time updated,Checksum -
Examples:
Show examples
- At least 2 metadata are required - due to the exclusion of false positive detections
-
! Version: 202207281320 ! Title: EasyList ! Last modified: 28 Jul 2022 13:20 UTC ! Expires: 4 days (update frequency) ! Homepage: https://easylist.to/ ! Licence: https://easylist.to/pages/licence.html -
! Title: EasyList ! Version: 202207281320 -
# Title: EasyList # Version: 202207281320 -
! Title: Adware Filter Block ! Homepage: https://github.com/kano1/I/master/adware.txt -
! -------------------------------------- ! Some comment ! Title: Adware Filter Block ! Homepage: https://github.com/kano1/I/master/adware.txt ! Other irrelevant comment ! ... -
# -------------------------------------- # Some comment # Title: Adware Filter Block # Homepage: https://github.com/kano1/I/master/adware.txt # Other irrelevant comment # ... -
! -------------------------------------- ! Some comment ! Title: Adware Filter Block ! This line followed by the second metadata ! Homepage: https://github.com/kano1/I/master/adware.txt ! Other irrelevant comment ! ... - Invalid examples:
-
! At least 2 metadata are required ! Title: test title -
! Title: test title some-adblock-rule ! Version: Another metadata -
! Newline is required after the last metadata ! Title: EasyList ! Version: 202207281320
-
-
Heuristics:
\A(\[[^\]]*\]\r?\n)?(((!|#)[^\r?\n]*\r?\n)|\r?\n)*(!|#)\s(Version|Title|Checksum|Last\s(M|m)odified|Time\s(U|u)pdated|Expires|Homepage|Licen(c|s)e):\s[^\r?\n]+\r?\n(?=((((!|#)[^\r?\n]*\r?\n)|\r?\n)*(!|#)\s(Version|Title|Checksum|Last\s(M|m)odified|Time\s(U|u)pdated|Expires|Homepage|Licen(c|s)e):\s[^\r?\n]+\r?\n))
-
Requirements
I've collected the required 200 unique repositories that contain such files:
Show file links (205)
https://github.com/0ld/adblock-plus-2ch-ban/blob/master/ban.txt https://github.com/02030pllolipop/Rules-after-famlam-redundantRuleChecker/blob/master/Big_mixtures_%26_breakdowns/A2.txt https://github.com/abpvn/abpvn/blob/master/filter/abpvn.txt https://github.com/acnapyx/paywall-remover/blob/master/paywall-remover-anon.txt https://github.com/adblockplus/python-abp/blob/master/tests/data/filterlist.txt https://github.com/AdguardTeam/FiltersRegistry/blob/master/filters/ThirdParty/filter_112_ListeAR/filter.txt https://github.com/andromedarabbit/List-KR/blob/master/filter.txt https://github.com/annon79/Blockzilla/blob/master/Blockzilla.txt https://github.com/AnXh3L0/blocklist/blob/master/personal.txt https://github.com/anyuzu99/nothingblock/blob/main/filter.txt https://github.com/arapurayil/aBL/blob/main/filters/nsfw.txt https://github.com/arichr/bakadvert/blob/main/filters.txt https://github.com/ATErBion/adblock-mylist/blob/master/lichost.txt https://github.com/austinhuang0131/0131-block-list/blob/master/list.txt https://github.com/Ayesh/Adblock-Sinhala/blob/master/filters.txt https://github.com/B-Con/mute/blob/master/mute.txt https://github.com/balupton/filters/blob/master/filter-activism.txt https://github.com/banbendalao/ADgk/blob/master/kill-baidu-ad.txt https://github.com/bbondy/abp-filter-parser/blob/master/test/data/easylist.txt https://github.com/betterwebleon/international-list/blob/master/filters.txt https://github.com/betterwebleon/slovenian-list/blob/master/filters.txt https://github.com/bkazez/distractionblock/blob/master/distractionblock.txt https://github.com/blocklistproject/Lists/blob/master/adguard/redirect-ags.txt https://github.com/bmyjacks/adlists/blob/master/filter-registry/EasyPrivacy.txt https://github.com/BPower0036/AdBlockFilters/blob/main/EasyDutch.txt https://github.com/brave/adblock-lists/blob/master/coin-miners.txt https://github.com/brawdevtest/ioG-list/blob/main/Filters/ioG.txt https://github.com/bremich/Blocklists/blob/master/ublock/annoyances.txt https://github.com/brunomiguel/antinonio/blob/master/antinonio.txt https://github.com/byaka/ublock-antiskimming-list/blob/master/build/data.txt https://github.com/caffeinewriter/DontPushMe/blob/master/filterlist.txt https://github.com/Cinnamon-Unltd/Anti-Kpop-Spammers-Filterlist-for-Twitter/blob/main/AntiKPopSpammersFilterlistTwitter.txt https://github.com/cjx82630/cjxlist/blob/master/cjx-annoyance.txt https://github.com/cpeterso/clickbait-blocklist/blob/master/clickbait-blocklist.txt https://github.com/Crystal-RainSlide/AdditionalFiltersCN/blob/master/RainSlide.txt https://github.com/cxw620/AdGuard-Rules/blob/main/wjx-AdGuard.txt https://github.com/Cybo1927/Hosts/blob/master/DNS%20Hosts https://github.com/dagoll/filters-list/blob/master/dagoll-filters-list.txt https://github.com/DandelionSprout/adfilt/blob/master/Anti-IMDB%20List.txt https://github.com/DandelionSprout/Swedish-List-for-Adblock-Plus/blob/main/Swedish%20List%20for%20Adblock%20Plus.txt https://github.com/DavidYaacov/adblock_youtube_paid/blob/master/youtube_paid_blocker.txt https://github.com/DeepSpaceHarbor/Macedonian-adBlock-Filters/blob/master/Filters https://github.com/durablenapkin/scamblocklist/blob/master/adguard.txt https://github.com/EasyDutch-uBO/EasyDutch/blob/main/EasyDutch.txt https://github.com/EasyList-Lithuania/easylist_lithuania/blob/master/easylistlithuania.txt https://github.com/easylist-thailand/easylist-thailand/blob/master/subscription/easylist-thailand.txt https://github.com/easylist/easylistchina/blob/master/easylistchina.txt https://github.com/easylist/easylistdutch/blob/master/easylistdutch.txt https://github.com/easylist/EasyListHebrew/blob/master/EasyListHebrew.txt https://github.com/easylist/listear/blob/master/Liste_AR.txt https://github.com/easylist/listefr/blob/master/liste_fr.txt https://github.com/easylist/ruadlist/blob/master/advblock.txt https://github.com/eEIi0A5L/adblock_filter/blob/master/ichigo_filter.txt https://github.com/elypter/filter_processor/blob/master/sources/header.txt https://github.com/elypter/generic_annoying_stickybar_filter/blob/master/generic_header_list.txt https://github.com/endolith/clickbait/blob/master/clickbait.txt https://github.com/ethanlevine/abp/blob/master/list.txt https://github.com/evenxzero/Raajje-AdList/blob/master/filter.txt https://github.com/examplecode/ad-rules-for-xbrowser/blob/master/core-rule-cn.txt https://github.com/farrokhi/adblock-iran/blob/master/additional-trackers.txt https://github.com/FiltersHeroes/KAD/blob/master/KAD.txt https://github.com/FiltersHeroes/PolishAnnoyanceFilters/blob/master/PAF_newsletters.txt https://github.com/FiltersHeroes/PolishAntiAnnoyingSpecialSupplement/blob/master/polish_rss_filters.txt https://github.com/FiltersHeroes/PolishSocialCookiesFiltersDev/blob/master/adblock_social_filters/adblock_social_list.txt https://github.com/finnish-easylist-addition/finnish-easylist-addition/blob/master/Finland_adb.txt https://github.com/francis-zhao/quarklist/blob/master/dist/quarklist.txt https://github.com/FutaGuard/LowTechFilter/blob/master/filter.txt https://github.com/GamerGate/Adblock-Plus-filter-list/blob/master/GG-ABP.txt https://github.com/gfmaster/adblock-korea-contrib/blob/master/filter.txt https://github.com/gioxx/xfiles/blob/master/filtri.txt https://github.com/gwarser/filter-lists/blob/master/my-filters.txt https://github.com/Hackl0us/AdBlock-Rules-Mirror/blob/master/I-dont-care-about-cookies.txt https://github.com/Hakame-kun/uBlock-Filters-Indonesia/blob/master/uBlock%20Indo/ubindo.txt https://github.com/hant0508/uBlock-filters/blob/master/filters.txt https://github.com/hawkeye116477/FilterListsDarkMode/blob/master/DarkFilterLists.txt https://github.com/haykam821/Blocklists/blob/master/mmo.txt https://github.com/hdd1013/AdBlockListSubKr/blob/master/filter.txt https://github.com/HexxiumCreations/threat-list/blob/gh-pages/hexxiumthreatlist.txt https://github.com/hit3shjain/Andromeda-ublock-list/blob/master/hosts.txt https://github.com/hl2guide/All-in-One-Customized-Adblock-List/blob/master/aio.txt https://github.com/hoshsadiq/adblock-nocoin-list/blob/master/nocoin.txt https://github.com/hoshsadiq/blocked-hosts/blob/master/blocked-search-domains.txt https://github.com/Hubird-au/Adversity/blob/master/Adversity.txt https://github.com/hufilter/hufilter-dev/blob/master/sections/headers/adblock-plus.txt https://github.com/hufilter/hufilter/blob/master/hufilter-abp.txt https://github.com/HuzunluArtemis/TurkishAdblockList/blob/main/src/ElementalList.txt https://github.com/iam-py-test/my_filters_001/blob/main/antimalware.txt https://github.com/IDKwhattoputhere/uBlock-Filters-Plus/blob/master/uBlock-Filters-Plus.txt https://github.com/jasonbarone/membership-app-block-list/blob/master/membership-app-block-list.txt https://github.com/jiayiming/jCleanList/blob/master/jCleanList_all.txt https://github.com/JinsongVan/chinalist/blob/master/china_mobile_list.txt https://github.com/JohnyP36/Personal-List/blob/main/Personal%20List%20(uBo).txt https://github.com/jwinnie-the-great/acceptable-ads/blob/master/filters.txt https://github.com/k2jp/abp-japanese-filters/blob/master/abp_jp_3rd_party_SNS.txt https://github.com/K-mikaZ/new_approach_adb__1st/blob/master/KmZ_filters.txt https://github.com/kano1/I/blob/master/adware.txt https://github.com/kano1/Kano/blob/master/Spyware.txt https://github.com/Karcsy/MyAddBlock/blob/master/MyADBlockKarcsy.txt https://github.com/kargig/greek-adblockplus-filter/blob/master/void-gr-filters.txt https://github.com/Karmesinrot/Anifiltrs/blob/master/Anifltrs.txt https://github.com/kbinani/adblock-wikipedia/blob/master/signed.txt https://github.com/kbinani/adblock-youtube-ads/blob/master/signed.txt https://github.com/KCaglarCoskun/enur-filter-list/blob/master/enur-filter-list.txt https://github.com/Kees1958/W3C_annual_most_used_survey_blocklist/blob/master/URL_tracking_parameters https://github.com/kowith337/PersonalFilterListCollection/blob/master/filterlist/Combi-FacebookTotalAwareness-Safe.txt https://github.com/kowith337/ThaiAntiForceLike/blob/master/AntiForceLike.txt https://github.com/kowith337/ThaiAntiTokenSites/blob/master/AntiPumpSites.txt https://github.com/kowith337/ThaiParanoidBlock/blob/master/ThaiParanoid.txt https://github.com/LanikSJ/ubo-filters/blob/main/filters/adback-domains.txt https://github.com/Larvit4r/Blocklists/blob/master/TLD-Blacklist.txt https://github.com/lassekongo83/Frellwits-filter-lists/blob/master/emoji-filter.txt https://github.com/leetfin/uLists/blob/master/Lists/RedditBlockList.txt https://github.com/leotse/abp/blob/master/abp.txt https://github.com/lifegpc/myabplist/blob/master/bili.txt https://github.com/lilydjwg/abp-rules/blob/master/annoyance.txt https://github.com/LinuxLowell/chat-annoyances/blob/master/chat-annoyances.txt https://github.com/List-KR/List-KR/blob/master/filter.txt https://github.com/llacb47/miscfilters/blob/master/antipaywall.txt https://github.com/LordBadmintonofYorkshire/Overlay-Blocker/blob/master/blocklist.txt https://github.com/loveqqzj/AdGuard/blob/master/Mobile.txt https://github.com/lutoma/nocomments/blob/master/abp.txt https://github.com/Luzifer/browser-privacy/blob/master/filters.txt https://github.com/maciejtarmas/AlleBlock/blob/master/alleblock.txt https://github.com/MajkiIT/polish-ads-filter/blob/master/cookies_filters/adblock_cookies.txt https://github.com/Manu1400/i-don-t-care-about-gotoup-btns/blob/master/list-gotoup-btns.txt https://github.com/Manu1400/i-don-t-care-about-newsletters/blob/master/adp.txt https://github.com/masterinspire/filter-lists/blob/main/filter-lists.txt https://github.com/MasterKia/PersianBlocker/blob/main/PersianBlocker.txt https://github.com/mayve/private-adblock-filters/blob/master/Adblock_List.txt https://github.com/medavox/uor/blob/master/rules.txt https://github.com/metaphoricgiraffe/tracking-filters/blob/master/trackingfilters.txt https://github.com/migueldemoura/ublock-umatrix-rulesets/blob/master/uBlock/list https://github.com/mistalaba/popover-blocklist/blob/master/blocklist.txt https://github.com/miyurusankalpa/adblock-list-sri-lanka/blob/master/lkfilter.txt https://github.com/mkb2091/blockconvert/blob/master/output/adblock.txt https://github.com/MonyaTechnik/themtfilters/blob/main/blkfckads/blkfckads.txt https://github.com/mtxadmin/ublock/blob/master/it https://github.com/Nebula-Mechanica/Anti-AutoTranslation-List/blob/master/anti-autotranslation-list.txt https://github.com/NeeEoo/AdBlockNeeEoo/blob/master/List.txt https://github.com/nfer/easylistchina_it/blob/master/easylistchina_it.txt https://github.com/nicedirector/ADBlock/blob/master/Adblock_Filter.txt https://github.com/nimasaj/uBOPa/blob/master/uBOPa.txt https://github.com/nmasse-itix/ITIX-uBlock-List/blob/master/ITIX.txt https://github.com/notriddle/remove-fixed-banners/blob/master/filters.txt https://github.com/nyancrimew/noads/blob/master/lists/unbreak.txt https://github.com/olegwukr/polish-privacy-filters/blob/master/adblock.txt https://github.com/OmniMir/WebMonkey/blob/master/uBlock.txt https://github.com/OsborneSystems/Columbia/blob/master/Columbia.txt https://github.com/pauliuszaleckas/BeReklamos/blob/master/bereklamos.txt https://github.com/ph00lt0/blocklist/blob/master/rpz-blocklist.txt https://github.com/Placidina/adb-list/blob/master/adb-list.txt https://github.com/r4vi/block-the-eu-cookie-shit-list/blob/master/filterlist.txt https://github.com/rafagale/ubo-static-blacklist/blob/master/rafa-ublock-blacklist.txt https://github.com/realodix/AdBlockID/blob/master/output/adblockid.txt https://github.com/rebelion76/bankiru_plus_adblock_list/blob/master/bankiru_plus.txt https://github.com/RedDragonWebDesign/block-everything/blob/master/block-everything.txt https://github.com/reek/anti-adblock-killer/blob/master/anti-adblock-killer-filters.txt https://github.com/reelsense/browser-scripts-tools/blob/master/fagbs/fagbs-domain-malvertising.txt https://github.com/rlaskey/block/blob/main/block.txt https://github.com/Rpsl/adblock-leadgenerator-list/blob/master/list/list.txt https://github.com/Rudloff/adblock-imokwithcookies/blob/master/filters.txt https://github.com/ryanbr/fanboy-adblock/blob/master/fanboy-anticomments.txt https://github.com/salimkayabasi/adblock-plus-personal-filters/blob/master/list.txt https://github.com/Sappurit/uBlock-Filters/blob/master/Sappurit%20-%20Hide%20Facebook%20Annoyances%20(New%20Layout) https://github.com/secretsnow/Ad-Filters/blob/master/Ad%20Filters.txt https://github.com/seia-soto/filter-kr/blob/master/filter.txt https://github.com/sipp11/th_ad_filters/blob/master/th_list.txt https://github.com/SlashArash/adblockfa/blob/master/adblockfa.txt https://github.com/smed79/blacklist/blob/master/abp.txt https://github.com/spiri-leo/spiri-list/blob/main/blocklists/block_ads/adblock.txt https://github.com/szepeviktor/lean-filter/blob/master/leanfilter.txt https://github.com/T4Tea/ADPMobileFilter/blob/master/ADPMobileFilter.txt https://github.com/taylr/linkedinsanity/blob/master/linkedinsanity.txt https://github.com/tcptomato/ROad-Block/blob/master/road-block-filters.txt https://github.com/thedoggybrad/anti-gotoup-buttons/blob/master/filter.txt https://github.com/theel0ja/CrapBlock/blob/master/personal.txt https://github.com/thoughtconverge/abf/blob/master/abf.txt https://github.com/ThuHtooSan/Burmese-Filter-List/blob/main/filterlist.txt https://github.com/timmc/abp/blob/master/standard.txt https://github.com/tknr/adblock-plus-japanese-filter/blob/master/abp_jp.txt https://github.com/tofukko/filter/blob/master/Adblock_Plus_list.txt https://github.com/tomasko126/easylistczechandslovak/blob/master/filters.txt https://github.com/toshiya44/myAssets/blob/master/filters-exp.txt https://github.com/troysjanda/MyBlockLists/blob/master/removeprams.txt https://github.com/uBlock-user/uBO-Personal-Filters/blob/master/uPF.txt https://github.com/uBlockOrigin/uAssets/blob/master/filters/annoyances.txt https://github.com/ufesbr/list_adblock/blob/master/surf_list.txt https://github.com/uniartisan/adblock_list/blob/master/adblock_lite.txt https://github.com/UnluckyLuke/BlockUnderRadarJunk/blob/master/blockunderradarjunk-list.txt https://github.com/vastep/adbp/blob/master/filter.txt https://github.com/VernonStow/Filterlist/blob/master/Filterlist.txt https://github.com/wenketel/chinalist/blob/master/adblock-lazy.txt https://github.com/whtsky/abp-rules/blob/master/rules.txt https://github.com/WhyIsEvery4thYearAlwaysBad/anti-cancer-filter-lists/blob/master/anti_satirical_news.txt https://github.com/wiltteri/subscriptions/blob/master/wiltteri-reborn.txt https://github.com/xinggsf/Adblock-Plus-Rule/blob/master/mv.txt https://github.com/YanFung/Ads/blob/master/Mobile https://github.com/yecarrillo/adblock-colombia/blob/master/adblock_co.txt https://github.com/yourduskquibbles/webannoyances/blob/master/ultralist.txt https://github.com/yous/YousList/blob/master/youslist.txt https://github.com/Yuki2718/adblock/blob/master/adguard/anti-antiadb.txt https://github.com/Yumire/kiss-filters/blob/master/filters.txt https://github.com/Zereao/AD_Rules/blob/master/Program%20Engineer%20List.txt https://github.com/zonprox/adblock/blob/master/abpadv.txt https://raw.githubusercontent.com/FiltersHeroes/KADhosts/master/KADhosts.txt
I only selected one file from each repo, the number of these files is higher.
Suggested language name
The name of the language could be "Adblock Filter List".
What do you think about this? :)
It is enough to examine only the beginning of the txt files.
No, it isn't. For a start, an Adblock filter list can begin with a comment or a blank line (and many do). Second, this approach is extremely hit-and-miss: it's matching free-form text that, while common, isn't guaranteed to be present.
Honestly, I think the only real solution would be to submit an RFC to ABP / uBlock proposing that ad-block extensions migrate to a standardised file extension (say, .adblock). If upstream decides it's a good idea, we can monitor the extension for usage and revisit this PR once the proposed extension has sufficient usage.
I know how much of a pain-in-the-arse that would be, but trust me, it's a more realistic solution than what we're trying to do. Trust me.
\A(\[[^\]]*\]\r?\n)?β¦
Tip: Instead of \r?\n, you can use \R instead (which matches a logical newline: \r\n, \n, or \r).
(Mnemonic: "Real newline")
The name of the language could be "Adblock Filter List".
What do you think about this? :)
Fine, but be sure to include aliases for the shorter forms:
aliases:
- ad block filters
- ad block
@Alhadis
I totally agree with you on that a custom extension would be the best solution for this situation. But the trouble is, it's a lot of work to rename these files, and in the beginning (perhaps for months or years) nothing would change because of this. Not to mention that the subscription url of the lists would change.
The "adblock agent" ([Adblock Plus x.y], [uBlock x.y] / [uBlock Origin x.y], [AdGuard x.y], [Adblock Plus x.y; AdGuard x.y]) can be considered almost standard. If you look at the txt files linked in my previous comment, you can see that most of them start with this "agent". I think the remaining cases can be solved by opening issues or pull requests. This can be clearly detected by heuristics. In addition, this agent promotes better compatibility. What do you think about this opportunity? Considering the circumstances, this seems to me to be the most optimal solution for everyone. :slightly_smiling_face:
I would like to see the full usage statistics, but unfortunately, the search engine doesn't allow to use special characters (e.g [, .).
I collected more links, manually. I also modified the heuristics so it only detects files that starts with the "adblock agent". I think false positive detection is 100% excluded, and the heuristics are also fast.
The heuristics: https://github.com/scripthunter7/linguist/blob/0a2042081bf346ff5f0e85f5ea3f5ea98f5f117c/lib/linguist/heuristics.yml#L653-L655
File downloader (+ unique links):
Show script (contains 279 links)
wget "https://raw.githubusercontent.com/0ld/adblock-plus-2ch-ban/master/ban.txt"
wget "https://raw.githubusercontent.com/02030pllolipop/Rules-after-famlam-redundantRuleChecker/master/Big_mixtures_%26_breakdowns/A2.txt"
wget "https://raw.githubusercontent.com/abpvn/abpvn/master/filter/abpvn.txt"
wget "https://raw.githubusercontent.com/acnapyx/paywall-remover/master/paywall-remover-anon.txt"
wget "https://raw.githubusercontent.com/AdguardTeam/FiltersRegistry/master/filters/ThirdParty/filter_112_ListeAR/filter.txt"
wget "https://raw.githubusercontent.com/andromedarabbit/List-KR/master/filter.txt"
wget "https://raw.githubusercontent.com/annon79/Blockzilla/master/Blockzilla.txt"
wget "https://raw.githubusercontent.com/AnXh3L0/blocklist/master/personal.txt"
wget "https://raw.githubusercontent.com/anyuzu99/nothingblock/main/filter.txt"
wget "https://raw.githubusercontent.com/arapurayil/aBL/main/filters/nsfw.txt"
wget "https://raw.githubusercontent.com/arichr/bakadvert/main/filters.txt"
wget "https://raw.githubusercontent.com/ATErBion/adblock-mylist/master/lichost.txt"
wget "https://raw.githubusercontent.com/austinhuang0131/0131-block-list/master/list.txt"
wget "https://raw.githubusercontent.com/Ayesh/Adblock-Sinhala/master/filters.txt"
wget "https://raw.githubusercontent.com/B-Con/mute/master/mute.txt"
wget "https://raw.githubusercontent.com/balupton/filters/master/filter-activism.txt"
wget "https://raw.githubusercontent.com/banbendalao/ADgk/master/kill-baidu-ad.txt"
wget "https://raw.githubusercontent.com/bbondy/abp-filter-parser/master/test/data/easylist.txt"
wget "https://raw.githubusercontent.com/betterwebleon/international-list/master/filters.txt"
wget "https://raw.githubusercontent.com/betterwebleon/slovenian-list/master/filters.txt"
wget "https://raw.githubusercontent.com/bkazez/distractionblock/master/distractionblock.txt"
wget "https://raw.githubusercontent.com/blocklistproject/Lists/master/adguard/redirect-ags.txt"
wget "https://raw.githubusercontent.com/bmyjacks/adlists/master/filter-registry/EasyPrivacy.txt"
wget "https://raw.githubusercontent.com/BPower0036/AdBlockFilters/main/EasyDutch.txt"
wget "https://raw.githubusercontent.com/brave/adblock-lists/master/coin-miners.txt"
wget "https://raw.githubusercontent.com/brawdevtest/ioG-list/main/Filters/ioG.txt"
wget "https://raw.githubusercontent.com/bremich/Blocklists/master/ublock/annoyances.txt"
wget "https://raw.githubusercontent.com/brunomiguel/antinonio/master/antinonio.txt"
wget "https://raw.githubusercontent.com/byaka/ublock-antiskimming-list/master/build/data.txt"
wget "https://raw.githubusercontent.com/caffeinewriter/DontPushMe/master/filterlist.txt"
wget "https://raw.githubusercontent.com/Cinnamon-Unltd/Anti-Kpop-Spammers-Filterlist-for-Twitter/main/AntiKPopSpammersFilterlistTwitter.txt"
wget "https://raw.githubusercontent.com/cjx82630/cjxlist/master/cjx-annoyance.txt"
wget "https://raw.githubusercontent.com/cpeterso/clickbait-blocklist/master/clickbait-blocklist.txt"
wget "https://raw.githubusercontent.com/Crystal-RainSlide/AdditionalFiltersCN/master/RainSlide.txt"
wget "https://raw.githubusercontent.com/cxw620/AdGuard-Rules/main/wjx-AdGuard.txt"
wget "https://raw.githubusercontent.com/dagoll/filters-list/master/dagoll-filters-list.txt"
wget "https://raw.githubusercontent.com/DandelionSprout/adfilt/master/Anti-IMDB%20List.txt"
wget "https://raw.githubusercontent.com/DandelionSprout/Swedish-List-for-Adblock-Plus/main/Swedish%20List%20for%20Adblock%20Plus.txt"
wget "https://raw.githubusercontent.com/DavidYaacov/adblock_youtube_paid/master/youtube_paid_blocker.txt"
wget "https://raw.githubusercontent.com/durablenapkin/scamblocklist/master/adguard.txt"
wget "https://raw.githubusercontent.com/EasyDutch-uBO/EasyDutch/main/EasyDutch.txt"
wget "https://raw.githubusercontent.com/EasyList-Lithuania/easylist_lithuania/master/easylistlithuania.txt"
wget "https://raw.githubusercontent.com/easylist-thailand/easylist-thailand/master/subscription/easylist-thailand.txt"
wget "https://raw.githubusercontent.com/easylist/easylistchina/master/easylistchina.txt"
wget "https://raw.githubusercontent.com/easylist/easylistdutch/master/easylistdutch.txt"
wget "https://raw.githubusercontent.com/easylist/EasyListHebrew/master/EasyListHebrew.txt"
wget "https://raw.githubusercontent.com/easylist/listear/master/Liste_AR.txt"
wget "https://raw.githubusercontent.com/easylist/listefr/master/liste_fr.txt"
wget "https://raw.githubusercontent.com/easylist/ruadlist/master/advblock.txt"
wget "https://raw.githubusercontent.com/eEIi0A5L/adblock_filter/master/ichigo_filter.txt"
wget "https://raw.githubusercontent.com/elypter/filter_processor/master/sources/header.txt"
wget "https://raw.githubusercontent.com/elypter/generic_annoying_stickybar_filter/master/generic_header_list.txt"
wget "https://raw.githubusercontent.com/endolith/clickbait/master/clickbait.txt"
wget "https://raw.githubusercontent.com/ethanlevine/abp/master/list.txt"
wget "https://raw.githubusercontent.com/evenxzero/Raajje-AdList/master/filter.txt"
wget "https://raw.githubusercontent.com/examplecode/ad-rules-for-xbrowser/master/core-rule-cn.txt"
wget "https://raw.githubusercontent.com/farrokhi/adblock-iran/master/additional-trackers.txt"
wget "https://raw.githubusercontent.com/FiltersHeroes/KAD/master/KAD.txt"
wget "https://raw.githubusercontent.com/FiltersHeroes/PolishAnnoyanceFilters/master/PAF_newsletters.txt"
wget "https://raw.githubusercontent.com/FiltersHeroes/PolishAntiAnnoyingSpecialSupplement/master/polish_rss_filters.txt"
wget "https://raw.githubusercontent.com/FiltersHeroes/PolishSocialCookiesFiltersDev/master/adblock_social_filters/adblock_social_list.txt"
wget "https://raw.githubusercontent.com/finnish-easylist-addition/finnish-easylist-addition/master/Finland_adb.txt"
wget "https://raw.githubusercontent.com/francis-zhao/quarklist/master/dist/quarklist.txt"
wget "https://raw.githubusercontent.com/FutaGuard/LowTechFilter/master/filter.txt"
wget "https://raw.githubusercontent.com/GamerGate/Adblock-Plus-filter-list/master/GG-ABP.txt"
wget "https://raw.githubusercontent.com/gfmaster/adblock-korea-contrib/master/filter.txt"
wget "https://raw.githubusercontent.com/gioxx/xfiles/master/filtri.txt"
wget "https://raw.githubusercontent.com/gwarser/filter-lists/master/my-filters.txt"
wget "https://raw.githubusercontent.com/Hackl0us/AdBlock-Rules-Mirror/master/I-dont-care-about-cookies.txt"
wget "https://raw.githubusercontent.com/Hakame-kun/uBlock-Filters-Indonesia/master/uBlock%20Indo/ubindo.txt"
wget "https://raw.githubusercontent.com/hant0508/uBlock-filters/master/filters.txt"
wget "https://raw.githubusercontent.com/hawkeye116477/FilterListsDarkMode/master/DarkFilterLists.txt"
wget "https://raw.githubusercontent.com/haykam821/Blocklists/master/mmo.txt"
wget "https://raw.githubusercontent.com/hdd1013/AdBlockListSubKr/master/filter.txt"
wget "https://raw.githubusercontent.com/HexxiumCreations/threat-list/gh-pages/hexxiumthreatlist.txt"
wget "https://raw.githubusercontent.com/hit3shjain/Andromeda-ublock-list/master/hosts.txt"
wget "https://raw.githubusercontent.com/hl2guide/All-in-One-Customized-Adblock-List/master/aio.txt"
wget "https://raw.githubusercontent.com/hoshsadiq/adblock-nocoin-list/master/nocoin.txt"
wget "https://raw.githubusercontent.com/hoshsadiq/blocked-hosts/master/blocked-search-domains.txt"
wget "https://raw.githubusercontent.com/Hubird-au/Adversity/master/Adversity.txt"
wget "https://raw.githubusercontent.com/hufilter/hufilter-dev/master/sections/headers/adblock-plus.txt"
wget "https://raw.githubusercontent.com/hufilter/hufilter/master/hufilter-abp.txt"
wget "https://raw.githubusercontent.com/HuzunluArtemis/TurkishAdblockList/main/src/ElementalList.txt"
wget "https://raw.githubusercontent.com/iam-py-test/my_filters_001/main/antimalware.txt"
wget "https://raw.githubusercontent.com/IDKwhattoputhere/uBlock-Filters-Plus/master/uBlock-Filters-Plus.txt"
wget "https://raw.githubusercontent.com/jasonbarone/membership-app-block-list/master/membership-app-block-list.txt"
wget "https://raw.githubusercontent.com/jiayiming/jCleanList/master/jCleanList_all.txt"
wget "https://raw.githubusercontent.com/JinsongVan/chinalist/master/china_mobile_list.txt"
wget "https://raw.githubusercontent.com/JohnyP36/Personal-List/main/Personal%20List%20(uBo).txt"
wget "https://raw.githubusercontent.com/jwinnie-the-great/acceptable-ads/master/filters.txt"
wget "https://raw.githubusercontent.com/k2jp/abp-japanese-filters/master/abp_jp_3rd_party_SNS.txt"
wget "https://raw.githubusercontent.com/K-mikaZ/new_approach_adb__1st/master/KmZ_filters.txt"
wget "https://raw.githubusercontent.com/kano1/I/master/adware.txt"
wget "https://raw.githubusercontent.com/kano1/Kano/master/Spyware.txt"
wget "https://raw.githubusercontent.com/Karcsy/MyAddBlock/master/MyADBlockKarcsy.txt"
wget "https://raw.githubusercontent.com/kargig/greek-adblockplus-filter/master/void-gr-filters.txt"
wget "https://raw.githubusercontent.com/Karmesinrot/Anifiltrs/master/Anifltrs.txt"
wget "https://raw.githubusercontent.com/kbinani/adblock-wikipedia/master/signed.txt"
wget "https://raw.githubusercontent.com/kbinani/adblock-youtube-ads/master/signed.txt"
wget "https://raw.githubusercontent.com/KCaglarCoskun/enur-filter-list/master/enur-filter-list.txt"
wget "https://raw.githubusercontent.com/kowith337/PersonalFilterListCollection/master/filterlist/Combi-FacebookTotalAwareness-Safe.txt"
wget "https://raw.githubusercontent.com/kowith337/ThaiAntiForceLike/master/AntiForceLike.txt"
wget "https://raw.githubusercontent.com/kowith337/ThaiAntiTokenSites/master/AntiPumpSites.txt"
wget "https://raw.githubusercontent.com/kowith337/ThaiParanoidBlock/master/ThaiParanoid.txt"
wget "https://raw.githubusercontent.com/LanikSJ/ubo-filters/main/filters/adback-domains.txt"
wget "https://raw.githubusercontent.com/Larvit4r/Blocklists/master/TLD-Blacklist.txt"
wget "https://raw.githubusercontent.com/lassekongo83/Frellwits-filter-lists/master/emoji-filter.txt"
wget "https://raw.githubusercontent.com/leetfin/uLists/master/Lists/RedditBlockList.txt"
wget "https://raw.githubusercontent.com/leotse/abp/master/abp.txt"
wget "https://raw.githubusercontent.com/lifegpc/myabplist/master/bili.txt"
wget "https://raw.githubusercontent.com/lilydjwg/abp-rules/master/annoyance.txt"
wget "https://raw.githubusercontent.com/LinuxLowell/chat-annoyances/master/chat-annoyances.txt"
wget "https://raw.githubusercontent.com/List-KR/List-KR/master/filter.txt"
wget "https://raw.githubusercontent.com/llacb47/miscfilters/master/antipaywall.txt"
wget "https://raw.githubusercontent.com/LordBadmintonofYorkshire/Overlay-Blocker/master/blocklist.txt"
wget "https://raw.githubusercontent.com/loveqqzj/AdGuard/master/Mobile.txt"
wget "https://raw.githubusercontent.com/lutoma/nocomments/master/abp.txt"
wget "https://raw.githubusercontent.com/Luzifer/browser-privacy/master/filters.txt"
wget "https://raw.githubusercontent.com/maciejtarmas/AlleBlock/master/alleblock.txt"
wget "https://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/cookies_filters/adblock_cookies.txt"
wget "https://raw.githubusercontent.com/masterinspire/filter-lists/main/filter-lists.txt"
wget "https://raw.githubusercontent.com/MasterKia/PersianBlocker/main/PersianBlocker.txt"
wget "https://raw.githubusercontent.com/mayve/private-adblock-filters/master/Adblock_List.txt"
wget "https://raw.githubusercontent.com/medavox/uor/master/rules.txt"
wget "https://raw.githubusercontent.com/metaphoricgiraffe/tracking-filters/master/trackingfilters.txt"
wget "https://raw.githubusercontent.com/mistalaba/popover-blocklist/master/blocklist.txt"
wget "https://raw.githubusercontent.com/miyurusankalpa/adblock-list-sri-lanka/master/lkfilter.txt"
wget "https://raw.githubusercontent.com/mkb2091/blockconvert/master/output/adblock.txt"
wget "https://raw.githubusercontent.com/MonyaTechnik/themtfilters/main/blkfckads/blkfckads.txt"
wget "https://raw.githubusercontent.com/Nebula-Mechanica/Anti-AutoTranslation-List/master/anti-autotranslation-list.txt"
wget "https://raw.githubusercontent.com/NeeEoo/AdBlockNeeEoo/master/List.txt"
wget "https://raw.githubusercontent.com/nfer/easylistchina_it/master/easylistchina_it.txt"
wget "https://raw.githubusercontent.com/nicedirector/ADBlock/master/Adblock_Filter.txt"
wget "https://raw.githubusercontent.com/nimasaj/uBOPa/master/uBOPa.txt"
wget "https://raw.githubusercontent.com/nmasse-itix/ITIX-uBlock-List/master/ITIX.txt"
wget "https://raw.githubusercontent.com/notriddle/remove-fixed-banners/master/filters.txt"
wget "https://raw.githubusercontent.com/nyancrimew/noads/master/lists/unbreak.txt"
wget "https://raw.githubusercontent.com/olegwukr/polish-privacy-filters/master/adblock.txt"
wget "https://raw.githubusercontent.com/OmniMir/WebMonkey/master/uBlock.txt"
wget "https://raw.githubusercontent.com/OsborneSystems/Columbia/master/Columbia.txt"
wget "https://raw.githubusercontent.com/pauliuszaleckas/BeReklamos/master/bereklamos.txt"
wget "https://raw.githubusercontent.com/ph00lt0/blocklist/master/rpz-blocklist.txt"
wget "https://raw.githubusercontent.com/Placidina/adb-list/master/adb-list.txt"
wget "https://raw.githubusercontent.com/r4vi/block-the-eu-cookie-shit-list/master/filterlist.txt"
wget "https://raw.githubusercontent.com/rafagale/ubo-static-blacklist/master/rafa-ublock-blacklist.txt"
wget "https://raw.githubusercontent.com/realodix/AdBlockID/master/output/adblockid.txt"
wget "https://raw.githubusercontent.com/rebelion76/bankiru_plus_adblock_list/master/bankiru_plus.txt"
wget "https://raw.githubusercontent.com/RedDragonWebDesign/block-everything/master/block-everything.txt"
wget "https://raw.githubusercontent.com/reek/anti-adblock-killer/master/anti-adblock-killer-filters.txt"
wget "https://raw.githubusercontent.com/reelsense/browser-scripts-tools/master/fagbs/fagbs-domain-malvertising.txt"
wget "https://raw.githubusercontent.com/rlaskey/block/main/block.txt"
wget "https://raw.githubusercontent.com/Rpsl/adblock-leadgenerator-list/master/list/list.txt"
wget "https://raw.githubusercontent.com/Rudloff/adblock-imokwithcookies/master/filters.txt"
wget "https://raw.githubusercontent.com/ryanbr/fanboy-adblock/master/fanboy-anticomments.txt"
wget "https://raw.githubusercontent.com/secretsnow/Ad-Filters/master/Ad%20Filters.txt"
wget "https://raw.githubusercontent.com/seia-soto/filter-kr/master/filter.txt"
wget "https://raw.githubusercontent.com/sipp11/th_ad_filters/master/th_list.txt"
wget "https://raw.githubusercontent.com/SlashArash/adblockfa/master/adblockfa.txt"
wget "https://raw.githubusercontent.com/smed79/blacklist/master/abp.txt"
wget "https://raw.githubusercontent.com/spiri-leo/spiri-list/main/blocklists/block_ads/adblock.txt"
wget "https://raw.githubusercontent.com/szepeviktor/lean-filter/master/leanfilter.txt"
wget "https://raw.githubusercontent.com/T4Tea/ADPMobileFilter/master/ADPMobileFilter.txt"
wget "https://raw.githubusercontent.com/taylr/linkedinsanity/master/linkedinsanity.txt"
wget "https://raw.githubusercontent.com/tcptomato/ROad-Block/master/road-block-filters.txt"
wget "https://raw.githubusercontent.com/thedoggybrad/anti-gotoup-buttons/master/filter.txt"
wget "https://raw.githubusercontent.com/theel0ja/CrapBlock/master/personal.txt"
wget "https://raw.githubusercontent.com/thoughtconverge/abf/master/abf.txt"
wget "https://raw.githubusercontent.com/ThuHtooSan/Burmese-Filter-List/main/filterlist.txt"
wget "https://raw.githubusercontent.com/timmc/abp/master/standard.txt"
wget "https://raw.githubusercontent.com/tknr/adblock-plus-japanese-filter/master/abp_jp.txt"
wget "https://raw.githubusercontent.com/tofukko/filter/master/Adblock_Plus_list.txt"
wget "https://raw.githubusercontent.com/tomasko126/easylistczechandslovak/master/filters.txt"
wget "https://raw.githubusercontent.com/toshiya44/myAssets/master/filters-exp.txt"
wget "https://raw.githubusercontent.com/troysjanda/MyBlockLists/master/removeprams.txt"
wget "https://raw.githubusercontent.com/uBlock-user/uBO-Personal-Filters/master/uPF.txt"
wget "https://raw.githubusercontent.com/uBlockOrigin/uAssets/master/filters/annoyances.txt"
wget "https://raw.githubusercontent.com/ufesbr/list_adblock/master/surf_list.txt"
wget "https://raw.githubusercontent.com/uniartisan/adblock_list/master/adblock_lite.txt"
wget "https://raw.githubusercontent.com/UnluckyLuke/BlockUnderRadarJunk/master/blockunderradarjunk-list.txt"
wget "https://raw.githubusercontent.com/vastep/adbp/master/filter.txt"
wget "https://raw.githubusercontent.com/VernonStow/Filterlist/master/Filterlist.txt"
wget "https://raw.githubusercontent.com/wenketel/chinalist/master/adblock-lazy.txt"
wget "https://raw.githubusercontent.com/whtsky/abp-rules/master/rules.txt"
wget "https://raw.githubusercontent.com/WhyIsEvery4thYearAlwaysBad/anti-cancer-filter-lists/master/anti_satirical_news.txt"
wget "https://raw.githubusercontent.com/wiltteri/subscriptions/master/wiltteri-reborn.txt"
wget "https://raw.githubusercontent.com/xinggsf/Adblock-Plus-Rule/master/mv.txt"
wget "https://raw.githubusercontent.com/yecarrillo/adblock-colombia/master/adblock_co.txt"
wget "https://raw.githubusercontent.com/yourduskquibbles/webannoyances/master/ultralist.txt"
wget "https://raw.githubusercontent.com/yous/YousList/master/youslist.txt"
wget "https://raw.githubusercontent.com/Yuki2718/adblock/master/adguard/anti-antiadb.txt"
wget "https://raw.githubusercontent.com/Yumire/kiss-filters/master/filters.txt"
wget "https://raw.githubusercontent.com/zonprox/adblock/master/abpadv.txt"
wget "https://raw.githubusercontent.com/FiltersHeroes/KADhosts/master/KADhosts.txt"
wget "https://gist.githubusercontent.com/RobThree/b7ee02338024beb7a2fbfd14e9a060b2/raw/9fc4e42a92021fb2a417c82165ce136141633a19/gistfile1.txt"
wget "https://gist.githubusercontent.com/oxguy3/dda7958f7da766eed9fa/raw/7e1f36c514e097b32dd7d782d597d003854fa85a/filters.txt"
wget "https://gist.githubusercontent.com/zenima/8365644/raw/372b400b6e44ba3a009e7fd70da6268c16bbe413/ncore-filter.txt"
wget "https://gist.githubusercontent.com/kahogeoff/b72004264e79e4bb5d4fcad7a911164a/raw/9ba2c49ae3941e7b8f0621af601f660b68de8b89/ContentFarmBlocker_list.txt"
wget "https://gist.githubusercontent.com/stu43005/77cea64150711cd451dc/raw/a15e62ee853b4437ff9ffbaa25da54bc2b111f6c/AdblockPlusRule.txt"
wget "https://gist.githubusercontent.com/sidneys/93580f5fc454c3602e5052e07c9ee5fe/raw/54031ac95887d83529888656049e6c82c4121de6/de.sidneys.adblock-plus.facebook.typing.txt"
wget "https://gist.githubusercontent.com/marsam/9061301/raw/5e5adc5b1f3197d6a7e8707ddf5bd08878bfaaf5/blocklist.txt"
wget "https://gist.githubusercontent.com/akalongman/91b45a1f4871afdfa79d83b0e3d05d1b/raw/6adb7416f9f1daaafdcbf50c28763d616ddb40e8/adblock-geolist.txt"
wget "https://gist.githubusercontent.com/nipos/e572a37c1939bf5bcdf04a38ef229152/raw/76e03dbf350557fd0de9c75bd3bfbc159f38d6bf/gblocker.txt"
wget "https://gist.githubusercontent.com/sharathcshekhar/0407a2566a731290db0571d7b5a34924/raw/8eddb49c7ddab0029e24316cf7068aa9262d6eef/filters.txt"
wget "https://gist.githubusercontent.com/d3417/6bafe4986e3e4df722802144462a76f7/raw/2cd3c770eaebed162a525996500d5dfe2e9e4c17/uBlock%2520FULL%2520Filters.txt"
wget "https://gist.githubusercontent.com/ryankevans/c3c5dce206740f8743a27be6d25a3d7f/raw/5a9540eccac09f979d2709427fa007167d78e8a7/FF+Amazon%2520SlowFix.txt"
wget "https://raw.githubusercontent.com/adblockplus/python-abp/master/tests/data/filterlist.txt"
wget "https://raw.githubusercontent.com/olegwukr/polish-privacy-filters/master/anti-adblock.txt"
wget "https://raw.githubusercontent.com/lassekongo83/Frellwits-filter-lists/master/Frellwits-Swedish-Filter.txt"
wget "https://raw.githubusercontent.com/Repox/danish-adblock-filter/master/filter.txt"
wget "https://raw.githubusercontent.com/essandess/adblock2privoxy/master/easylist/antiadblockfilters.txt"
wget "https://raw.githubusercontent.com/jtrent238/jtrent238-AdBlock-Filters/master/adblock.txt"
wget "https://raw.githubusercontent.com/opengapps/opengapps.github.io/master/opengapps.org.abp.txt"
wget "https://raw.githubusercontent.com/Green-Star/adblock-mf-list/master/list.txt"
wget "https://raw.githubusercontent.com/lilydjwg/abp-rules/master/list.txt"
wget "https://raw.githubusercontent.com/Cats-Team/AdRules/main/adblock.txt"
wget "https://raw.githubusercontent.com/Cats-Team/AdRules/main/adblock_plus.txt"
wget "https://raw.githubusercontent.com/hant0508-zz/uBlock-fillters/master/filters.txt"
wget "https://raw.githubusercontent.com/ultramegatom/adblock-twitch-garbage/master/twitch-adblock.txt"
wget "https://raw.githubusercontent.com/bluedreamer/adblock/master/filter.txt"
wget "https://raw.githubusercontent.com/berrythesoftwarecodeprogrammar/filter-lists/master/fbonion_annoyances_sidebar.txt"
wget "https://raw.githubusercontent.com/ipuiu/adblock-lists/master/rolist.txt"
wget "https://raw.githubusercontent.com/crash007/crash007-filter-list/master/crash007-filter-list.txt"
wget "https://raw.githubusercontent.com/pavelfomin/adblock-filter-list/master/feedly.txt"
wget "https://raw.githubusercontent.com/simkoG/adblock-filter/master/simko-filter.txt"
wget "https://raw.githubusercontent.com/buak/Suomilista/master/finnish-adblock-list.txt"
wget "https://raw.githubusercontent.com/openhoangnc/easylist/master/easylist.txt"
wget "https://raw.githubusercontent.com/haowei-chu/AdBlock-filter/main/hw-adblock.txt"
wget "https://raw.githubusercontent.com/ILikNachos/Nacho-Blocker/master/Nacho-Blocker.txt"
wget "https://raw.githubusercontent.com/spixy/fakelist-sk-cz/master/filters.txt"
wget "https://raw.githubusercontent.com/shengwusuoxi/adblockplus/main/myfilter.txt"
wget "https://raw.githubusercontent.com/Yodamt/PornList/master/PornList.txt"
wget "https://raw.githubusercontent.com/letitbe1503/AdBlockFilterList/master/CustomFilterLists.txt"
wget "https://raw.githubusercontent.com/bugparty/AdBlockFilterList/master/TieTong.txt"
wget "https://raw.githubusercontent.com/zeratul0097/my_adblock_filter_list/master/my_filter.txt"
wget "https://raw.githubusercontent.com/sweetgiorni/ultimate-guitar-filter-list/main/ug.txt"
wget "https://raw.githubusercontent.com/quiksilvr476/adblockplus/master/starlords_custom_filter_list.txt"
wget "https://raw.githubusercontent.com/golles/adblock-list/main/filter.txt"
wget "https://raw.githubusercontent.com/zanetu/tiebalist/master/tiebalist.txt"
wget "https://raw.githubusercontent.com/yoni3D/adblock-filter-for-ovdy-h/main/filter-for-ovdy-h.txt"
wget "https://raw.githubusercontent.com/dungsaga/adblock-kid-study/main/kid-study.txt"
wget "https://raw.githubusercontent.com/gs76lee/HyunGuard/master/General/general.txt"
wget "https://raw.githubusercontent.com/wildquaker/filterlists/master/Blockzilla.txt"
wget "https://raw.githubusercontent.com/Giwayume/unfuck-the-internet/master/filters.txt"
wget "https://raw.githubusercontent.com/gythialy/chinalist/master/my_custom_list.txt"
wget "https://raw.githubusercontent.com/nicktabick/adblock-rules/master/nt-adblock.txt"
wget "https://raw.githubusercontent.com/feminism-chat/CommentBlock/master/commentblock.txt"
wget "https://raw.githubusercontent.com/reesarthurchmiel/DistractionFreeYoutubeWithAdblock/master/filterlist.txt"
wget "https://raw.githubusercontent.com/prenagha/adblock/master/filter.txt"
wget "https://raw.githubusercontent.com/Zereao/AD_Rules/master/Program%20Engineer%20List.txt"
wget "https://raw.githubusercontent.com/saarp/sp_abp_rules/main/blocklist.txt"
wget "https://raw.githubusercontent.com/geocom/AdblockPlus_YouMayLike/master/youmaylike.txt"
wget "https://raw.githubusercontent.com/git-027/adblock-plus-list/gh-pages/list.txt"
wget "https://raw.githubusercontent.com/mdreza-n/Adblock-Plus/main/AdBlock%20Farsi.txt"
wget "https://raw.githubusercontent.com/prathameshjoshi/adblock-filter/master/customfilters.txt"
wget "https://raw.githubusercontent.com/O-Yang/Adblock-Plus/main/Adblock-Plus.txt"
wget "https://raw.githubusercontent.com/KauftYT/Filter-List/master/SQList.txt"
wget "https://raw.githubusercontent.com/skinsch/adblock-monkey/master/monkey.txt"
wget "https://raw.githubusercontent.com/kybercryst4l/adblockplus_filters/master/filters/remove_adblock_detection.txt"
wget "https://raw.githubusercontent.com/everpcpc/Adblock-List/master/everpcpc.txt"
wget "https://raw.githubusercontent.com/airfx/Adblock-Plus-for-airfx/master/Adblock_rule_air_z.txt"
wget "https://raw.githubusercontent.com/salimkayabasi/adblock-plus-personal-filters/master/list.txt"
wget "https://raw.githubusercontent.com/truthslave/adblock-plus-japanese-filter/master/abp_jp.txt"
wget "https://raw.githubusercontent.com/mzh741/adblock-plus-rules/master/1.txt"
wget "https://raw.githubusercontent.com/AlexGuo1998/AdList/master/list.txt"
wget "https://raw.githubusercontent.com/archanglmr/abplists/master/lists/cleanup.txt"
wget "https://raw.githubusercontent.com/zackad/abp-filter/master/filter.txt"
wget "https://raw.githubusercontent.com/Sloofy/laundry/main/cosmetic.txt"
wget "https://raw.githubusercontent.com/credfeto/adblockplusrules/main/adblock.txt"
wget "https://raw.githubusercontent.com/sillkongen/icelandic_adblock_filters/gh-pages/adblock.txt"
wget "https://raw.githubusercontent.com/Manu1400/i-don-t-care-about-newsletters/master/adp.txt"
wget "https://raw.githubusercontent.com/HeikoAdams/alternative_acceptable_adds/master/rules/blogrules.txt"
wget "https://raw.githubusercontent.com/ilyamogilin/vkadblock/master/list.txt"
wget "https://raw.githubusercontent.com/devinhalladay/abp-filters/master/filters.txt"
wget "https://raw.githubusercontent.com/Xaival/AdBlockList/main/Adblock_list.txt"
wget "https://raw.githubusercontent.com/radeklat/blocklist-dezinformacni-weby/master/blocklist.txt"
wget "https://raw.githubusercontent.com/Manu1400/i-don-t-care-about-gotoup-btns/master/list-gotoup-btns.txt"
wget "https://raw.githubusercontent.com/Der-Eddy/uBlock-elitepvpers-usersignatures/master/elitepvpers_usersignatures.txt"
wget "https://raw.githubusercontent.com/floogulinc/hexxium-threat-list/gh-pages/hexxiumthreatlist.txt"
wget "https://raw.githubusercontent.com/ONIGIRI-Type/ABP_onigirist/master/onigirist_v2.txt"
My results:
Search for [adblock: 216

Search for [ublock: 9

For compatibility reasons it is also necessary to support [AdBlock] and [AdGuard] options in the heuristics too.
If I understand the requirements correctly, this number of files is enough for Linguist support, since they are in different repositories. I think this number is much higher than that, however, GitHub's search engine doesn't allow me to get the exact result. π
During my manual search I've also seen a lot of files where only a small change is needed to be able detected by my heuristic. If the adblock language will be supported, the number of files will definitely increase. Especially since only 1 line needs to be inserted at the beginning of the file in order for the syntax highlight to work π
@Alhadis I know it's not the best solution, but I don't see any other feasible option in the current situation. Hundreds of repositories are used by millions of people through ad blockers. I see no realistic chance that the .txt extension will change in the foreseeable future, however, syntax highlighting would help a lot in maintenance.
@lildude This LGTM, from my own testing. π You might have access to a larger corpora of .txt files with which to test the heuristic, though. π
Thanks everyone for the tips and help! @Alhadis, thank you very much for your contribution! π
Nah mate, you did most of the heavy-lifting. π If anything, we should be thanking you.