Clash/script/quora/quora.lnplugin

25 lines
1.8 KiB
Plaintext
Raw Normal View History

2023-02-08 17:27:19 +08:00
#!name=Quora
#!desc=Quora Remove Ads
#!openUrl=https://github.com/blackmatrix7/ios_rule_script/script/quora
#!author=blackmatrix7
#!homepage=https://github.com/blackmatrix7/ios_rule_script
2023-02-11 10:52:20 +08:00
#!icon=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/quora/quora.png
2023-02-08 17:27:19 +08:00
[URL Rewrite]
# 去除回答列表中展开内容的广告
^https:\/\/www\.quora\.com\/graphql\/gql_para_POST\?q=AnswerExpandAdLoaderQuery - reject
[Script]
# 去除首页广告
http-response ^https:\/\/www\.quora\.com\/(graphql\/gql_para_POST\?q=MultifeedQuery)?$ requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/7775186471b181e5ad472156ca3c206f/raw/quora.min.js,tag=Quora RemoveHomePageAd
# 去除回答内容的广告
http-response ^https:\/\/www\.quora\.com\/graphql\/gql_para_POST\?q=AnswerPageFooterLoaderQuery requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/7775186471b181e5ad472156ca3c206f/raw/quora.min.js,tag=Quora RemoveAnswerPageAd
# 去除回答列表的广告
http-response ^https:\/\/www\.quora\.com\/graphql\/gql_para_POST\?q=(QuestionAnswerPagedListQuery|QuestionPageLoadableBodyQuery) requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/7775186471b181e5ad472156ca3c206f/raw/quora.min.js,tag=Quora RemoveAnswerPageListAd
# 去除从回答底部进入的回答列表的广告
http-response ^https:\/\/www\.quora.com\/.*-.* requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/7775186471b181e5ad472156ca3c206f/raw/quora.min.js,tag=Quora RemoveAnswerPageOtherListAd
# 去除文章底部的广告
http-response ^https:\/\/www\.quora\.com\/graphql\/gql_para_POST\?q=PostPageFooterLoaderQuery requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/7775186471b181e5ad472156ca3c206f/raw/quora.min.js,tag=Quora RemovePostPageFooterAd
[MITM]
hostname = www.quora.com