Skip to content

Commit

Permalink
mod
Browse files Browse the repository at this point in the history
  • Loading branch information
eEIi0A5L committed May 18, 2024
1 parent 3985508 commit c7e503a
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 16 deletions.
17 changes: 10 additions & 7 deletions mochi_filter.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Adblock Plus 2.0]
! Title: もちフィルタ(広告ブロック)
! Last modified: 14 Apr 2024 00:00 JST
! Last modified: 18 May 2024 00:00 JST
! Expires: 6 hours (update frequency)
! License: CC0 (Public Domain)
! Homepage: https://eeii0a5l.github.io/mochifilter_homepage/mochi.html
Expand Down Expand Up @@ -985,8 +985,10 @@ gyao.yahoo.co.jp##.ad
!Twitter
||app.link^$third-party
||twitter.com/i/csp_report?
||x.com/i/csp_report?
||ads-api.twitter.com^
||twitter.com/1.1/promoted_content/log.json
||x.com/1.1/promoted_content/log.json
!||google-analytics.com^$domain=twitter.com
||api.twitter.com/1.1/videoads/v2/prerolls.json

Expand All @@ -1001,24 +1003,24 @@ gyao.yahoo.co.jp##.ad
!タイムラインの広告2
!「Promoted by 〇〇」とでるやつ
!twitter.com##div[data-testid="placementTracking"]:has(svg + div[dir="auto"] > span:has-text(/Promoted|Gesponsert|Promocionado|Sponsorisé|Sponsorizzato|Promowane|Promovido|Реклама|Uitgelicht|Sponsorlu|Mainostettu|推廣|推广|推薦|推荐|プロモーション/))
twitter.com##span:has-text(/Promoted|Gesponsert|Promocionado|Sponsorisé|Sponsorizzato|Promowane|Promovido|Реклама|Uitgelicht|Sponsorlu|Mainostettu|推廣|推广|推薦|推荐|プロモーション/):upward(div[data-testid="placementTracking"])
twitter.com,x.com##span:has-text(/Promoted|Gesponsert|Promocionado|Sponsorisé|Sponsorizzato|Promowane|Promovido|Реклама|Uitgelicht|Sponsorlu|Mainostettu|推廣|推广|推薦|推荐|プロモーション/):upward(div[data-testid="placementTracking"])


!#話題を検索ページの右上おすすめユーザのプロモーション
twitter.com##span:has-text(/^(Promoted|プロモーション)$/):upward(div[data-testid="UserCell"])
twitter.com,x.com##span:has-text(/^(Promoted|プロモーション)$/):upward(div[data-testid="UserCell"])



!右欄いまどうしてるの広告
twitter.com##[data-testid="trend"]:has-text(/推荐|Promoted|Gesponsert|Реклама|Promocionado|Sponsorisé|Uitgelicht|プロモーション/):upward(1)
twitter.com,x.com##[data-testid="trend"]:has-text(/推荐|Promoted|Gesponsert|Реклама|Promocionado|Sponsorisé|Uitgelicht|プロモーション/):upward(1)

!https://twitter.com/okkinapanda
!↓構文エラー
!twitter.com##div:has( > div > div > div > h2 > div > span:has-text(/Promoted Tweet|プロモツイート/) )

!話題を検索上部の広告
twitter.com##a[href*="src=promoted_trend_click"]
twitter.com##a[href*="src=promoted_trend_click"] + div
twitter.com,x.com##a[href*="src=promoted_trend_click"]
twitter.com,x.com##a[href*="src=promoted_trend_click"] + div


!プロモツイート
Expand All @@ -1028,7 +1030,7 @@ twitter.com##a[href*="src=promoted_trend_click"] + div


!探索上部の広告(たまに出る)
twitter.com##div[data-testid="eventHero"]:has-text(/Promoted|Gesponsert|Promocionado|Sponsorisé|Sponsorizzato|Promowane|Promovido|Реклама|Uitgelicht|Sponsorlu|Promotert|Promoveret|Sponsrad|Mainostettu|Sponzorováno|Promovat|Ajánlott|Προωθημένο|Dipromosikan|Được quảng bá|推廣|推广|推薦|推荐|プロモーション|프로모션 중|ประชาสัมพันธ์|प्रचारित|বিজ্ঞাপিত|تشہیر شدہ|مُروَّج|تبلیغی|מקודם/)
twitter.com,x.com##div[data-testid="eventHero"]:has-text(/Promoted|Gesponsert|Promocionado|Sponsorisé|Sponsorizzato|Promowane|Promovido|Реклама|Uitgelicht|Sponsorlu|Promotert|Promoveret|Sponsrad|Mainostettu|Sponzorováno|Promovat|Ajánlott|Προωθημένο|Dipromosikan|Được quảng bá|推廣|推广|推薦|推荐|プロモーション|프로모션 중|ประชาสัมพันธ์|प्रचारित|বিজ্ঞাপিত|تشہیر شدہ|مُروَّج|تبلیغی|מקודם/)

!「雨 川」で検索した時のウェザーニュースでadが出る
||twitter.com/i/api/1.1/videoads/v2/prerolls.json
Expand All @@ -1042,6 +1044,7 @@ twitter.com##div[data-testid="eventHero"]:has-text(/Promoted|Gesponsert|Promocio
||api.twitter.com/1.1/onboarding/referrer.json|$xmlhttprequest
||platform.twitter.com/oct.js|
||twitter.com/etc/clientlibs/dtm/*/satelliteLib-$script
||x.com/etc/clientlibs/dtm/*/satelliteLib-$script


!facebook
Expand Down
7 changes: 4 additions & 3 deletions negi_filter.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Adblock Plus 2.0]
! Title: ねぎフィルタ(広告以外の不要要素ブロック)
! Last modified: 2023/10/31 00:00 JST
! Last modified: 2024/5/18 00:00 JST
! Expires: 6 hours (update frequency)
! License: CC0 (Public Domain)
! Homepage: https://eeii0a5l.github.io/mochifilter_homepage/negi.html
Expand Down Expand Up @@ -324,11 +324,12 @@ support.microsoft.com##.survey-background
!https://jbbs.shitaraba.net/bbs/read.cgi/internet/24461/1510462016/46
!twitter.com##.GalleryNav
!ツイッターのユーザページの詳細設定をクリックする時にツールチップが邪魔なので消す
twitter.com##.tooltip-inner
twitter.com,x.com##.tooltip-inner
!Twitter ライブビデオ
||twitter.com/i/live_video_stream/
||x.com/i/live_video_stream/
!||p-va-1.ft.e.lv.twimg.com/x/out/
twitter.com##.LiveVideoHomePageModuleContainer
twitter.com,x.com##.LiveVideoHomePageModuleContainer
!リツイート非表示
!https://egg.5ch.net/test/read.cgi/software/1540428057/702-703
!twitter.com##.tweet-has-context.js-original-tweet.original-tweet.dismissible-content.js-profile-popup-actionable.js-actionable-tweet.js-stream-tweet.tweet
Expand Down
13 changes: 7 additions & 6 deletions tamago_filter.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Adblock Plus 2.0]
! Title: たまごフィルタ(mobile filter)
! Last modified: 16 Aug 2023 00:00 JST
! Last modified: 18 May 2024 00:00 JST
! Expires: 6 hours (update frequency)
! License: CC0 (Public Domain)
! Homepage: https://eeii0a5l.github.io/mochifilter_homepage/tamago.html
Expand Down Expand Up @@ -174,17 +174,17 @@ google.com,google.co.jp###main > div:has(> div > div > a > div > div > span:has-

!Twitter
!英語版
twitter.com##[data-testid="trend"]:has-text(Promoted):xpath(..)
twitter.com,x.com##[data-testid="trend"]:has-text(Promoted):xpath(..)
!twitter.com##div[data-testid="trend"]:has( span:has-text(Promoted by) ):xpath(..)
twitter.com##span:has-text(Promoted by):upward( div[data-testid="trend"] ):xpath(..)
twitter.com,x.com##span:has-text(Promoted by):upward( div[data-testid="trend"] ):xpath(..)
!twitter.com##aside[aria-label="Who to follow"] > div > div[data-testid="UserCell"]:has(:scope > div > div > div > svg + div:has-text(Promoted))
!twitter.com##div[aria-label^="Timeline:"] > div > div > div:has( svg[viewBox] + div:has-text(Promoted) )
twitter.com##svg[viewBox] + div:has-text(Promoted):upward( div[aria-label^="Timeline:"] > div > div > div )
twitter.com,x.com##svg[viewBox] + div:has-text(Promoted):upward( div[aria-label^="Timeline:"] > div > div > div )

!日本語版
twitter.com##[data-testid="trend"]:has-text(プロモーション):xpath(..)
twitter.com,x.com##[data-testid="trend"]:has-text(プロモーション):xpath(..)
!twitter.com##div[data-testid="trend"]:has( span:has-text(によるプロモーション) ):xpath(..)
twitter.com##span:has-text(によるプロモーション):upward( div[data-testid="trend"] ):xpath(..)
twitter.com,x.com##span:has-text(によるプロモーション):upward( div[data-testid="trend"] ):xpath(..)
!twitter.com##aside[aria-label="おすすめユーザー"] > div > div[data-testid="UserCell"]:has( > div > div > div > svg + div:has-text(プロモーション))
!twitter.com##div[aria-label^="タイムライン:"] > div > div > div:has( svg[viewBox] + div:has-text(プロモーション) )
!twitter.com##svg[viewBox] + div:has-text(プロモーション):upward( div[aria-label^="タイムライン:"] > div > div > div )
Expand All @@ -197,6 +197,7 @@ twitter.com##span:has-text(によるプロモーション):upward( div[data-test
||api.twitter.com/1.1/onboarding/referrer.json|$xmlhttprequest
||platform.twitter.com/oct.js|
||twitter.com/etc/clientlibs/dtm/*/satelliteLib-$script
||x.com/etc/clientlibs/dtm/*/satelliteLib-$script

!Instagram
!アプリ誘導BOX
Expand Down

0 comments on commit c7e503a

Please sign in to comment.