mirror of
https://github.com/fmz200/wool_scripts.git
synced 2026-05-07 15:02:44 +08:00
add X(Twitter)网页版去广告
This commit is contained in:
@ -13,7 +13,10 @@
|
||||
|
||||
[Body Rewrite]
|
||||
# 首页信息流中的推广
|
||||
http-response-jq ^https?:\/\/x\.com\/i\/api\/graphql\/[^\/]+\/HomeTimeline '.data.home.home_timeline_urt.instructions[]?.entries |= map(select(.content.itemContent.promotedMetadata == null and (.entryId | startswith("promoted-tweet-") | not)))'
|
||||
# http-response-jq ^https?:\/\/x\.com\/i\/api\/graphql\/[^\/]+\/HomeTimeline '.data.home.home_timeline_urt.instructions[]?.entries |= map(select(.content.itemContent.promotedMetadata == null and (.entryId | startswith("promoted-tweet-") | not)))'
|
||||
|
||||
[Script]
|
||||
X网页版去广告 = type=http-response,pattern=^https?:\/\/x\.com\/i\/api\/graphql\/[^\/]+\/(HomeTimeline|TweetDetail),requires-body=1,max-size=0,binary-body-mode=0,script-path=https://raw.githubusercontent.com/fmz200/wool_scripts/main/Scripts/X/X_ads.js
|
||||
|
||||
[MITM]
|
||||
hostname = %APPEND% x.com
|
||||
Reference in New Issue
Block a user