#!name=随手记去广告
#!desc=随手记去开屏、首页、社区和推广等广告
#!author=@ddgksf2013
#!version=V1.0.5
#!updatetime=2023-03-15
#!scripturl=https://github.com/ddgksf2013/Rewrite/raw/master/AdBlock/SuiShouJi.conf

[URL Rewrite]
# > 随手记_开屏广告
^https://tg.feidee.com/online_ad/api/search.do - reject
# > 随手记_广告推送
^https://tg.feidee.com/vis-ad-engine-ws/api/show - reject
# > 随手记_推广Tips
^https://moneymarket.ssjlicai.com/finance-common-operation-ws/api/actShelve/v1/actShelveShowTipInfo - reject

[Script]
随手记_会员信息=type=http-response,pattern=^https://userapi.feidee.net/v1/profile/basic_info,requires-body=1,script-path=https://raw.githubusercontent.com/ddgksf2013/MoYu/master/suishouji.js
随手记_状态信息=type=http-response,pattern=^https://yun.feidee.net/cab-vip-ws/terminal/v1/vip-users/show-info,requires-body=1,script-path=https://raw.githubusercontent.com/ddgksf2013/MoYu/master/suishouji.js

[Map Local]
# > 随手记_社区
^https://api.feidee.net/v1/configs/client/configs data="https://raw.githubusercontent.com/mieqq/mieqq/master/reject-200.txt"
# > 随手记_首页推荐
^https://yunmk.feidee.net/cab-market-ws/market/v2/contents data="https://raw.githubusercontent.com/mieqq/mieqq/master/reject-dict.json"
# > 随手记_社区推广
^https://community.feidee.com/api/v1/home/top data="https://raw.githubusercontent.com/mieqq/mieqq/master/reject-200.txt"
# > 随手记_账本中间推广
^https://yun.feidee.net/cab-query-ws/v1/comet/vtable/score-card data="https://raw.githubusercontent.com/mieqq/mieqq/master/reject-dict.json"
# > 随手记_账本顶部推广
^https://yun.feidee.net/cab-draw-activity-ws/terminal/v1/draw-record/user-draw-result data="https://raw.githubusercontent.com/mieqq/mieqq/master/reject-dict.json"

[MITM]
hostname = %APPEND% *.feidee.*, *.ssjlicai.*