封鎖了一些奇怪的蒐集使用者的 api 存取

This commit is contained in:
踢低吸 2020-12-24 09:35:23 +00:00 committed by GitHub
parent 40a08d6dcd
commit f4b2552d6e
2 changed files with 10 additions and 3 deletions

View File

@ -38,6 +38,10 @@ URL-REGEX,^http:\/\/mangaapi.manhuaren.com\/.+\/ad\/,REJECT
#! 4Gamer
URL-REGEX,^https:\/\/www.4gamers.com.tw\/site\/api\/aols\/media\?,REJECT
#! PTT 相關
URL-REGEX,^https:\/\/pttbrain\.herokuapp\.com\/api\/ptt\/metric\/user\-geo\-distributions,REJECT
#! 通用阻擋
DOMAIN,itad.linetv.tw,REJECT
DOMAIN,sessions.bugsnag.com,REJECT
@ -94,4 +98,4 @@ DOMAIN-SUFFIX,flurry.com,REJECT
DOMAIN-SUFFIX,mopub.com,REJECT
[MITM]
hostname = %APPEND% a.line.me, buy.line.me, *.line-scdn.net, sch.line.me, scdn.line-apps.com, mangaapi.manhuaren.com, *.4gamers.com.tw *.dcard.tw
hostname = %APPEND% a.line.me, buy.line.me, *.line-scdn.net, sch.line.me, scdn.line-apps.com, mangaapi.manhuaren.com, *.4gamers.com.tw, *.dcard.tw, *.heroku.com

View File

@ -9,7 +9,7 @@
appledaily.com#%#;(()=>{const date=new Date();date.setTime(date.getTime()-86400);const aid=document.cookie.match(/articleid(.+?)=/i);if(aid){document.cookie=`articleId${aid[1]}=;path=/;expires=${date.toUTCString()}`}})();
! 卡卡洛普
gamme.com.tw#%#if(!document.cookie.match(/r18=1/)){document.cookie='r18=1;domain=gamme.com.tw;path=/';location.reload()};
! 批踢踢
! 批踢踢 自動點R18
www.ptt.cc#%#document.onreadystatechange=()=>{if(location.pathname.includes('/ask/over18')){document.querySelectorAll('.over18-button-container>button[name="yes"]').forEach(x=>x.click())}};
www.ptt.cc#%#if(!document.cookie.match(/over18=1/)){document.cookie='over18=1;path=/';location.reload()};
! 風傳媒
@ -105,4 +105,7 @@ coffeehunter.tw##div[class^="fancybox-wrap"]
@@||tracking.shopback.com/client/v1/events^$important,domain=shopback.com
! Dcard
bilanx.dcard.tw/v1/events
||bilanx.dcard.tw/v1/events^$document
! PTT 相關
||pttbrain.herokuapp.com/api/ptt/metric/user-geo-distributions^$document