mirror of
https://github.com/blackmatrix7/ios_rule_script.git
synced 2024-11-15 13:18:29 +08:00
25 lines
1.8 KiB
Plaintext
25 lines
1.8 KiB
Plaintext
|
#!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
|
||
|
#!icon=https://git.codecolor.cool/matrix/script/raw/branch/master/quora/quora.png
|
||
|
|
||
|
[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
|