add X(Twitter)网页版去广告
This commit is contained in:
88
Scripts/X/X_ads.js
Normal file
88
Scripts/X/X_ads.js
Normal file
File diff suppressed because one or more lines are too long
@ -13,7 +13,10 @@
|
|||||||
|
|
||||||
[Body Rewrite]
|
[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]
|
[MITM]
|
||||||
hostname = %APPEND% x.com
|
hostname = %APPEND% x.com
|
||||||
Reference in New Issue
Block a user