Skip to content

Instantly share code, notes, and snippets.

@geekdada
Last active April 17, 2020 17:58
Show Gist options
  • Save geekdada/910abb2ea44d31d66db3e8b7b3b15b95 to your computer and use it in GitHub Desktop.
Save geekdada/910abb2ea44d31d66db3e8b7b3b15b95 to your computer and use it in GitHub Desktop.
Weibo Ads Remover
#!name=Weibo Ads Remover
#!desc=Weibo Ads Remover
#!system=ios
# Source https://github.com/yichahucha/surge/tree/master
[Script]
http-response ^https?://(sdk|wb)app\.uve\.weibo\.com(/interface/sdk/sdkad.php|/wbapplua/wbpullad.lua) requires-body=1,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/wb_launch.js
http-response ^https?://m?api\.weibo\.c(n|om)/2/(statuses/(unread|extend|positives/get|(friends|video)(/|_)(mix)?timeline)|stories/(video_stream|home_list)|(groups|fangle)/timeline|profile/statuses|comments/build_comments|photo/recommend_list|service/picfeed|searchall|cardlist|page|!/photos/pic_recommend_status|video/tiny_stream_video_list) requires-body=1,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/wb_ad.js
[MITM]
hostname = %APPEND% *.uve.weibo.com, api.weibo.cn, mapi.weibo.com, storage.wax.weibo.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment