diff --git a/Surge/filters.txt b/Surge/filters.txt index 8e223cf..102a852 100644 --- a/Surge/filters.txt +++ b/Surge/filters.txt @@ -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 diff --git a/filter.txt b/filter.txt index 145105f..95a0bb4 100644 --- a/filter.txt +++ b/filter.txt @@ -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 \ No newline at end of file