Giter VIP home page Giter VIP logo

adblock2's Introduction

syntax syntax

adblock2

Personal filters and rules for AdGuard/uBlock Origin

I can't guarantee these filers/rules won't cause problems. If you found problems, report that via Issue ticket. Anyone who uses my filters/rules shall be deemed to have agreed that I have no responsibility or liability for costs, losses, damages, etc. arising from the use of the filters/rules.

個人作成のAdGuard/uBlock Origin用フィルタないしルールです。これらの使用により不具合が発生することがあります。いかなる形であれこれらのフィルタないしルールを使用する方は、それによる被害や損失に対し、管理人Yuki2718と当レポジトリのすべての貢献者が一切の責任を負わないことに同意するものとします。不具合についてはIssueを通じてご報告ください。

AdGuard Japanese filter Plus

This complements AdGuard Japanese filter and mainly consists of 1) additional generic rules to counter blocker-circumventing ads and anti-adblock, and 2) specific rules to address sites not meeting AdGuard filter policy in the Japanese filters. Only AdGuard AdBlocker (browser extension), uBlock Origin, and AdGuard AdBlocker MV3 are officially supported.

Please report any incorrect blocking or error via Issue ticket. OTOH unblocked ads, placeholder, or anti-adblock should first be reported to AdGuard. If the issue is not addressed by AdGuard, it can potentially be reported here; however, I accept reports only from those who have contribution history to any of public adblocking repository in case of unblocked ads or placeholder. It is is to avoid too many reports of them and may change in future.

AdGuard Japanese filterを補完するフィルタで、迂回広告や悪質ポップアップ、一部のアンチ広告ブロックへの汎用的な追加対策と、AdGuard Japanese filterで対応しないサイトへの対応を主眼とします。サポート対象はAdGuard 広告ブロッカー(ブラウザ拡張機能)とuBlock Originです。AdGuard AdBlocker MV3もサポートいたしますが、本稿執筆時点ではまだベータ版以前の実験的段階であることにご注意ください。AdGuard for Windows/Mac/Android/Safari/iOSでも自己責任でのご利用はできますが、正式にはサポートしません。とくにSafari/iOSでは多くのルールが機能しません。上記以外のブロッカー、たとえばAdblock PlusやVivaldiの組込みブロッカーでの使用は非推奨とします1

このフィルタによる不具合や誤植などの報告はIssueしたらば掲示板から受けつけます。一方、ブロック漏れやアンチ広告ブロックの対応漏れについては、個別対応を最小限とする方針ですのでまずはAdGuardに報告してください。AdGuardで対応されない場合はGithubのIssueを通してのみ、かつ広告ブロックコミュニティに貢献歴2のある方からの報告のみ受け付けます。これはAdGuard基準外のサイトの報告が大量に流れ込むのを防ぐためのさしあたりの措置で、今後変更する可能性があります。よい考えをお持ちの方はIssueなどでご提案ください。

1: Braveでの使用について:BraveはuBlock Origin文法と比較的高い互換性を持ちますが、現時点では!#includeの未サポートによりサブリストが読み込まれません。これについてはuBO moduleのマニュアル追加で対応できますが、将来サポートしたときに冗長になります。つい最近、uBlock filtersにおいてBraveの文法互換性による問題が起きたこともあり、公式にはサポートしない、自己責任でのご利用とさせていただきます。

2: プルリクエストに限らずIssue報告でも構いませんが、長期的(おおむね半年以上)に同一のGithubアカウントを保持していることが条件です。対象はAdGuardAdguardFiltersに限らない)、EasylistuBlock OriginYuki2718/adblockなど、よく知られた広告ブロックコミュニティであればどこでも構いません。

対象

以下のうち、汎用的に対策可能かAdGuard Japaneseで対応されないもの

  • 広告、アフィリエイトリンク
  • ネイティブ広告
  • 侵襲性の高いセルフプロモーション
  • 主に上記をブロックしたため生じた枠や不要なスペース
  • アンチ広告ブロック
  • 迷惑・有害なポップアップ、ポップアンダー、リダイレクト
  • 一部の詐欺・悪質サイト(セキュリティーソフトの代わりにはなりません)
対象外
  • サイトの内容と強く関連しており(例:具体的な商品のレビュー)、かつ量が過剰でなくユーザーに不利益・不快感を与えない広告(「ゲームのブログだからゲームの広告」程度では強く関連しているとみなしません。また、積極的にブロックしないだけで、すでにAdGuard Japanese等でブロックされている場合は手を出しません)
  • 運営母体の系列サイトへのリンクバナーで、それほど不快でないもの
  • アフィリエイトリンクの汎用非表示
  • 広告ブロッカー検知用の罠スクリプト
  • Google Safe Browsingでカバーされている悪質サイト
  • 失効ドメイン

Subscribe/購読する(AdGuardでは「信頼できる」にチェック) View List/中身を見る

注意:AdGuard、uBlock Origin用のモジュールがありますが、これらは単独使用を想定したものではありません。上記リンクから購読いただくと、ご利用のプログラムに合わせて必要なモジュールが読み込まれるはずです。

AdGuard DNS filter Unbreaker for Japanese(AdGuard DNSフィルタ不具合修正パッチ)

This list fixes known problems in AdGuard DNS filter mostly for Japanese user. Do not report any problem of AdGuard DNS filter directly to this repo, but open an issue ticket in AdGuardSDNSFilter repo.

ブロックよりも不具合の低減を優先するユーザー向けです。コンテンツブロック/ブロッカーではなくDNSフィルタに追加購読してください。

AdGuard DNSフィルタの既知の不具合を独自に修正します。DNSフィルタはブロックするかしないかの二択しかなく、融通が利きません。しかし、AndroidのAdGuard無料版ユーザーやiOSユーザーはこれを使わずにアプリ内広告をブロックする手段があまりなく、他に代替となるリストも多くはないと思われます。また、不具合を報告してもブロック漏れとの兼ね合いがあるため必ずしも対処されません。

  • 直接こちらに不具合を報告する前に、まずAdGuardに報告してください。メンテンナンスは主に、AdGuardに報告された問題の中から任意に行う予定です
  • あらゆる不具合に対処する予定はありません。公式より緩い基準とはいえ、ブロック除外により漏れる広告が多い場合は対応しません
  • 今後とも、モバイルアプリの問題を積極的にサポートする予定はありません。メンテンナンスコストが高くなった場合、公開停止もあり得ます

View List/中身を見る

Yuki's uBlock Dynamic Rules

Nooplists for medium mode of uBlock Origin dedicated for English user. The objective is to help those non-techie, yet security-conscious, people to use the mode. Payment services and mobile sites are out-of-scope.

ミディアムモード用のnoopリストで、英語圏向けです。

View Rules/中身を見る

Yuki's uBlock Dynamic Rules for Mobile

Mobile version of Yuki's uBlock Dynamic Rules

Yuki's uBlock Dynamic Rulesのモバイル版です。

View Rules/中身を見る

おまけ

よくある質問:コンテンツブロックにおいてよくある誤解や質問への答えをまとめました。一部、内容が古くなっていることにご注意ください。

adblock2's People

Contributors

yuki2718 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

adblock2's Issues

https://www.twitch.tv/

URL(s) where the issue occurs (mandatory) / 問題のURL(必須)

Full URL / 完全なURL: https://www.twitch.tv/

Describe the issue (mandatory) / 何が問題か説明してください(必須)

twitchの配信を開くと最初に出てくる広告動画が流れる

Screenshot(s) / スクリーンショット

Screenshot:

image

Versions (mandatory) / バージョン情報(必須)

  • Operating system and version / OSの種類とバージョン: Windows11 23H2
  • Browser and version / ブラウザの種類とバージョン: chrome 127.0.6533.100(Official Build) (64 ビット)
  • AdGuard or uBlock Origin version / AdGuardないしuBlock Originのバージョン: 1.59.0

Filters (mandatory) / 使用フィルタ(必須)

・ AdGuard Japanese filter Plus

Notes / その他有用な情報

Unintentional Blocking of DeepL Translation Pop-up ( `deepl-inline-trigger` Tag) (example.com)

URL(s) where the issue occurs (mandatory) / 問題のURL(必須)

https://example.com/

Full URL / 完全なURL: https://example.com/

Describe the issue (mandatory) / 何が問題か説明してください(必須)

Problem:

The current AdGuard Japanese filter Plus filter:

##div[style*="z-index: 2147483647;"][style*="top: 0px; left: 0px;"][style*="position:"]

unintentionally hides elements utilized by the DeepL extension, impacting its functionality. Specifically, it interferes with elements enclosed in <deepl-inline-trigger></deepl-inline-trigger>, which use the same z-index style, making them disappear when the filter is applied.

Impact:

Users employing the DeepL extension for translation purposes may experience disruptive behavior and might be unable to use the extension effectively with the filter enabled.

Proposed Solution:

A refinement of the filter, aimed at specifically targeting the undesired elements while preserving those related to DeepL, has been experimented with and found effective in preliminary testing:

##body > div[style*="z-index: 2147483647;"][style*="top: 0px; left: 0px;"][style*="position:"]

This selector employs the direct child combinator (>) to restrict the filter's effect to div elements directly under the body tag, potentially reducing unintentional hiding of nested DeepL elements. Further testing and validation across various websites and scenarios would be beneficial.

Steps to Reproduce:

  1. Install and enable the DeepL browser extension.
  2. Navigate to a webpage where you'd like to translate some text.
  3. Select a text segment that you'd like to translate.
  4. Notice that the DeepL pop-up (utilizing the deepl-inline-trigger tag) which should appear at the bottom right of the selected text is being blocked.

Screenshot(s) / スクリーンショット

Correct behavior:

image

Incorrect behavior:

image

Versions (mandatory) / バージョン情報(必須)

  • Operating system and version / OSの種類とバージョン: macOS Ventura 13.6
  • Browser and version / ブラウザの種類とバージョン: Firefox 118.0.2
  • AdGuard or uBlock Origin version / AdGuardないしuBlock Originのバージョン: uBlock Origin 1.52.2

Filters (mandatory) / 使用フィルタ(必須)

listset (total-discarded, last-updated):
 added:
  https://abp.oisd.nl/: 206954-49818, 3h.5m
  https://get.letsblock.it/list/c6c363ab-28ec-4d56-aae3-dbcc8eed8d58.txt: 126-86, 3h.5m
  https://malware-filter.gitlab.io/pup-filter/pup-filter.txt: 189-0, 3h.5m
  https://raw.githubusercontent.com/DandelionSprout/adfilt/master/ClearURLs%20for%20uBo/clear_urls_uboified.txt: 712-8, 3h.5m
  https://raw.githubusercontent.com/DandelionSprout/adfilt/master/LegitimateURLShortener.txt: 2495-77, 3h.5m
  https://raw.githubusercontent.com/Yuki2718/adblock2/main/japanese/jpf-plus.txt: 760-32, never
  https://raw.githubusercontent.com/eEIi0A5L/adblock_filter/master/ichigo_filter.txt: 1588-65, 3h.5m
  https://raw.githubusercontent.com/eEIi0A5L/adblock_filter/master/kame_filter.txt: 153-0, 3h.5m
  https://raw.githubusercontent.com/quenhus/uBlock-Origin-dev-filter/main/dist/all_search_engines/global.txt: 7010-0, 3h.5m
  https://www.i-dont-care-about-cookies.eu/abp/: 25832-19, 3h.6m
  adguard-generic: 78392-6817, 3h.6m
  adguard-mobile: 8681-131, 3h.6m
  [21 lists not shown]: [too many]
 default:
  user-filters: 83-2, never
  ublock-filters: 35783-619, 3h.6m
  ublock-badware: 7213-9, 3h.6m
  ublock-privacy: 589-49, 3h.5m
  ublock-unbreak: 2185-2, 3h.6m
  ublock-quick-fixes: 188-0, 3h.5m
  easylist: 71651-1188, 3h.6m
  easyprivacy: 33224-930, 3h.6m
  urlhaus-1: 10910-0, 3h.5m
  plowe-0: 3719-32, 3h.6m
  JPN-1: 13522-102, 3h.6m

Notes / その他有用な情報

www.gamesradar.com

URL(s) where the issue occurs (mandatory) / 問題のURL(必須)

Full URL / 完全なURL: https://www.gamesradar.com/goldenjoystickawards/

Describe the issue (mandatory) / 何が問題か説明してください(必須)

Screenshot(s) / スクリーンショット

Screenshot:

image

Versions (mandatory) / バージョン情報(必須)

  • Operating system and version: Win11 22H2
  • Browser and version: GoogleChrome 119.0.6034.6
  • AdGuard or uBlock Origin version: AdGuard web extension 4.2.168

Filters (mandatory) / 使用フィルタ(必須)

AdGuard Japanese filter Plus

Notes / その他有用な情報

Target element is this class="ad-unit".

I think this issue occurred by this rule.
#@#.ad-unit

https://github.com/Yuki2718/adblock2/blob/a13347b60a60272bc2fec8c18aa825422e246b20/japanese/jpfp-ag.txt#L204C1-L204C12

jin115.com

URL(s) where the issue occurs (mandatory) / 問題のURL(必須)

Full URL / 完全なURL: jin115.com

Describe the issue (mandatory) / 何が問題か説明してください(必須)

e8e2063b.xyz のバナー広告が表示される

Screenshot(s) / スクリーンショット

Screenshot:

Screenshot_2024-08-03-06-45-41-500_com android chrome

Versions (mandatory) / バージョン情報(必須)

  • Operating system and version / OSの種類とバージョン: Xiaomi Hyper OS v1.0.5.0 (Android 14)
  • Browser and version / ブラウザの種類とバージョン: Google Chrome : 127.0.6533.85
  • AdGuard or uBlock Origin version / AdGuardないしuBlock Originのバージョン: AdGuard v4.6.1

Filters (mandatory) / 使用フィルタ(必須)

  • AdGuardベースフィルタ
  • AdGuardモバイル広告フィルタ
  • AdGuard URL 追跡防止フィルタ
  • AdGuard 迷惑要素フィルタ
  • AdGuard DNS フィルタ
  • AdGuard Japanese filter Plus

Notes / その他有用な情報

i-mobile Ad Networkの広告に関係するようです。

mgkca.com

URL(s) where the issue occurs (mandatory) / 問題のURL(必須)

Full URL / 完全なURL: https://mgkca.com/question/kokushiview?n=35&am=1

Describe the issue (mandatory) / 何が問題か説明してください(必須)

Ads placeholder

Screenshot(s) / スクリーンショット

Screenshot:

image

Versions (mandatory) / バージョン情報(必須)

  • Operating system and version / OSの種類とバージョン: Windows 11 22H2
  • Browser and version / ブラウザの種類とバージョン: Google Chrome 115.0.5773.4
  • AdGuard or uBlock Origin version / AdGuardないしuBlock Originのバージョン: AdGuard 4.2.110

Filters (mandatory) / 使用フィルタ(必須)

Screenshot:


Notes / その他有用な情報

mgkca.com##.row > div[class^="col-"]:has(> div.card > div.card-body > ins.adsbygoogle)

Repeated domain on japanese/jpfp-ag.txt

japanese/jpfp-ag.txt

||lh3.googleusercontent.com/9Frr0PsBq8LqcaaRKcS53pSf0E5kGYMqKwG3RPYMJ1kmTTiKnQuzA1XAR3bBMtKVoA$image,domain=taoruseitai.com|towelstretches.com|xn--28ja8nb9uubn3byzm464cuetahu3avcz915bwoe.com|xn--68j4ha6nb9ec3md2np203dfmi14l5p7mgke.com|xn--68jwj3a3byaa9a4s2ee0369lixepotkf2m.com|xn--cck3byahyp4g6gna7180lnuda5729lznh.com|xn--u9j8a8k6aj3a6wy551c8cl30l6j0d.com|xn--w8jua40cb1121b38be8d4zad9pnko86zz4q93bew1dou1i.com|xn--w8jua40cb1121b38be8d4zad9pnko86zz4q93bew1dou1i.com|xn--x8jcy0c0cxjs5a465r9i0a4uaz40cb0ths9cm4f.com
||tmh.io/wp-content/KU.png

⬆️⬆️⬆️⬆️⬆️
Repeat domain ➡️ xn--w8jua40cb1121b38be8d4zad9pnko86zz4q93bew1dou1i.com

Take care my friend 👍

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.