From 4130b63b0dd9ca55769a13655d604b9afe5a7276 Mon Sep 17 00:00:00 2001 From: SukkaW Date: Sat, 26 Jun 2021 19:24:32 +0800 Subject: [PATCH] Update Rules --- .DS_Store | Bin 6148 -> 6148 bytes .gitignore | 1 + Build/build.js | 232 +++++++++ List/non_ip/reject.conf | 538 ++++++++++---------- Modules/Enable_doh.sgmodule | 5 - Modules/Game_Console_SNAT.sgmodule | 2 +- Modules/pixiv_remove_ads.sgmodule | 5 - Modules/sukka_mitm_hostnames.sgmodule | 7 + Modules/sukka_url_rewrite.sgmodule | 84 ++++ Sukka.conf | 680 -------------------------- readme.md | 15 - 11 files changed, 593 insertions(+), 976 deletions(-) create mode 100644 Build/build.js delete mode 100644 Modules/Enable_doh.sgmodule delete mode 100644 Modules/pixiv_remove_ads.sgmodule create mode 100644 Modules/sukka_mitm_hostnames.sgmodule create mode 100644 Modules/sukka_url_rewrite.sgmodule delete mode 100644 Sukka.conf delete mode 100644 readme.md diff --git a/.DS_Store b/.DS_Store index 6b08dcac7e6b259f3d653d5d87d2508656fbe197..2b0280ddf32eb2c0feba26d63c863beb303c2075 100644 GIT binary patch delta 32 ocmZoMXfc@J&&a(oU^g=(_hufJON^TZ*uFDPY%to)&heKY0IE(3hX4Qo delta 77 zcmZoMXfc@J&&abeU^g=(&t@K$ON{!Q3`Gp742cXW47osB4@jnX=Hw?Q<>V(ZFfa%( ZFfeulX}$koz`(HiHtR3O&Fmb1`2j7~7oq?F diff --git a/.gitignore b/.gitignore index e43b0f98..9daa8247 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ .DS_Store +node_modules diff --git a/Build/build.js b/Build/build.js new file mode 100644 index 00000000..85a6cc3d --- /dev/null +++ b/Build/build.js @@ -0,0 +1,232 @@ +const fs = require('fs'); +const { promises: fsPromises } = fs; +const pathFn = require('path'); +let table; + +const PRESET_MITM_HOSTNAMES = [ + '*baidu.com', + '*ydstatic.com', + 'bdsp-x.jd.com', + 'dsp-x.jd.com', + '*snssdk.com', + '*musical.com', + '*musical.ly', + '*snssdk.ly', + 'api.chelaile.net.cn', + 'atrace.chelaile.net.cn', + '*.meituan.net', + 'ctrl.playcvn.com', + 'ctrl.playcvn.net', + 'ctrl.zmzapi.com', + 'ctrl.zmzapi.net', + 'api.zhuishushenqi.com', + 'b.zhuishushenqi.com', + '*.music.126.net', + '*.prod.hosts.ooklaserver.net' +]; + +try { + table = require('table'); +} catch (e) { + console.log('Dependency "table" not found'); + console.log('"npm i table" then try again!'); + process.exit(1); +} + +(async () => { + const folderListPath = pathFn.resolve(__dirname, '../List/'); + const rulesets = await listDir(folderListPath); + let urlRegexPaths = []; + + urlRegexPaths.push( + ...(await fsPromises.readFile(pathFn.join(__dirname, '../Modules/sukka_url_rewrite.sgmodule'), { encoding: 'utf-8' })) + .split('\n') + .filter( + i => !i.startsWith('#') + && !i.startsWith('[') + ) + .map(i => i.split(' ')[0]) + .map(i => ({ + origin: i, + processed: i + .replaceAll('(www.)?', '{www or not}') + .replaceAll('^https?://', '') + .replaceAll('^https://', '') + .replaceAll('^http://', '') + .replaceAll('\\.', '.') + .replaceAll('.+', '*') + .replace(/(.*)\//, (_, $1) => $1) + })) + ); + + const bothWwwApexDomains = []; + urlRegexPaths = urlRegexPaths.map(i => { + if (!i.processed.includes('{www or not}')) return i; + + const d = i.processed.replace('{www or not}', ''); + bothWwwApexDomains.push({ + origin: i.origin, + processed: `www.${d}` + }); + + return { + origin: i.origin, + processed: d + }; + }); + + urlRegexPaths.push(...bothWwwApexDomains); + + await Promise.all(rulesets.map(async file => { + const content = (await fsPromises.readFile(pathFn.join(folderListPath, file), { encoding: 'utf-8' })).split('\n'); + urlRegexPaths.push( + ...content + .filter(i => i.startsWith('URL-REGEX')) + .map(i => i.split(',')[1]) + .map(i => ({ + origin: i, + processed: i + .replaceAll('^https?://', '') + .replaceAll('^https://', '') + .replaceAll('^http://', '') + .replaceAll('\\.', '.') + .replaceAll('.+', '*') + })) + ); + })); + + let mitmDomains = new Set(PRESET_MITM_HOSTNAMES); // Special case for parsed failed + const parsedFailures = new Set(); + + const dedupedUrlRegexPaths = [...new Set(urlRegexPaths)]; + + dedupedUrlRegexPaths.forEach(i => { + const result = parseDomain(i.processed); + + if (result.success) { + mitmDomains.add(result.hostname.trim()); + } else { + parsedFailures.add(i.origin); + } + }); + + mitmDomains = [...mitmDomains].filter(i => { + return i.length > 3 + && !i.includes('.mp4') // Special Case + && i !== '(www.)' // Special Case + && !(i !== '*baidu.com' && i.endsWith('baidu.com')) // Special Case + && !(i !== '*.meituan.net' && i.endsWith('.meituan.net')) + && !i.startsWith('.') + && !i.endsWith('.') + && !i.endsWith('*') + }); + + const mitmDomainsRegExpArray = mitmDomains.map(i => { + return new RegExp( + escapeRegExp(i) + .replaceAll('{www or not}', '(www.)?') + .replaceAll('\\*', '(.*)') + ) + }); + + const parsedDomainsData = []; + dedupedUrlRegexPaths.forEach(i => { + const result = parseDomain(i.processed); + + if (result.success) { + if (matchWithRegExpArray(result.hostname.trim(), mitmDomainsRegExpArray)) { + parsedDomainsData.push([green(result.hostname), i.origin]); + } else { + parsedDomainsData.push([yellow(result.hostname), i.origin]); + } + } + }); + + console.log('Mitm Hostnames:'); + console.log(mitmDomains.join(', ')); + console.log('Parsed Sucessed:'); + console.log(table.table(parsedDomainsData, { + border: table.getBorderCharacters('void'), + columnDefault: { + paddingLeft: 0, + paddingRight: 3 + }, + drawHorizontalLine: () => false + })); + console.log('--------------------'); + console.log('Parsed Failed'); + console.log([...parsedFailures].join('\n')); +})(); + +/** Util function */ +function green(...args) { + return `\u001b[32m${args.join(' ')}\u001b[0m`; +} +function yellow(...args) { + return `\u001b[33m${args.join(' ')}\u001b[0m`; +} + +function parseDomain(input) { + try { + const url = new URL(`https://${input}`); + return { + success: true, + hostname: url.hostname + } + } catch { + return { + success: false + } + } +} + +function matchWithRegExpArray(input, regexps = []) { + for (const r of regexps) { + if (r.test(input)) return true; + } + + return false; +} + +function escapeRegExp(string = '') { + const reRegExpChar = /[\\^$.*+?()[\]{}|]/g; + const reHasRegExpChar = RegExp(reRegExpChar.source); + + return string && reHasRegExpChar.test(string) + ? string.replace(reRegExpChar, '\\$&') + : string; +} + +function listDir(path, options) { + const results = []; + options = Object.assign({ ignoreHidden: true, ignorePattern: null }, options); + return listDirWalker(path, results, '', options).then(() => results); +} +function listDirWalker(path, results, parent, options) { + const promises = []; + return readAndFilterDir(path, options).then(items => { + items.forEach(item => { + const currentPath = pathFn.join(parent, item.name); + if (item.isDirectory()) { + promises.push(listDirWalker(pathFn.join(path, item.name), results, currentPath, options)); + } + else { + results.push(currentPath); + } + }); + }).then(() => Promise.all(promises)); +} +function readAndFilterDir(path, options) { + const { ignoreHidden = true, ignorePattern } = options; + return fs.promises.readdir(path, Object.assign(Object.assign({}, options), { withFileTypes: true })) + .then(results => { + if (ignoreHidden) { + results = results.filter(({ name }) => !name.startsWith('.')); + } + if (ignorePattern) { + results = results.filter(({ name }) => !ignorePattern.test(name)); + } + return results; + }); +} + diff --git a/List/non_ip/reject.conf b/List/non_ip/reject.conf index dbe7ce88..4b99861b 100644 --- a/List/non_ip/reject.conf +++ b/List/non_ip/reject.conf @@ -24,33 +24,33 @@ DOMAIN-KEYWORD,umeng # >> Google DOMAIN-KEYWORD,adsense DOMAIN-KEYWORD,adwords -URL-REGEX,^https?:\/\/.+\.youtube\.com\/api\/stats\/.+adformat -URL-REGEX,^https?:\/\/.+\.youtube\.com\/api\/stats\/ads -URL-REGEX,^https?:\/\/.+\.youtube\.com\/get_midroll -URL-REGEX,^https?:\/\/.+\.youtube\.com\/get_midroll_ -URL-REGEX,^https?:\/\/.+\.youtube\.com\/pagead\/ -URL-REGEX,^https?:\/\/.+\.youtube\.com\/ptracking -URL-REGEX,^https?:\/\/.+\.youtube\.com\/ptracking\? -URL-REGEX,^https?:\/\/premiumyva\.appspot\.com\/vmclickstoadvertisersite -URL-REGEX,^https?:\/\/youtubei\.googleapis\.com/.+ad_break -URL-REGEX,^https?:\/\/youtubei\.googleapis\.com\/youtubei\/.+ad_ -URL-REGEX,^https?:\/\/youtubei\.googleapis\.com\/youtubei\/.+log_ +URL-REGEX,^https?://.+\.youtube\.com/api/stats/.+adformat +URL-REGEX,^https?://.+\.youtube\.com/api/stats/ads +URL-REGEX,^https?://.+\.youtube\.com/get_midroll +URL-REGEX,^https?://.+\.youtube\.com/get_midroll_ +URL-REGEX,^https?://.+\.youtube\.com/pagead/ +URL-REGEX,^https?://.+\.youtube\.com/ptracking +URL-REGEX,^https?://.+\.youtube\.com/ptracking\? +URL-REGEX,^https?://premiumyva\.appspot\.com/vmclickstoadvertisersite +URL-REGEX,^https?://youtubei\.googleapis\.com/.+ad_break +URL-REGEX,^https?://youtubei\.googleapis\.com/youtubei/.+ad_ +URL-REGEX,^https?://youtubei\.googleapis\.com/youtubei/.+log_ # >> Alibaba DOMAIN-KEYWORD,nbsdk-baichuan # >> 4gtv -URL-REGEX,^https?:\/\/service\.4gtv\.tv\/4gtv\/Data\/GetAD -URL-REGEX,^https?:\/\/service\.4gtv\.tv\/4gtv\/Data\/ADLog +URL-REGEX,^https?://service\.4gtv\.tv/4gtv/Data/GetAD +URL-REGEX,^https?://service\.4gtv\.tv/4gtv/Data/ADLog # >> Baidu -URL-REGEX,^https?:\/\/.+\/client\/phpui2\/ -URL-REGEX,^https?:\/\/cover.baidu.com\/cover\/page\/dspSwitchAds\/ -URL-REGEX,^https?:\/\/c\.tieba\.baidu\.com\/c\/s\/splashSchedule -URL-REGEX,^https?:\/\/issuecdn\.baidupcs\.com\/issue\/netdisk\/guanggao\/ -URL-REGEX,^https?:\/\/update\.pan\.baidu\.com\/statistics -URL-REGEX,^http:\/\/[\s\S]*baidu\.com/.*ad[xs]\.php -URL-REGEX,^http:\/\/c\.tieba\.baidu\.com\/c\/s\/splashSchedule$ +URL-REGEX,^https?://.+/client/phpui2/ +URL-REGEX,^https?://cover.baidu.com/cover/page/dspSwitchAds/ +URL-REGEX,^https?://c\.tieba\.baidu\.com/c/s/splashSchedule +URL-REGEX,^https?://issuecdn\.baidupcs\.com/issue/netdisk/guanggao/ +URL-REGEX,^https?://update\.pan\.baidu\.com/statistics +URL-REGEX,^http://[\s\S]*baidu\.com/.*ad[xs]\.php +URL-REGEX,^http://c\.tieba\.baidu\.com/c/s/splashSchedule$ # >> BitAuto DOMAIN,adx.yiche.com @@ -60,93 +60,93 @@ DOMAIN,log.ycapp.yiche.com DOMAIN,thirdparty.biliapi.com DOMAIN,thirdparty.biliapi.net DOMAIN,cm.bilibili.com -URL-REGEX,^https?:\/\/app.bilibili.com\/x\/v2\/param -URL-REGEX,^https?:\/\/app.bilibili.com\/x\/resource\/abtest -URL-REGEX,^https?:\/\/app.bilibili.com\/x\/v2\/dataflow\/report -URL-REGEX,^https?:\/\/app.bilibili.com\/x\/v2\/search\/(defaultword|hot|recommend|resource) -URL-REGEX,^https?:\/\/app.bilibili.com\/x\/v2\/rank.*rid=(168|5) -URL-REGEX,^https?:\/\/api.bilibili.com\/pgc\/season\/rank\/cn +URL-REGEX,^https?://app.bilibili.com/x/v2/param +URL-REGEX,^https?://app.bilibili.com/x/resource/abtest +URL-REGEX,^https?://app.bilibili.com/x/v2/dataflow/report +URL-REGEX,^https?://app.bilibili.com/x/v2/search/(defaultword|hot|recommend|resource) +URL-REGEX,^https?://app.bilibili.com/x/v2/rank.*rid=(168|5) +URL-REGEX,^https?://api.bilibili.com/pgc/season/rank/cn AND,((USER-AGENT,bili*), (NOT,((DOMAIN-SUFFIX,bilibili.com))), (NOT,((DOMAIN-SUFFIX,hdslb.com))), (NOT,((DOMAIN-SUFFIX,wo.cn))), (NOT,((DOMAIN-SUFFIX,biligame.com))),(NOT,((DOMAIN-SUFFIX,bilivideo.com))), (NOT,((DOMAIN-SUFFIX,biliapi.com)))) -URL-REGEX,^https?:\/\/app\.bilibili\.com\/x\/v\d\/splash\/ +URL-REGEX,^https?://app\.bilibili\.com/x/v\d/splash/ # >> CNTV DOMAIN,galaxy.bjcathay.com DOMAIN,mdrecv.app.cntvwb.cn DOMAIN,sdapprecv.app.cntvwb.cn DOMAIN,vdapprecv.app.cntvwb.cn -URL-REGEX,^https?:\/\/asp\.cntv\.myalicdn\.com\/.+\?maxbr=850 -URL-REGEX,^https?:\/\/cntv\.hls\.cdn\.myqcloud\.com\/.+\?maxbr=850 -URL-REGEX,^https?:\/\/v\.cctv\.com\/.+850 -URL-REGEX,^https?:\/\/www\.cntv\.cn\/nettv\/adp\/ +URL-REGEX,^https?://asp\.cntv\.myalicdn\.com/.+\?maxbr=850 +URL-REGEX,^https?://cntv\.hls\.cdn\.myqcloud\.com/.+\?maxbr=850 +URL-REGEX,^https?://v\.cctv\.com/.+850 +URL-REGEX,^https?://www\.cntv\.cn/nettv/adp/ # >> Didi -URL-REGEX,^https:\/\/img-ys011\.didistatic\.com\/static\/ad_oss\/image-\d{4}-\d{4}\/ +URL-REGEX,^https://img-ys011\.didistatic\.com/static/ad_oss/image-\d{4}-\d{4}/ # >> iQiyi -URL-REGEX,^https?:\/\/act\.vip\.iqiyi\.com\/interact\/api\/show.do -URL-REGEX,^https?:\/\/act\.vip\.iqiyi\.com\/interact\/api\/v\d\/show -URL-REGEX,^https?:\/\/iface\.iqiyi\.com\/api\/getNewAdInfo -URL-REGEX,^https?:\/\/t7z\.cupid\.iqiyi\.com\/mixer\? +URL-REGEX,^https?://act\.vip\.iqiyi\.com/interact/api/show.do +URL-REGEX,^https?://act\.vip\.iqiyi\.com/interact/api/v\d/show +URL-REGEX,^https?://iface\.iqiyi\.com/api/getNewAdInfo +URL-REGEX,^https?://t7z\.cupid\.iqiyi\.com/mixer\? # >> Kingsoft DOMAIN,ad-stat.ksosoft.com DOMAIN,img.auction-ads.wpscdn.cn DOMAIN,minfo.wps.cn -URL-REGEX,^https?:/\/\counter\.ksosoft.com\/ad\.php -URL-REGEX,^https?:\/\/.+\.kingsoft-office-service\.com\/ad -URL-REGEX,^https?:\/\/counter\.ksosoft\.com\/ad\.php -URL-REGEX,^https?:\/\/dict-mobile\.iciba\.com\/interface\/index\.php\?.+(c=ad|collectFeedsAdShowCount|KSFeedsAdCardViewController) -URL-REGEX,^https?:\/\/ios\.wps\.cn\/ad-statistics-service -URL-REGEX,^https?:\/\/mobile-pic\.cache\.iciba\.com\/feeds_ad\/ -URL-REGEX,^https?:\/\/service\.iciba\.com\/popo\/open\/screens\/v\d\?adjson +URL-REGEX,^https?://\counter\.ksosoft.com/ad\.php +URL-REGEX,^https?://.+\.kingsoft-office-service\.com/ad +URL-REGEX,^https?://counter\.ksosoft\.com/ad\.php +URL-REGEX,^https?://dict-mobile\.iciba\.com/interface/index\.php\?.+(c=ad|collectFeedsAdShowCount|KSFeedsAdCardViewController) +URL-REGEX,^https?://ios\.wps\.cn/ad-statistics-service +URL-REGEX,^https?://mobile-pic\.cache\.iciba\.com/feeds_ad/ +URL-REGEX,^https?://service\.iciba\.com/popo/open/screens/v\d\?adjson # >> Netease -URL-REGEX,^http:\/\/p\d\.music\.126\.net\/\w+==\/\d+\.jpg$ -URL-REGEX,^http:\/\/iad.*mat\.[a-z]*\.12[67]\.net/\w+\.(jpg|mp4)$ -URL-REGEX,^https?:\/\/.+\/eapi\/(ad|log)\/ -URL-REGEX,^https?:\/\/client\.mail\.163\.com\/apptrack\/confinfo\/searchMultiAds -URL-REGEX,^https?:\/\/c\.m\.163\.com\/nc\/gl\/ -URL-REGEX,^https?:\/\/dsp-impr2\.youdao\.com\/adload.s\? -URL-REGEX,^https?:\/\/oimage([a-z])([0-9])\.ydstatic\.com\/.+adpublish -URL-REGEX,^https?:\/\/sp\.kaola\.com\/api\/openad -URL-REGEX,^https?:\/\/support\.you\.163\.com\/xhr\/boot\/getBootMedia\.json +URL-REGEX,^http://p\d\.music\.126\.net/\w+==/\d+\.jpg$ +URL-REGEX,^http://iad.*mat\.[a-z]*\.12[67]\.net/\w+\.(jpg|mp4)$ +URL-REGEX,^https?://.+/eapi/(ad|log)/ +URL-REGEX,^https?://client\.mail\.163\.com/apptrack/confinfo/searchMultiAds +URL-REGEX,^https?://c\.m\.163\.com/nc/gl/ +URL-REGEX,^https?://dsp-impr2\.youdao\.com/adload.s\? +URL-REGEX,^https?://oimage([a-z])([0-9])\.ydstatic\.com/.+adpublish +URL-REGEX,^https?://sp\.kaola\.com/api/openad +URL-REGEX,^https?://support\.you\.163\.com/xhr/boot/getBootMedia\.json # >> PConline -URL-REGEX,^https?:\/\/agent-count\.pconline\.com\.cn\/counter\/adAnalyse\/ -URL-REGEX,^https?:\/\/mrobot\.pcauto\.com\.cn\/v\d\/ad2p -URL-REGEX,^https?:\/\/mrobot\.pcauto\.com\.cn\/xsp\/s\/auto\/info\/preload\.xsp -URL-REGEX,^https?:\/\/mrobot\.pconline\.com\.cn\/s\/onlineinfo\/ad\/ -URL-REGEX,^https?:\/\/mrobot\.pconline\.com\.cn\/v\d\/ad2p +URL-REGEX,^https?://agent-count\.pconline\.com\.cn/counter/adAnalyse/ +URL-REGEX,^https?://mrobot\.pcauto\.com\.cn/v\d/ad2p +URL-REGEX,^https?://mrobot\.pcauto\.com\.cn/xsp/s/auto/info/preload\.xsp +URL-REGEX,^https?://mrobot\.pconline\.com\.cn/s/onlineinfo/ad/ +URL-REGEX,^https?://mrobot\.pconline\.com\.cn/v\d/ad2p # >> Tencent -URL-REGEX,^https?:\/\/edit\.sinaapp\.com\/ua\?t=adv +URL-REGEX,^https?://edit\.sinaapp\.com/ua\?t=adv # >> Sina Weather -URL-REGEX,^https?:\/\/tqt\.weibo\.cn\/.+advert\.index -URL-REGEX,^https?:\/\/tqt\.weibo\.cn\/api\/advert\/ -URL-REGEX,^https?:\/\/tqt\.weibo\.cn\/overall\/redirect\.php\?r=tqtad -URL-REGEX,^https?:\/\/tqt\.weibo\.cn\/overall\/redirect\.php\?r=tqt_sdkad +URL-REGEX,^https?://tqt\.weibo\.cn/.+advert\.index +URL-REGEX,^https?://tqt\.weibo\.cn/api/advert/ +URL-REGEX,^https?://tqt\.weibo\.cn/overall/redirect\.php\?r=tqtad +URL-REGEX,^https?://tqt\.weibo\.cn/overall/redirect\.php\?r=tqt_sdkad # >> Sina Weibo -URL-REGEX,^https?:\/\/sdkapp\.uve\.weibo\.com\/interface\/sdk\/sdkad\.php -URL-REGEX,^https?:\/\/wbapp\.uve\.weibo\.com\/wbapplua\/wbpullad\.lua -URL-REGEX,^https?:\/\/sdkapp\.uve\.weibo\.com/\interface\/sdk\/actionad\.php +URL-REGEX,^https?://sdkapp\.uve\.weibo\.com/interface/sdk/sdkad\.php +URL-REGEX,^https?://wbapp\.uve\.weibo\.com/wbapplua/wbpullad\.lua +URL-REGEX,^https?://sdkapp\.uve\.weibo\.com/\interface/sdk/actionad\.php # >> Sohu -URL-REGEX,^https?:\/\/api\.k\.sohu\.com\/api\/news\/adsense -URL-REGEX,^https?:\/\/api\.tv\.sohu\.com\/agg\/api\/app\/config\/bootstrap -URL-REGEX,^https?:\/\/hui\.sohu\.com\/predownload2/\? -URL-REGEX,^https?:\/\/pic\.k\.sohu\.com\/img8\/wb\/tj\/ -URL-REGEX,^https?:\/\/s1\.api\.tv\.itc\.cn\/v\d\/mobile\/control\/switch\.json +URL-REGEX,^https?://api\.k\.sohu\.com/api/news/adsense +URL-REGEX,^https?://api\.tv\.sohu\.com/agg/api/app/config/bootstrap +URL-REGEX,^https?://hui\.sohu\.com/predownload2/\? +URL-REGEX,^https?://pic\.k\.sohu\.com/img8/wb/tj/ +URL-REGEX,^https?://s1\.api\.tv\.itc\.cn/v\d/mobile/control/switch\.json # >> JD -URL-REGEX,^http:\/\/api\.m\.jd\.com\/client\.action\?functionId=start$ -URL-REGEX,^https?:\/\/(bdsp-x|dsp-x)\.jd\.com\/adx\/ -URL-REGEX,^https?:\/\/api\.m\.jd.com\/client\.action\?functionId=start -URL-REGEX,^https?:\/\/ms\.jr\.jd\.com\/gw\/generic\/base\/na\/m\/adInfo +URL-REGEX,^http://api\.m\.jd\.com/client\.action\?functionId=start$ +URL-REGEX,^https?://(bdsp-x|dsp-x)\.jd\.com/adx/ +URL-REGEX,^https?://api\.m\.jd.com/client\.action\?functionId=start +URL-REGEX,^https?://ms\.jr\.jd\.com/gw/generic/base/na/m/adInfo # >> TikTok (include China / Internation Version) -URL-REGEX,^https:\/\/[a-zA-Z]{2}\.snssdk\.com\/api\/ad\/ +URL-REGEX,^https://[a-zA-Z]{2}\.snssdk\.com/api/ad/ # >> Tonghuahshun DOMAIN,adm.10jqka.com.cn @@ -156,11 +156,11 @@ DOMAIN,stat.10jqka.com.cn DOMAIN,adtrack.ucweb.com DOMAIN,applogios.uc.cn DOMAIN,track.uc.cn -URL-REGEX,^https?:\/\/huichuan\.sm\.cn\/jsad -URL-REGEX,^https?:\/\/iflow\.uczzd\.cn\/log\/ +URL-REGEX,^https?://huichuan\.sm\.cn/jsad +URL-REGEX,^https?://iflow\.uczzd\.cn/log/ # > WeChat -URL-REGEX,^https:\/\/mp\.weixin\.qq\.com\/mp\/getappmsgad +URL-REGEX,^https://mp\.weixin\.qq\.com/mp/getappmsgad # >> XiGuaVideo DOMAIN-KEYWORD,ad.ixigua.com @@ -168,31 +168,31 @@ DOMAIN-KEYWORD,ad.ixigua.com # >> XiMaLaYa DOMAIN,ad.ximalaya.com DOMAIN,adse.ximalaya.com -URL-REGEX,^https?:\/\/adse.+\.com\/[a-z]{4}\/loading\?appid= -URL-REGEX,^https?:\/\/adse\.ximalaya\.com\/ting\/feed\?appid= -URL-REGEX,^https?:\/\/adse\.ximalaya\.com\/ting\/loading\?appid= -URL-REGEX,^https?:\/\/adse\.ximalaya\.com\/ting\?appid= -URL-REGEX,^https?:\/\/fdfs\.xmcdn\.com\/group21\/M03\/E7\/3F\/ -URL-REGEX,^https?:\/\/fdfs\.xmcdn\.com\/group21\/M0A\/95\/3B\/ -URL-REGEX,^https?:\/\/fdfs\.xmcdn\.com\/group22\/M00\/92\/FF\/ -URL-REGEX,^https?:\/\/fdfs\.xmcdn\.com\/group22\/M05\/66\/67\/ -URL-REGEX,^https?:\/\/fdfs\.xmcdn\.com\/group22\/M07\/76\/54\/ -URL-REGEX,^https?:\/\/fdfs\.xmcdn\.com\/group23\/M01\/63\/F1\/ -URL-REGEX,^https?:\/\/fdfs\.xmcdn\.com\/group23\/M04\/E5\/F6\/ -URL-REGEX,^https?:\/\/fdfs\.xmcdn\.com\/group23\/M07\/81\/F6\/ -URL-REGEX,^https?:\/\/fdfs\.xmcdn\.com\/group23\/M0A\/75\/AA\/ -URL-REGEX,^https?:\/\/fdfs\.xmcdn\.com\/group24\/M03\/E6\/09\/ -URL-REGEX,^https?:\/\/fdfs\.xmcdn\.com\/group24\/M07\/C4\/3D\/ -URL-REGEX,^https?:\/\/fdfs\.xmcdn\.com\/group25\/M05\/92\/D1\/ +URL-REGEX,^https?://adse\.ximalaya\.com/[a-z]{4}/loading\?appid= +URL-REGEX,^https?://adse\.ximalaya\.com/ting/feed\?appid= +URL-REGEX,^https?://adse\.ximalaya\.com/ting/loading\?appid= +URL-REGEX,^https?://adse\.ximalaya\.com/ting\?appid= +URL-REGEX,^https?://fdfs\.xmcdn\.com/group21/M03/E7/3F/ +URL-REGEX,^https?://fdfs\.xmcdn\.com/group21/M0A/95/3B/ +URL-REGEX,^https?://fdfs\.xmcdn\.com/group22/M00/92/FF/ +URL-REGEX,^https?://fdfs\.xmcdn\.com/group22/M05/66/67/ +URL-REGEX,^https?://fdfs\.xmcdn\.com/group22/M07/76/54/ +URL-REGEX,^https?://fdfs\.xmcdn\.com/group23/M01/63/F1/ +URL-REGEX,^https?://fdfs\.xmcdn\.com/group23/M04/E5/F6/ +URL-REGEX,^https?://fdfs\.xmcdn\.com/group23/M07/81/F6/ +URL-REGEX,^https?://fdfs\.xmcdn\.com/group23/M0A/75/AA/ +URL-REGEX,^https?://fdfs\.xmcdn\.com/group24/M03/E6/09/ +URL-REGEX,^https?://fdfs\.xmcdn\.com/group24/M07/C4/3D/ +URL-REGEX,^https?://fdfs\.xmcdn\.com/group25/M05/92/D1/ # >> Zhihu -URL-REGEX,^https?:\/\/www\.zhihu\.com\/terms\/privacy\/confirm -URL-REGEX,^https?:\/\/api\.zhihu\.com\/market\/popover -URL-REGEX,^https?:\/\/api\.zhihu\.com\/search\/(top|tab|preset) -URL-REGEX,^https?:\/\/api\.zhihu\.com\/(launch|ad-style-service|app_config|real_time|ab\/api) -URL-REGEX,^https?:\/\/api\.zhihu\.com\/commercial_api\/(launch|real_time) -URL-REGEX,^https?:\/\/(api|www)\.zhihu\.com\/.*(featured-comment-ad|recommendations|community-ad) -URL-REGEX,^https?:\/\/(api|www)\.zhihu\.com\/(fringe|adx|commercial|ad-style-service|banners|mqtt) +URL-REGEX,^https?://www\.zhihu\.com/terms/privacy/confirm +URL-REGEX,^https?://api\.zhihu\.com/market/popover +URL-REGEX,^https?://api\.zhihu\.com/search/(top|tab|preset) +URL-REGEX,^https?://api\.zhihu\.com/(launch|ad-style-service|app_config|real_time|ab/api) +URL-REGEX,^https?://api\.zhihu\.com/commercial_api/(launch|real_time) +URL-REGEX,^https?://(api|www)\.zhihu\.com/.*(featured-comment-ad|recommendations|community-ad) +URL-REGEX,^https?://(api|www)\.zhihu\.com/(fringe|adx|commercial|ad-style-service|banners|mqtt) # >> 2345 DOMAIN-SUFFIX,50bang.org @@ -207,292 +207,290 @@ DOMAIN,disqusads.com DOMAIN,track.58.com DOMAIN,adshow.58.com DOMAIN,tracklog.58.com -URL-REGEX,^https?:\/\/.+\.58cdn\.com\.cn\/brandads\/ -URL-REGEX,^https?:\/\/app\.58\.com\/api\/home\/advertising\/ -URL-REGEX,^https?:\/\/app\.58\.com\/api\/home\/appadv\/ -URL-REGEX,^https?:\/\/app\.58\.com\/api\/home\/invite\/popupAdv -URL-REGEX,^https?:\/\/app\.58\.com\/api\/log\/ +URL-REGEX,^https?://.+\.58cdn\.com\.cn/brandads/ +URL-REGEX,^https?://app\.58\.com/api/home/advertising/ +URL-REGEX,^https?://app\.58\.com/api/home/appadv/ +URL-REGEX,^https?://app\.58\.com/api/home/invite/popupAdv +URL-REGEX,^https?://app\.58\.com/api/log/ # >> Acfun DOMAIN,apilog-web.acfun.cn -URL-REGEX,^https?:\/\/aes\.acfun\.cn\/s\?adzones +URL-REGEX,^https?://aes\.acfun\.cn/s\?adzones # >> ByteDance DOMAIN-SUFFIX,mcs.snssdk.com -URL-REGEX,^https?:\/\/.+\.(musical|snssdk)\.(com|ly)\/(api|motor)\/ad\/ -URL-REGEX,^https?:\/\/.+\.pstatp\.com\/img\/ad -URL-REGEX,^https?:\/\/.+\.snssdk\.com\/motor\/operation\/activity\/display\/config\/v\d\/ -URL-REGEX,^https?:\/\/dsp\.toutiao\.com\/api\/xunfei\/ads\/ +URL-REGEX,^https?://.+\.(musical|snssdk)\.(com|ly)/(api|motor)/ad/ +URL-REGEX,^https?://.+\.pstatp\.com/img/ad +URL-REGEX,^https?://.+\.snssdk\.com/motor/operation/activity/display/config/v\d/ +URL-REGEX,^https?://dsp\.toutiao\.com/api/xunfei/ads/ # >> Kuaishou DOMAIN,log-sdk.gifshow.com DOMAIN,wlog.kuaishou.com # >> Ai NanNing -URL-REGEX,^https?:\/\/nnapp\.cloudbae\.cn\/mc\/api\/advert/ +URL-REGEX,^https?://nnapp\.cloudbae\.cn/mc/api/advert/ # >> Aihuishou -URL-REGEX,^https?:\/\/gw\.aihuishou\.com\/app-portal\/home\/getadvertisement +URL-REGEX,^https?://gw\.aihuishou\.com/app-portal/home/getadvertisement # >> AMap -URL-REGEX,^https?:\/\/m\d{1}\.amap\.com\/ws\/valueadded\/alimama\/splash_screen\/ +URL-REGEX,^https?://m\d{1}\.amap\.com/ws/valueadded/alimama/splash_screen/ # >> Baicizhan -URL-REGEX,^https?:\/\/7n\.bczcdn\.com\/launchad\/ +URL-REGEX,^https?://7n\.bczcdn\.com/launchad/ # >> Baobao -URL-REGEX,^https?:\/\/www\.myhug\.cn\/ad\/ +URL-REGEX,^https?://www\.myhug\.cn/ad/ # >> Beike Zhaofang -URL-REGEX,^https?:\/\/app\.api\.ke\.com\/config\/config\/bootpage +URL-REGEX,^https?://app\.api\.ke\.com/config/config/bootpage # >> Beitaicuhfang -URL-REGEX,^https?:\/\/channel\.beitaichufang\.com\/channel\/api\/v\d\/promote\/ios\/start\/page +URL-REGEX,^https?://channel\.beitaichufang\.com/channel/api/v\d/promote/ios/start/page # >> Bi ShiJie -URL-REGEX,^https?:\/\/iapi\.bishijie\.com\/actopen\/advertising\/ +URL-REGEX,^https?://iapi\.bishijie\.com/actopen/advertising/ # >> CamScanner -URL-REGEX,^https?:\/\/api\.intsig\.net\/user\/cs\/operating\/app\/get_startpic\/ +URL-REGEX,^https?://api\.intsig\.net/user/cs/operating/app/get_startpic/ # >> Caocao Chuxin -URL-REGEX,^https?:\/\/cap\.caocaokeji\.cn\/advert-bss\/ +URL-REGEX,^https?://cap\.caocaokeji\.cn/advert-bss/ # >> Chelaile -URL-REGEX,^https?:\/\/(api|atrace)\.chelaile\.net\.cn\/adpub\/ -URL-REGEX,^https?:\/\/api\.chelaile\.net\.cn\/goocity\/advert\/ -URL-REGEX,^https?:\/\/atrace\.chelaile\.net\.cn\/exhibit\?&adv_image -URL-REGEX,^https?:\/\/pic1\.chelaile\.net\.cn\/adv\/ +URL-REGEX,^https?://(api|atrace)\.chelaile\.net\.cn/adpub/ +URL-REGEX,^https?://api\.chelaile\.net\.cn/goocity/advert/ +URL-REGEX,^https?://atrace\.chelaile\.net\.cn/exhibit\?&adv_image +URL-REGEX,^https?://pic1\.chelaile\.net\.cn/adv/ # >> ChinaMobile -URL-REGEX,^https?:\/\/app\.10086\.cn\/biz-orange\/DN\/(findSale|homeSale)\/getsaleAdver +URL-REGEX,^https?://app\.10086\.cn/biz-orange/DN/(findSale|homeSale)/getsaleAdver # >> ChinaUnicom -URL-REGEX,^https?:\/\/m\.client\.10010\.com\/mobileService\/customer\/accountListData\.htm -URL-REGEX,^https?:\/\/m\.client\.10010\.com\/uniAdmsInterface\/(getWelcomeAd|getHomePageAd) +URL-REGEX,^https?://m\.client\.10010\.com/mobileService/customer/accountListData\.htm +URL-REGEX,^https?://m\.client\.10010\.com/uniAdmsInterface/(getWelcomeAd|getHomePageAd) # >> DanDan Zan -URL-REGEX,^https?:\/\/www\.dandanzan\.com\/res\/gdsefse\.js +URL-REGEX,^https?://www\.dandanzan\.com/res/gdsefse\.js # >> DangDang -URL-REGEX,^https?:\/\/mapi\.dangdang\.com\/index\.php\?action=init +URL-REGEX,^https?://mapi\.dangdang\.com/index\.php\?action=init # >> DayDayCook -URL-REGEX,^https?:\/\/api\.daydaycook\.com\.cn\/daydaycook\/server\/ad\/ -URL-REGEX,^https?:\/\/cms\.daydaycook\.com\.cn\/api\/cms\/advertisement\/ +URL-REGEX,^https?://api\.daydaycook\.com\.cn/daydaycook/server/ad/ +URL-REGEX,^https?://cms\.daydaycook\.com\.cn/api/cms/advertisement/ # >> eLong -URL-REGEX,^https?:\/\/mobile-api2011\.elong\.com\/(adgateway|adv)\/ +URL-REGEX,^https?://mobile-api2011\.elong\.com/(adgateway|adv)/ # >> Facebook -URL-REGEX,^https?:\/\/www\.facebook\.com\/.+video_click_to_advertiser_site +URL-REGEX,^https?://www\.facebook\.com/.+video_click_to_advertiser_site # >> Fliggy -URL-REGEX,^https?:\/\/acs\.m\.taobao\.com\/gw\/mtop\.trip\.activity\.querytmsresources\/ +URL-REGEX,^https?://acs\.m\.taobao\.com/gw/mtop\.trip\.activity\.querytmsresources/ # >> Flyer Tea -URL-REGEX,^https?:\/\/www\.flyertea\.com\/source\/plugin\/mobile\/mobile\.php\?module=advis +URL-REGEX,^https?://www\.flyertea\.com/source/plugin/mobile/mobile\.php\?module=advis # >> Foodie -URL-REGEX,^https?:\/\/foodie-api\.yiruikecorp\.com\/v\d\/(banner|notice)\/overview +URL-REGEX,^https?://foodie-api\.yiruikecorp\.com/v\d/(banner|notice)/overview # >> FOTOABLE -URL-REGEX,^https?:\/\/cdn\.api\.fotoable\.com\/Advertise\/ +URL-REGEX,^https?://cdn\.api\.fotoable\.com/Advertise/ # >> Gofun -URL-REGEX,^https?:\/\/gateway\.shouqiev\.com\/fsda\/app\/bootImage\.json +URL-REGEX,^https?://gateway\.shouqiev\.com/fsda/app/bootImage\.json # >> Hangzhou Bus -URL-REGEX,^https?:\/\/m\.ibuscloud.com\/v\d\/app\/getStartPage +URL-REGEX,^https?://m\.ibuscloud.com/v\d/app/getStartPage # >> Hangzhou Citizen Card -URL-REGEX,^https?:\/\/smkmp\.96225.com\/smkcenter\/ad/ +URL-REGEX,^https?://smkmp\.96225.com/smkcenter/ad/ # >> Hupu -URL-REGEX,^https?:\/\/games\.mobileapi\.hupu\.com\/.+\/(interfaceAdMonitor|interfaceAd)\/ -URL-REGEX,^https?:\/\/games\.mobileapi\.hupu\.com\/.+\/status\/init +URL-REGEX,^https?://games\.mobileapi\.hupu\.com/.+/(interfaceAdMonitor|interfaceAd)/ +URL-REGEX,^https?://games\.mobileapi\.hupu\.com/.+/status/init # >> IdleFish -URL-REGEX,^https?:\/\/acs\.m\.taobao\.com\/gw\/mtop\.taobao\.idle\.home\.welcome\/ +URL-REGEX,^https?://acs\.m\.taobao\.com/gw/mtop\.taobao\.idle\.home\.welcome/ # >> iFlytek -URL-REGEX,^https?:\/\/imeclient\.openspeech\.cn\/adservice\/ +URL-REGEX,^https?://imeclient\.openspeech\.cn/adservice/ # >> Jiemian -URL-REGEX,^https?:\/\/img\.jiemian\.com\/ads\/ +URL-REGEX,^https?://img\.jiemian\.com/ads/ # >> JXEDT -URL-REGEX,^https?:\/\/api\.jxedt\.com\/ad\/ -URL-REGEX,^https?:\/\/richmanapi\.jxedt\.com\/api\/ad\/ +URL-REGEX,^https?://api\.jxedt\.com/ad/ +URL-REGEX,^https?://richmanapi\.jxedt\.com/api/ad/ # >> Keep -URL-REGEX,^https?:\/\/static1\.keepcdn\.com\/.+\d{3}x\d{4} -URL-REGEX,^https?:\/\/api\.gotokeep\.com\/ads\/ +URL-REGEX,^https?://static1\.keepcdn\.com/.+\d{3}x\d{4} +URL-REGEX,^https?://api\.gotokeep\.com/ads/ # >> KFC -URL-REGEX,^https?:\/\/res\.kfc\.com\.cn\/advertisement\/ +URL-REGEX,^https?://res\.kfc\.com\.cn/advertisement/ # >> KouBei -URL-REGEX,^https?:\/\/acs\.m\.taobao\.com\/gw\/mtop\.o2o\.ad\.gateway\.get\/ -URL-REGEX,^https?:\/\/render\.alipay\.com\/p\/s\/h5data\/prod\/spring-festival-2019-h5data\/popup-h5data\.json +URL-REGEX,^https?://acs\.m\.taobao\.com/gw/mtop\.o2o\.ad\.gateway\.get/ +URL-REGEX,^https?://render\.alipay\.com/p/s/h5data/prod/spring-festival-2019-h5data/popup-h5data\.json # >> Kuaikan Comic -URL-REGEX,^https?:\/\/api\.kkmh\.com\/.+(ad|advertisement)\/ +URL-REGEX,^https?://api\.kkmh\.com/.+(ad|advertisement)/ # >> Le -URL-REGEX,^https?:\/\/.+\/letv-gug\/ +URL-REGEX,^https?://.+/letv-gug/ # >> 首汽约车 -URL-REGEX,^https?:\/\/gw-passenger\.01zhuanche\.com\/gw-passenger\/car-rest\/webservice\/passenger\/recommendADs -URL-REGEX,^https?:\/\/gw-passenger\.01zhuanche\.com\/gw-passenger\/zhuanche-passenger-token\/leachtoken\/webservice\/homepage\/queryADs +URL-REGEX,^https?://gw-passenger\.01zhuanche\.com/gw-passenger/car-rest/webservice/passenger/recommendADs +URL-REGEX,^https?://gw-passenger\.01zhuanche\.com/gw-passenger/zhuanche-passenger-token/leachtoken/webservice/homepage/queryADs # >> SMZDM -URL-REGEX,^https?:\/\/api\.smzdm\.com\/v\d\/util\/loading +URL-REGEX,^https?://api\.smzdm\.com/v\d/util/loading # >> Snail Sleep -URL-REGEX,^https?:\/\/snailsleep\.net\/snail\/v\d\/adTask\/ -URL-REGEX,^https?:\/\/snailsleep\.net\/snail\/v\d\/screen\/qn\/get\? +URL-REGEX,^https?://snailsleep\.net/snail/v\d/adTask/ +URL-REGEX,^https?://snailsleep\.net/snail/v\d/screen/qn/get\? # >> StarFans -URL-REGEX,^https?:\/\/a\.sfansclub\.com\/business\/t\/ad\/ -URL-REGEX,^https?:\/\/a\.sfansclub\.com\/business\/t\/boot\/screen\/index +URL-REGEX,^https?://a\.sfansclub\.com/business/t/ad/ +URL-REGEX,^https?://a\.sfansclub\.com/business/t/boot/screen/index # >> TaPiaoPiao -URL-REGEX,^https?:\/\/acs\.m\.taobao\.com\/gw\/mtop\.film\.mtopadvertiseapi\.queryadvertise\/ +URL-REGEX,^https?://acs\.m\.taobao\.com/gw/mtop\.film\.mtopadvertiseapi\.queryadvertise/ # >> Tencent Futu Securities -URL-REGEX,^https?:\/\/api5\.futunn\.com\/ad\/ +URL-REGEX,^https?://api5\.futunn\.com/ad/ # >> Tencent Game -URL-REGEX,^https?:\/\/qt\.qq\.com\/lua\/mengyou\/get_splash_screen_info -URL-REGEX,^https?:\/\/ssl\.kohsocialapp\.qq\.com:10001\/game\/buttons +URL-REGEX,^https?://qt\.qq\.com/lua/mengyou/get_splash_screen_info +URL-REGEX,^https?://ssl\.kohsocialapp\.qq\.com:10001/game/buttons # >> Tencent Maps -URL-REGEX,^https?:\/\/3gimg\.qq\.com\/tencentMapTouch\/app\/activity\/ -URL-REGEX,^https?:\/\/newsso\.map\.qq\.com\/\?&attime= +URL-REGEX,^https?://3gimg\.qq\.com/tencentMapTouch/app/activity/ +URL-REGEX,^https?://newsso\.map\.qq\.com/\?&attime= # >> Tencent News -URL-REGEX,^https?:\/\/r\.inews\.qq\.com\/adsBlacklist -URL-REGEX,^https?:\/\/r\.inews\.qq\.com\/getFullScreenPic -URL-REGEX,^https?:\/\/r\.inews\.qq\.com\/getQQNewsRemoteConfig +URL-REGEX,^https?://r\.inews\.qq\.com/adsBlacklist +URL-REGEX,^https?://r\.inews\.qq\.com/getFullScreenPic +URL-REGEX,^https?://r\.inews\.qq\.com/getQQNewsRemoteConfig # >> Tencent QQLive -URL-REGEX,^https?:\/\/.+\.mp4\?cdncode=.+&guid= -URL-REGEX,^https?:\/\/.+\.mp4\?cdncode=.+&sdtfrom=v3004 -URL-REGEX,^https?:\/\/btrace.qq.com -URL-REGEX,^https?:\/\/vv\.video\.qq\.com\/getvmind\? +URL-REGEX,^https?://.+\.mp4\?cdncode=.+&guid= +URL-REGEX,^https?://.+\.mp4\?cdncode=.+&sdtfrom=v3004 +URL-REGEX,^https?://btrace.qq.com +URL-REGEX,^https?://vv\.video\.qq\.com/getvmind\? # >> Tencent WeChat -URL-REGEX,^https?:\/\/mp\.weixin\.qq.com\/mp\/advertisement_report -URL-REGEX,^https?:\/\/mp\.weixin\.qq.com\/mp\/ad_complaint -URL-REGEX,^https?:\/\/mp\.weixin\.qq.com\/mp\/ad_video +URL-REGEX,^https?://mp\.weixin\.qq.com/mp/advertisement_report +URL-REGEX,^https?://mp\.weixin\.qq.com/mp/ad_complaint +URL-REGEX,^https?://mp\.weixin\.qq.com/mp/ad_video # >> The Paper -URL-REGEX,^https?:\/\/adpai\.thepaper\.cn\/.+&ad= +URL-REGEX,^https?://adpai\.thepaper\.cn/.+&ad= # >> Thunder -URL-REGEX,^https?:\/\/images\.client\.vip\.xunlei\.com\/.+\/advert\/ +URL-REGEX,^https?://images\.client\.vip\.xunlei\.com/.+/advert/ # >> tskscn -URL-REGEX,^https?:\/\/47\.97\.20\.12\/ad\/ +URL-REGEX,^https?://47\.97\.20\.12/ad/ # >> TV_Home -URL-REGEX,^https?:\/\/api\.gaoqingdianshi\.com\/api\/v\d\/ad\/ +URL-REGEX,^https?://api\.gaoqingdianshi\.com/api/v\d/ad/ # >> txffp -URL-REGEX,^https?:\/\/pss\.txffp\.com\/piaogen\/images\/launchScreen/ +URL-REGEX,^https?://pss\.txffp\.com/piaogen/images/launchScreen/ # >> Variflight -URL-REGEX,^https:\/\/app\.variflight\.com\/v4\/advert\/ +URL-REGEX,^https://app\.variflight\.com/v4/advert/ # >> VUE -URL-REGEX,^https?:\/\/static\.vuevideo\.net\/styleAssets\/.+\/splash_ad -URL-REGEX,^https?:\/\/static\.vuevideo\.net\/styleAssets\/advertisement\/ +URL-REGEX,^https?://static\.vuevideo\.net/styleAssets/.+/splash_ad +URL-REGEX,^https?://static\.vuevideo\.net/styleAssets/advertisement/ # >> WallStreetCN -URL-REGEX,^https?:\/\/api\.wallstreetcn\.com\/apiv\d\/advertising\/ +URL-REGEX,^https?://api\.wallstreetcn\.com/apiv\d/advertising/ # >> WeDoctor -URL-REGEX,^https?:\/\/app\.wy\.guahao\.com\/json\/white\/dayquestion\/getpopad +URL-REGEX,^https?://app\.wy\.guahao\.com/json/white/dayquestion/getpopad # >> Weico -URL-REGEX,^https?:\/\/overseas\.weico\.cc/portal\.php\?a=get_coopen_ads +URL-REGEX,^https?://overseas\.weico\.cc/portal\.php\?a=get_coopen_ads # >> WeiDian -URL-REGEX,^https?:\/\/thor\.weidian\.com\/ares\/home\.splash\/ +URL-REGEX,^https?://thor\.weidian\.com/ares/home\.splash/ # >> WiFi Share Master -URL-REGEX,^https?:\/\/nochange\.ggsafe\.com\/ad\/ +URL-REGEX,^https?://nochange\.ggsafe\.com/ad/ # >> WIFI8 -URL-REGEX,^https?:\/\/cmsapi\.wifi8\.com\/v\d\/emptyAd\/info -URL-REGEX,^https?:\/\/cmsapi\.wifi8\.com\/v\d\/adNew\/config +URL-REGEX,^https?://cmsapi\.wifi8\.com/v\d/emptyAd/info +URL-REGEX,^https?://cmsapi\.wifi8\.com/v\d/adNew/config # >> Wuta Cam -URL-REGEX,^https?:\/\/api-release\.wuta-cam\.com\/ad_tree -URL-REGEX,^https?:\/\/res-release\.wuta-cam\.com\/json\/ads_component_cache\.json +URL-REGEX,^https?://api-release\.wuta-cam\.com/ad_tree +URL-REGEX,^https?://res-release\.wuta-cam\.com/json/ads_component_cache\.json # >> Xiachufang -URL-REGEX,^https?:\/\/api\.xiachufang\.com\/v\d\/ad/ +URL-REGEX,^https?://api\.xiachufang\.com/v\d/ad/ # >> Luckin Coffee -URL-REGEX,^https?:\/\/.+\/resource\/m\/promo\/adsense -URL-REGEX,^https?:\/\/.+\/resource\/m\/sys\/app\/adpos +URL-REGEX,^https?://.+/resource/m/promo/adsense +URL-REGEX,^https?://.+/resource/m/sys/app/adpos # >> MaFengWo -URL-REGEX,^https?:\/\/mapi\.mafengwo\.cn\/ad\/ -URL-REGEX,^https?:\/\/mapi\.mafengwo\.cn\/travelguide\/ad\/ +URL-REGEX,^https?://mapi\.mafengwo\.cn/ad/ +URL-REGEX,^https?://mapi\.mafengwo\.cn/travelguide/ad/ # >> Mahua Video -URL-REGEX,^https?:\/\/.+\/api\/app\/member\/ver2\/user\/login\/ +URL-REGEX,^https?://.+/api/app/member/ver2/user/login/ # >> Maiduidui -URL-REGEX,^https?:\/\/mob\.mddcloud\.com\.cn\/api\/(ad|advert)\/ +URL-REGEX,^https?://mob\.mddcloud\.com\.cn/api/(ad|advert)/ # >> Manhuaren -URL-REGEX,^https?:\/\/mangaapi\.manhuaren\.com\/v\d\/public\/getStartPageAds +URL-REGEX,^https?://mangaapi\.manhuaren\.com/v\d/public/getStartPageAds # >> Meituan -URL-REGEX,^https?:\/\/img\.meituan\.net\/midas\/ -URL-REGEX,^https?:\/\/p([0-9])\.meituan\.net\/(mmc|wmbanner)\/ -URL-REGEX,^https?:\/\/p\d{1}\.meituan\.net\/(adunion|display|linglong|mmc|wmbanner)\/ -URL-REGEX,^https?:\/\/s3plus\.meituan\.net\/.+\/linglong\/ +URL-REGEX,^https?://img\.meituan\.net/midas/ +URL-REGEX,^https?://p([0-9])\.meituan\.net/(mmc|wmbanner)/ +URL-REGEX,^https?://p\d{1}\.meituan\.net/(adunion|display|linglong|mmc|wmbanner)/ +URL-REGEX,^https?://s3plus\.meituan\.net/.+/linglong/ # >> Meiweibuyongdeng -URL-REGEX,^https?:\/\/capi.mwee.cn/app-api/V12/app/getstartad +URL-REGEX,^https?://capi.mwee.cn/app-api/V12/app/getstartad # >> MI -URL-REGEX,^https?:\/\/api\.m\.mi\.com\/v\d\/app\/start -URL-REGEX,^https?:\/\/api\.jr\.mi\.com\/v\d\/adv\/ -URL-REGEX,^https?:\/\/api\.jr\.mi\.com\/jr\/api\/playScreen +URL-REGEX,^https?://api\.m\.mi\.com/v\d/app/start +URL-REGEX,^https?://api\.jr\.mi\.com/v\d/adv/ +URL-REGEX,^https?://api\.jr\.mi\.com/jr/api/playScreen # >> MI Fit -URL-REGEX,^https?:\/\/api-mifit\.huami\.com\/discovery\/mi\/discovery\/homepage_ad\? -URL-REGEX,^https?:\/\/api-mifit\.huami\.com\/discovery\/mi\/discovery\/sleep_ad\? -URL-REGEX,^https?:\/\/api-mifit\.huami\.com\/discovery\/mi\/discovery\/sport_ad\? -URL-REGEX,^https?:\/\/api-mifit\.huami\.com\/discovery\/mi\/discovery\/sport_summary_ad\? -URL-REGEX,^https?:\/\/api-mifit\.huami\.com\/discovery\/mi\/discovery\/sport_training_ad\? -URL-REGEX,^https?:\/\/api-mifit\.huami\.com\/discovery\/mi\/discovery\/step_detail_ad\? -URL-REGEX,^https?:\/\/api-mifit\.huami\.com\/discovery\/mi\/discovery\/training_video_ad\? +URL-REGEX,^https?://api-mifit\.huami\.com/discovery/mi/discovery/homepage_ad\? +URL-REGEX,^https?://api-mifit\.huami\.com/discovery/mi/discovery/sleep_ad\? +URL-REGEX,^https?://api-mifit\.huami\.com/discovery/mi/discovery/sport_ad\? +URL-REGEX,^https?://api-mifit\.huami\.com/discovery/mi/discovery/sport_summary_ad\? +URL-REGEX,^https?://api-mifit\.huami\.com/discovery/mi/discovery/sport_training_ad\? +URL-REGEX,^https?://api-mifit\.huami\.com/discovery/mi/discovery/step_detail_ad\? +URL-REGEX,^https?://api-mifit\.huami\.com/discovery/mi/discovery/training_video_ad\? # >> Miaopai -URL-REGEX,^https?:\/\/b-api\.ins\.miaopai\.com\/1\/ad/ +URL-REGEX,^https?://b-api\.ins\.miaopai\.com/1/ad/ # >> MIgu -URL-REGEX,^https?:\/\/.+\/v\d\/iflyad\/ -URL-REGEX,^https?:\/\/.+\/cdn-adn\/ -URL-REGEX,^https?:\/\/ggic\.cmvideo\.cn\/ad\/ -URL-REGEX,^https?:\/\/ggic2\.cmvideo\.cn\/ad\/ -URL-REGEX,^https?:\/\/.+/img\/ad\.union\.api\/ +URL-REGEX,^https?://.+/v\d/iflyad/ +URL-REGEX,^https?://.+/cdn-adn/ +URL-REGEX,^https?://ggic\.cmvideo\.cn/ad/ +URL-REGEX,^https?://ggic2\.cmvideo\.cn/ad/ +URL-REGEX,^https?://.+/img/ad\.union\.api/ # >> MixC -URL-REGEX,^https?:\/\/app\.mixcapp\.com\/mixc\/api\/v\d\/ad +URL-REGEX,^https?://app\.mixcapp\.com/mixc/api/v\d/ad # >> MogoRenter -URL-REGEX,^https?:\/\/api\.mgzf\.com\/renter-operation\/home\/startHomePage +URL-REGEX,^https?://api\.mgzf\.com/renter-operation/home/startHomePage # >> MojiWeather -URL-REGEX,^https?:\/\/cdn\.moji\.com\/(adoss|adlink)\/ +URL-REGEX,^https?://cdn\.moji\.com/(adoss|adlink)/ # >> Myhug -URL-REGEX,^https?:\/\/www\.myhug\.cn\/ad\/ +URL-REGEX,^https?://www\.myhug\.cn/ad/ # >> NationalGeographic -URL-REGEX,^https?:\/\/dili\.bdatu\.com\/jiekou\/ad\/ +URL-REGEX,^https?://dili\.bdatu\.com/jiekou/ad/ # >> NationalGeographicChina -URL-REGEX,^https?:\/\/wap\.ngchina\.cn\/news\/adverts\/ +URL-REGEX,^https?://wap\.ngchina\.cn/news/adverts/ # >> ofo -URL-REGEX,^https?:\/\/supportda\.ofo\.com\/adaction\? -URL-REGEX,^https?:\/\/ma\.ofo\.com\/ads\/ -URL-REGEX,^https?:\/\/activity2\.api\.ofo\.com\/ofo\/Api\/v\d\/ads -URL-REGEX,^https?:\/\/ma\.ofo\.com\/adImage\/ +URL-REGEX,^https?://supportda\.ofo\.com/adaction\? +URL-REGEX,^https?://ma\.ofo\.com/ads/ +URL-REGEX,^https?://activity2\.api\.ofo\.com/ofo/Api/v\d/ads +URL-REGEX,^https?://ma\.ofo\.com/adImage/ # >> PeanutWiFiMpass -URL-REGEX,^https?:\/\/cmsapi\.wifi8\.com\/v\d{1}\/(emptyAd|adNew)\/ +URL-REGEX,^https?://cmsapi\.wifi8\.com/v\d{1}/(emptyAd|adNew)/ # >> Qdaily -URL-REGEX,^https?:\/\/app3\.qdaily\.com\/app3\/boot_advertisements\.json -URL-REGEX,^https?:\/\/notch\.qdaily\.com\/api\/v\d\/boot_ad +URL-REGEX,^https?://app3\.qdaily\.com/app3/boot_advertisements\.json +URL-REGEX,^https?://notch\.qdaily\.com/api/v\d/boot_ad # >> Qiongou -URL-REGEX,^https?:\/\/media\.qyer\.com\/ad\/ -URL-REGEX,^https?:\/\/open\.qyer.com\/qyer\/config\/get -URL-REGEX,^https?:\/\/open\.qyer\.com\/qyer\/startpage\/ +URL-REGEX,^https?://media\.qyer\.com/ad/ +URL-REGEX,^https?://open\.qyer.com/qyer/config/get +URL-REGEX,^https?://open\.qyer\.com/qyer/startpage/ # >> Qiuduoduo -URL-REGEX,^https?:\/\/api\.qiuduoduo\.cn\/guideimage +URL-REGEX,^https?://api\.qiuduoduo\.cn/guideimage # >> Renren Video -URL-REGEX,^https?:\/\/api\.rr\.tv\/ad\/ -URL-REGEX,^https?:\/\/api\.videozhishi\.com\/api\/getAdvertising -URL-REGEX,^https?:\/\/msspjh\.emarbox\.com\/getAdConfig +URL-REGEX,^https?://api\.rr\.tv/ad/ +URL-REGEX,^https?://api\.videozhishi\.com/api/getAdvertising +URL-REGEX,^https?://msspjh\.emarbox\.com/getAdConfig # >> ShiHuo -URL-REGEX,^https?:\/\/www\.shihuo\.cn\/app3\/saveAppInfo +URL-REGEX,^https?://www\.shihuo\.cn/app3/saveAppInfo # >> Xiami music -URL-REGEX,^https?:\/\/acs\.m\.taobao\.com\/gw\/mtop\.alimusic\.common\.mobileservice\.startinit\/ +URL-REGEX,^https?://acs\.m\.taobao\.com/gw/mtop\.alimusic\.common\.mobileservice\.startinit/ # >> Xianyu -URL-REGEX,^https?:\/\/gw\.alicdn\.com\/mt\/ +URL-REGEX,^https?://gw\.alicdn\.com/mt/ # >> Xiao Shuimian -URL-REGEX,^https?:\/\/api\.psy-1\.com\/cosleep\/startup +URL-REGEX,^https?://api\.psy-1\.com/cosleep/startup # >> Xunyou Booster -URL-REGEX,^https?:\/\/portal-xunyou\.qingcdn\.com\/api\/v\d\/ios\/configs\/(splash_ad|ad_urls) -URL-REGEX,^https?:\/\/portal-xunyou\.qingcdn\.com\/api\/v\d{1}\/ios\/ads\/ +URL-REGEX,^https?://portal-xunyou\.qingcdn\.com/api/v\d/ios/configs/(splash_ad|ad_urls) +URL-REGEX,^https?://portal-xunyou\.qingcdn\.com/api/v\d{1}/ios/ads/ # >> Yahoo! DOMAIN,ads.yahoo.com DOMAIN,gemini.yahoo.com DOMAIN,ysm.yahoo.com -URL-REGEX,^https?:\/\/m\.yap\.yahoo\.com\/v18\/getAds\.do +URL-REGEX,^https?://m\.yap\.yahoo\.com/v18/getAds\.do # >> Yingshi Cloud Video -URL-REGEX,^https?:\/\/i\.ys7\.com\/api\/ads +URL-REGEX,^https?://i\.ys7\.com/api/ads # >> YOUKU -URL-REGEX,^https?:\/\/.+\.mp4\?ccode=0902 -URL-REGEX,^https?:\/\/.+\.mp4\?sid= +URL-REGEX,^https?://.+\.mp4\?ccode=0902 +URL-REGEX,^https?://.+\.mp4\?sid= # >> Youtube++ -URL-REGEX,^https?:\/\/api\.catch\.gift\/api\/v\d\/pagead\/ +URL-REGEX,^https?://api\.catch\.gift/api/v\d/pagead/ # >> Yundongshijie -URL-REGEX,^https?:\/\/.+\.iydsj\.com\/api\/.+\/ad +URL-REGEX,^https?://.+\.iydsj\.com/api/.+/ad # >> YYeTs -URL-REGEX,^https?:\/\/ctrl\.(playcvn|zmzapi)\.(com|net)\/app\/(ads|init) +URL-REGEX,^https?://ctrl\.(playcvn|zmzapi)\.(com|net)/app/(ads|init) # >> Zhiboba -URL-REGEX,^https?:\/\/a\.qiumibao\.com\/activities\/config\.php -URL-REGEX,^https?:\/\/.+\/allOne\.php\?ad_name +URL-REGEX,^https?://a\.qiumibao\.com/activities/config\.php +URL-REGEX,^https?://.+/allOne\.php\?ad_name # >> Zhuishushenqi -URL-REGEX,^https?:\/\/(api|b)\.zhuishushenqi\.com\/advert -URL-REGEX,^https?:\/\/api01pbmp\.zhuishushenqi\.com\/gameAdvert -URL-REGEX,^https?:\/\/api\.zhuishushenqi\.com\/notification\/shelfMessage -URL-REGEX,^https?:\/\/api\.zhuishushenqi\.com\/notification\/shelfMessage -URL-REGEX,^https?:\/\/api\.zhuishushenqi\.com\/recommend -URL-REGEX,^https?:\/\/api\.zhuishushenqi\.com\/splashes\/ios -URL-REGEX,^https?:\/\/api\.zhuishushenqi\.com\/user\/bookshelf-updated -URL-REGEX,^https?:\/\/b\.zhuishushenqi\.com\/advert -URL-REGEX,^https?:\/\/dspsdk\.abreader\.com\/v\d\/api\/ad\? -URL-REGEX,^https?:\/\/itunes\.apple\.com\/lookup\?id=575826903 -URL-REGEX,^https?:\/\/mi\.gdt\.qq\.com\/gdt_mview\.fcg +URL-REGEX,^https?://(api|b)\.zhuishushenqi\.com/advert +URL-REGEX,^https?://api01pbmp\.zhuishushenqi\.com/gameAdvert +URL-REGEX,^https?://api\.zhuishushenqi\.com/notification/shelfMessage +URL-REGEX,^https?://api\.zhuishushenqi\.com/recommend +URL-REGEX,^https?://api\.zhuishushenqi\.com/splashes/ios +URL-REGEX,^https?://api\.zhuishushenqi\.com/user/bookshelf-updated +URL-REGEX,^https?://dspsdk\.abreader\.com/v\d/api/ad\? +URL-REGEX,^https?://itunes\.apple\.com/lookup\?id=575826903 +URL-REGEX,^https?://mi\.gdt\.qq\.com/gdt_mview\.fcg # --- End of Anti-AD Section --- diff --git a/Modules/Enable_doh.sgmodule b/Modules/Enable_doh.sgmodule deleted file mode 100644 index 3cc6ead1..00000000 --- a/Modules/Enable_doh.sgmodule +++ /dev/null @@ -1,5 +0,0 @@ -#!name=Enable DNS-Over-HTTPS - -[General] -dns-server = 119.29.29.29, 182.254.116.116 -doh-server = https://123.57.2.231/dns-query, https://dns.pub/dns-query, https://39.108.74.151/dns-query diff --git a/Modules/Game_Console_SNAT.sgmodule b/Modules/Game_Console_SNAT.sgmodule index 8986a91c..2fb24e3b 100644 --- a/Modules/Game_Console_SNAT.sgmodule +++ b/Modules/Game_Console_SNAT.sgmodule @@ -3,4 +3,4 @@ #!system=mac [General] -always-real-ip = %APPEND% *.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com \ No newline at end of file +always-real-ip = %APPEND% *.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com diff --git a/Modules/pixiv_remove_ads.sgmodule b/Modules/pixiv_remove_ads.sgmodule deleted file mode 100644 index 9d0026b4..00000000 --- a/Modules/pixiv_remove_ads.sgmodule +++ /dev/null @@ -1,5 +0,0 @@ -#!name=Remove Pixiv Ads -#!desc=伪装 Pixiv Premium 来移除 Pixiv 上的广告,并不能使用「按热门度排序」的搜索功能 - -[Script] -http-response https://oauth.secure.pixiv.net/auth/token requires-body=1,max-size=0,script-path=https://suka.js.org/Surge/Script/pixiv_premium,script-update-interval=86400 \ No newline at end of file diff --git a/Modules/sukka_mitm_hostnames.sgmodule b/Modules/sukka_mitm_hostnames.sgmodule new file mode 100644 index 00000000..63cf5ce6 --- /dev/null +++ b/Modules/sukka_mitm_hostnames.sgmodule @@ -0,0 +1,7 @@ +#!name=Sukka Surge Reject MITM +#!desc=为 URL Regex 规则组启用 MITM +# Use Build/build.js to generate the list + +[General] + +always-real-ip = *baidu.com, *ydstatic.com, bdsp-x.jd.com, dsp-x.jd.com, *snssdk.com, *musical.com, *musical.ly, *snssdk.ly, api.chelaile.net.cn, atrace.chelaile.net.cn, *.meituan.net, ctrl.playcvn.com, ctrl.playcvn.net, ctrl.zmzapi.com, ctrl.zmzapi.net, api.zhuishushenqi.com, b.zhuishushenqi.com, api.abema.io, g.cn, google.cn, taobao.com, jd.com, mi.com, you.163.com, suning.com, yhd.com, ign.xn--fiqs8s, abbyychina.com, bartender.cc, betterzip.net, beyondcompare.cc, bingdianhuanyuan.cn, chemdraw.com.cn, codesoftchina.com, coreldrawchina.com, crossoverchina.com, easyrecoverychina.com, ediuschina.com, flstudiochina.com, formysql.com, guitarpro.cc, huishenghuiying.com.cn, iconworkshop.cn, imindmap.cc, jihehuaban.com.cn, keyshot.cc, mathtype.cn, mindmanager.cc, mindmapper.cc, mycleanmymac.com, nicelabel.cc, ntfsformac.cc, ntfsformac.cn, overturechina.com, passwordrecovery.cn, pdfexpert.cc, ultraiso.net, vegaschina.cn, xmindchina.net, xshellcn.com, yuanchengxiezuo.com, zbrushcn.com, aweme-eagle(.*).snssdk.com, coupon.m.jd.com, h5.m.jd.com, item.m.jd.com, m.jd.com, newcz.m.jd.com, p.m.jd.com, so.m.jd.com, union.click.jd.comjda, union.click.jd.comsem.php, www.jd.com, gw.alicdn.com, www.g.cn, www.google.cn, www.taobao.com, www.mi.com, www.suning.com, www.yhd.com, www.ign.xn--fiqs8s, www.abbyychina.com, www.bartender.cc, www.betterzip.net, www.beyondcompare.cc, www.bingdianhuanyuan.cn, www.chemdraw.com.cn, www.codesoftchina.com, www.coreldrawchina.com, www.crossoverchina.com, www.easyrecoverychina.com, www.ediuschina.com, www.flstudiochina.com, www.formysql.com, www.guitarpro.cc, www.huishenghuiying.com.cn, www.iconworkshop.cn, www.imindmap.cc, www.jihehuaban.com.cn, www.keyshot.cc, www.mathtype.cn, www.mindmanager.cc, www.mindmapper.cc, www.mycleanmymac.com, www.nicelabel.cc, www.ntfsformac.cc, www.ntfsformac.cn, www.overturechina.com, www.passwordrecovery.cn, www.pdfexpert.cc, www.ultraiso.net, www.vegaschina.cn, www.xmindchina.net, www.xshellcn.com, www.yuanchengxiezuo.com, www.zbrushcn.com, *.youtube.com, premiumyva.appspot.com, youtubei.googleapis.com, service.4gtv.tv, issuecdn.baidupcs.com, app.bilibili.com, api.bilibili.com, asp.cntv.myalicdn.com, cntv.hls.cdn.myqcloud.com, v.cctv.com, www.cntv.cn, img-ys011.didistatic.com, act.vip.iqiyi.com, iface.iqiyi.com, t7z.cupid.iqiyi.com, counter.ksosoft.com, *.kingsoft-office-service.com, dict-mobile.iciba.com, ios.wps.cn, mobile-pic.cache.iciba.com, service.iciba.com, client.mail.163.com, c.m.163.com, dsp-impr2.youdao.com, sp.kaola.com, support.you.163.com, agent-count.pconline.com.cn, mrobot.pcauto.com.cn, mrobot.pconline.com.cn, edit.sinaapp.com, tqt.weibo.cn, sdkapp.uve.weibo.com, wbapp.uve.weibo.com, api.k.sohu.com, api.tv.sohu.com, hui.sohu.com, pic.k.sohu.com, s1.api.tv.itc.cn, api.m.jd.com, ms.jr.jd.com, huichuan.sm.cn, iflow.uczzd.cn, mp.weixin.qq.com, adse.ximalaya.com, fdfs.xmcdn.com, www.zhihu.com, api.zhihu.com, *.58cdn.com.cn, app.58.com, aes.acfun.cn, *.pstatp.com, *.snssdk.com, dsp.toutiao.com, nnapp.cloudbae.cn, gw.aihuishou.com, 7n.bczcdn.com, www.myhug.cn, app.api.ke.com, channel.beitaichufang.com, iapi.bishijie.com, api.intsig.net, cap.caocaokeji.cn, pic1.chelaile.net.cn, app.10086.cn, m.client.10010.com, www.dandanzan.com, mapi.dangdang.com, api.daydaycook.com.cn, cms.daydaycook.com.cn, mobile-api2011.elong.com, www.facebook.com, acs.m.taobao.com, www.flyertea.com, foodie-api.yiruikecorp.com, cdn.api.fotoable.com, gateway.shouqiev.com, m.ibuscloud.com, smkmp.96225.com, games.mobileapi.hupu.com, imeclient.openspeech.cn, img.jiemian.com, api.jxedt.com, richmanapi.jxedt.com, static1.keepcdn.com, api.gotokeep.com, res.kfc.com.cn, render.alipay.com, api.kkmh.com, gw-passenger.01zhuanche.com, api.smzdm.com, snailsleep.net, a.sfansclub.com, api5.futunn.com, qt.qq.com, ssl.kohsocialapp.qq.com, 3gimg.qq.com, newsso.map.qq.com, r.inews.qq.com, btrace.qq.com, vv.video.qq.com, adpai.thepaper.cn, images.client.vip.xunlei.com, 47.97.20.12, api.gaoqingdianshi.com, pss.txffp.com, app.variflight.com, static.vuevideo.net, api.wallstreetcn.com, app.wy.guahao.com, overseas.weico.cc, thor.weidian.com, nochange.ggsafe.com, cmsapi.wifi8.com, api-release.wuta-cam.com, res-release.wuta-cam.com, api.xiachufang.com, mapi.mafengwo.cn, mob.mddcloud.com.cn, mangaapi.manhuaren.com, capi.mwee.cn, api.m.mi.com, api.jr.mi.com, api-mifit.huami.com, b-api.ins.miaopai.com, ggic.cmvideo.cn, ggic2.cmvideo.cn, app.mixcapp.com, api.mgzf.com, cdn.moji.com, dili.bdatu.com, wap.ngchina.cn, supportda.ofo.com, ma.ofo.com, activity2.api.ofo.com, app3.qdaily.com, notch.qdaily.com, media.qyer.com, open.qyer.com, api.qiuduoduo.cn, api.rr.tv, api.videozhishi.com, msspjh.emarbox.com, www.shihuo.cn, api.psy-1.com, portal-xunyou.qingcdn.com, m.yap.yahoo.com, i.ys7.com, api.catch.gift, *.iydsj.com, a.qiumibao.com, api01pbmp.zhuishushenqi.com, dspsdk.abreader.com, itunes.apple.com, mi.gdt.qq.com diff --git a/Modules/sukka_url_rewrite.sgmodule b/Modules/sukka_url_rewrite.sgmodule new file mode 100644 index 00000000..2a937740 --- /dev/null +++ b/Modules/sukka_url_rewrite.sgmodule @@ -0,0 +1,84 @@ +#!name=Sukka URL Rewrite +#!desc=Enable this module to use Sukka URL Rewrite rules + +[URL Rewrite] +# AbeamTV Unlock +^https?://api\.abema\.io/v\d/ip/check - reject +# Redirect Google Service +^https?://(www.)?g\.cn https://www.google.com 302 +^https?://(www.)?google\.cn https://www.google.com 302 +# Redirect HTTP to HTTPS +^https?://(www.)?taobao\.com/ https://www.taobao.com/ 302 +^https?://(www.)?jd\.com/ https://www.jd.com/ 302 +^https?://(www.)?mi\.com/ https://www.mi.com/ 302 +^https?://you\.163\.com/ https://you.163.com/ 302 +^https?://(www.)?suning\.com/ https://suning.com/ 302 +^https?://(www.)?yhd\.com https://yhd.com/ 302 +# Redirect False to True +# >> IGN China to IGN Global +^https?://(www.)?ign\.xn--fiqs8s/ http://cn.ign.com/ccpref/us 302 +# >> Fake Website Made By Makeding +^https?://(www.)?abbyychina\.com/ http://www.abbyy.cn/ 302 +^https?://(www.)?bartender\.cc/ https://cn.seagullscientific.com 302 +^https?://(www.)?betterzip\.net/ https://macitbetter.com/ 302 +^https?://(www.)?beyondcompare\.cc/ https://www.scootersoftware.com/ 302 +^https?://(www.)?bingdianhuanyuan\.cn/ http://www.faronics.com/zh-hans/ 302 +^https?://(www.)?chemdraw\.com\.cn/ http://www.cambridgesoft.com/ 302 +^https?://(www.)?codesoftchina\.com/ https://www.teklynx.com/ 302 +^https?://(www.)?coreldrawchina\.com/ https://www.coreldraw.com/cn/ 302 +^https?://(www.)?crossoverchina\.com/ https://www.codeweavers.com/ 302 +^https?://(www.)?easyrecoverychina\.com/ https://www.ontrack.com/ 302 +^https?://(www.)?ediuschina\.com/ https://www.grassvalley.com/ 302 +^https?://(www.)?flstudiochina\.com/ https://www.image-line.com/flstudio/ 302 +^https?://(www.)?formysql\.com/ https://www.navicat.com.cn 302 +^https?://(www.)?guitarpro\.cc/ https://www.guitar-pro.com/ 302 +^https?://(www.)?huishenghuiying\.com\.cn/ https://www.corel.com/cn/ 302 +^https?://(www.)?iconworkshop\.cn/ https://www.axialis.com/iconworkshop/ 302 +^https?://(www.)?imindmap\.cc/ https://imindmap.com/zh-cn/ 302 +^https?://(www.)?jihehuaban\.com\.cn/ https://sketch.io/ 302 +^https?://(www.)?keyshot\.cc/ https://www.keyshot.com/ 302 +^https?://(www.)?mathtype\.cn/ http://www.dessci.com/en/products/mathtype/ 302 +^https?://(www.)?mindmanager\.cc/ https://www.mindjet.com/ 302 +^https?://(www.)?mindmapper\.cc/ https://mindmapper.com 302 +^https?://(www.)?mycleanmymac\.com/ https://macpaw.com/cleanmymac 302 +^https?://(www.)?nicelabel\.cc/ https://www.nicelabel.com/ 302 +^https?://(www.)?ntfsformac\.cc/ https://www.tuxera.com/products/tuxera-ntfs-for-mac-cn/ 302 +^https?://(www.)?ntfsformac\.cn/ https://www.paragon-software.com/ufsdhome/zh/ntfs-mac/ 302 +^https?://(www.)?overturechina\.com/ https://sonicscores.com/overture/ 302 +^https?://(www.)?passwordrecovery\.cn/ https://cn.elcomsoft.com/aopr.html 302 +^https?://(www.)?pdfexpert\.cc/ https://pdfexpert.com/zh 302 +^https?://(www.)?ultraiso\.net/ https://cn.ezbsystems.com/ultraiso/ 302 +^https?://(www.)?vegaschina\.cn/ https://www.vegas.com/ 302 +^https?://(www.)?xmindchina\.net/ https://www.xmind.cn/ 302 +^https?://(www.)?xshellcn\.com/ https://www.netsarang.com/products/xsh_overview.html 302 +^https?://(www.)?yuanchengxiezuo\.com/ https://www.teamviewer.com/zhcn/ 302 +^https?://(www.)?zbrushcn\.com/ http://pixologic.com/ 302 +^https://aweme-eagle(.*)\.snssdk\.com/aweme/v2/ https://aweme-eagle$1.snssdk.com/aweme/v1/ 302 +# JD Protection +^https?://coupon\.m\.jd\.com/ https://coupon.m.jd.com/ 302 +^https?://h5\.m\.jd\.com/ https://h5.m.jd.com/ 302 +^https?://item\.m\.jd\.com/ https://item.m.jd.com/ 302 +^https?://m\.jd\.com/ https://m.jd.com/ 302 +^https?://newcz\.m\.jd\.com/ https://newcz.m.jd.com/ 302 +^https?://p\.m\.jd\.com/ https://p.m.jd.com/ 302 +^https?://so\.m\.jd\.com/ https://so.m.jd.com/ 302 +^https?://union\.click\.jd\.com/jda? http://union.click.jd.com/jda?adblock= header +^https?://union\.click\.jd\.com/sem.php? http://union.click.jd.com/sem.php?adblock= header +^https?://www.jd.com/ https://www.jd.com/ 302 +# TikTok Internation +(?<=(carrier|account|sys|sim)_region=)CN JP 307 +# Resso +(?<=(carrier|account|sys|sim)_region=)cn in 307 + +# Special AD Block Section + +# >> Kugou +^https?://(2(5[0-5]{1}|[0-4]\d{1})|[0-1]?\d{1,2})(\.(2(5[0-5]{1}|[0-4]\d{1})|[0-1]?\d{1,2})){3}/EcomResourceServer/AdPlayPage/adinfo - reject +^https?://(2(5[0-5]{1}|[0-4]\d{1})|[0-1]?\d{1,2})(\.(2(5[0-5]{1}|[0-4]\d{1})|[0-1]?\d{1,2})){3}/MobileAdServer/ - reject +# >> eLong +^https?://(2(5[0-5]{1}|[0-4]\d{1})|[0-1]?\d{1,2})(\.(2(5[0-5]{1}|[0-4]\d{1})|[0-1]?\d{1,2})){3}/(adgateway|adv)/ - reject +# >> Xianyu +^https?://gw\.alicdn\.com/tfs/.+\d{3,4}-\d{4} - reject +^https?://gw\.alicdn\.com/tps/.+\d{3,4}-\d{4} - reject +# >> Speedtest.com +^https?://speed\.(coe|open)\.ad\.[a-z]{2,6}\.prod\.hosts\.ooklaserver\.net - reject diff --git a/Sukka.conf b/Sukka.conf deleted file mode 100644 index 0b03a75c..00000000 --- a/Sukka.conf +++ /dev/null @@ -1,680 +0,0 @@ -[General] -bypass-system = true -loglevel = notify - -dns-server = system, 119.29.29.29, 223.5.5.5, 223.6.6.6, 119.28.28.28 -doh-server = https://doh.pub/dns-query, https://dns.pub/dns-query, https://223.5.5.5/dns-query -skip-proxy = 127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, localhost, *.local, *.crashlytics.com, *.edu.cn -tun-excluded-routes = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 -tun-included-routes = 192.168.1.12/32 - -always-real-ip = *.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com, *.lan, *.edu.cn, localhost.ptlogin2.qq.com, *.*.*.srv.nintendo.net, *.*.stun.playstation.net, xbox.*.*.microsoft.com, *.*.xboxlive.com, *.msftncsi.com, www.msftconnecttest.com -hijack-dns = 8.8.8.8:53, 8.8.4.4:53 - -http-listen = 0.0.0.0:6152 -socks5-listen = 0.0.0.0:6153 -wifi-access-http-port = 6152 -wifi-access-socks5-port = 6153 - -external-controller-access = sukka@0.0.0.0:6170 - -internet-test-url = http://wifi.vivo.com.cn/generate_204 -proxy-test-url = http://cp.cloudflare.com/generate_204 -test-timeout = 5 - -allow-wifi-access = true -exclude-simple-hostnames = true -ipv6 = false -network-framework = false -show-error-page-for-reject = true -tls-provider = default -use-default-policy-if-wifi-not-primary = false - -[Proxy] -TINY_GIF = reject-tinygif - -[Proxy Group] -PROXY = select, policy-path = "subscribe", update-interval = 28800 -DOMESTIC = select, DIRECT, PROXY -AD_BLOCK = select, REJECT, TINY_GIF -APPLE_SERVICES = select, DOMESTIC, PROXY, policy-path = "subscribe", update-interval = 28800 -STREAM_SERVICE = select, PROXY, policy-path = "subscribe", update-interval = 28800 -HENTAIVERSE = select, policy-path = "subscribe", update-interval = 28800, policy-regex-filter = Netherlands|Germany|France|United Kingdom|USA|Ireland|Singapore - -[Rule] -DOMAIN-SUFFIX,microsoft.com,PROXY -RULE-SET,https://suka.js.org/Surge/List/reject.list,AD_BLOCK -RULE-SET,https://suka.js.org/Surge/List/stream.list,STREAM_SERVICE -RULE-SET,https://suka.js.org/Surge/List/domestic.list,DOMESTIC -RULE-SET,https://ruleset.dev/surge3_global_plus,PROXY -RULE-SET,https://ruleset.dev/surge3_global,PROXY -DOMAIN-KEYWORD,hentaiverse,HENTAIVERSE -RULE-SET,https://suka.js.org/Surge/List/apple_services.list,APPLE_SERVICES -RULE-SET,LAN,DIRECT -RULE-SET,SYSTEM,DOMESTIC -RULE-SET,https://suka.js.org/Surge/List/china_ip.list,DOMESTIC -FINAL,PROXY,dns-failed - -[Host] -ip6-localhost = ::1 -ip6-loopback = ::1 -taobao.com = server:223.6.6.6 -*.taobao.com = server:223.6.6.6 -tmall.com = server:223.6.6.6 -*.tmall.com = server:223.6.6.6 -jd.com = server:119.29.29.29 -*.jd.com = server:119.28.28.28 -*.qq.com = server:119.28.28.28 -*.tencent.com = server:119.28.28.28 -*.alicdn.com = server:223.5.5.5 -aliyun.com = server:223.5.5.5 -*.aliyun.com = server:223.5.5.5 -weixin.com = server:119.28.28.28 -*.weixin.com = server:119.28.28.28 -bilibili.com = server:119.29.29.29 -*.bilibili.com = server:119.29.29.29 -*.hdslb.com = server:119.29.29.29 -163.com = server:119.29.29.29 -*.163.com = server:119.29.29.29 -126.com = server:119.29.29.29 -*.126.com = server:119.29.29.29 -*.126.net = server:119.29.29.29 -*.127.net = server:119.29.29.29 -*.netease.com = server:119.29.29.29 -mi.com = server:119.29.29.29 -*.mi.com = server:119.29.29.29 -xiaomi.com = server:119.29.29.29 -*.xiaomi.com = server:119.29.29.29 -routerlogin.net = server:syslib -_hotspot_.m2m = server:syslib -router.asus.com = server:syslib -hotspot.cslwifi.com = server:syslib -amplifi.lan = server:syslib -*.lan = server:syslib - -[Script] -http-response https://oauth.secure.pixiv.net/auth/token requires-body=1,max-size=0,script-path=https://suka.js.org/Surge/Script/pixiv_premium,script-update-interval=86400 - -[URL Rewrite] -# AbeamTV Unlock -^https?:\/\/api\.abema\.io\/v\d\/ip\/check - reject - -# Redirect Google Service -^https?:\/\/(www.)?g\.cn https://www.google.com 302 -^https?:\/\/(www.)?google\.cn https://www.google.com 302 - -# Redirect HTTP to HTTPS -^https?:\/\/(www.)?taobao\.com\/ https://www.taobao.com/ 302 -^https?:\/\/(www.)?jd\.com\/ https://www.jd.com/ 302 -^https?:\/\/(www.)?mi\.com\/ https://www.mi.com/ 302 -^https?:\/\/you\.163\.com\/ https://you.163.com/ 302 -^https?:\/\/(www.)?suning\.com/ https://suning.com/ 302 -^https?:\/\/(www.)?yhd\.com https://yhd.com/ 302 - -# Redirect False to True -# >> IGN China to IGN Global -^https?:\/\/(www.)?ign\.xn--fiqs8s\/ http://cn.ign.com/ccpref/us 302 -# >> Fake Website Made By Makeding -^https?:\/\/(www.)?abbyychina\.com\/ http://www.abbyy.cn/ 302 -^https?:\/\/(www.)?bartender\.cc\/ https://cn.seagullscientific.com 302 -^https?:\/\/(www.)?betterzip\.net\/ https://macitbetter.com/ 302 -^https?:\/\/(www.)?beyondcompare\.cc\/ https://www.scootersoftware.com/ 302 -^https?:\/\/(www.)?bingdianhuanyuan\.cn\/ http://www.faronics.com/zh-hans/ 302 -^https?:\/\/(www.)?chemdraw\.com\.cn\/ http://www.cambridgesoft.com/ 302 -^https?:\/\/(www.)?codesoftchina\.com\/ https://www.teklynx.com/ 302 -^https?:\/\/(www.)?coreldrawchina\.com\/ https://www.coreldraw.com/cn/ 302 -^https?:\/\/(www.)?crossoverchina\.com\/ https://www.codeweavers.com/ 302 -^https?:\/\/(www.)?easyrecoverychina\.com\/ https://www.ontrack.com/ 302 -^https?:\/\/(www.)?ediuschina\.com\/ https://www.grassvalley.com/ 302 -^https?:\/\/(www.)?flstudiochina\.com\/ https://www.image-line.com/flstudio/ 302 -^https?:\/\/(www.)?formysql\.com\/ https://www.navicat.com.cn 302 -^https?:\/\/(www.)?guitarpro\.cc\/ https://www.guitar-pro.com/ 302 -^https?:\/\/(www.)?huishenghuiying\.com\.cn\/ https://www.corel.com/cn/ 302 -^https?:\/\/(www.)?iconworkshop\.cn\/ https://www.axialis.com/iconworkshop/ 302 -^https?:\/\/(www.)?imindmap\.cc\/ https://imindmap.com/zh-cn/ 302 -^https?:\/\/(www.)?jihehuaban\.com\.cn\/ https://sketch.io/ 302 -^https?:\/\/(www.)?keyshot\.cc\/ https://www.keyshot.com/ 302 -^https?:\/\/(www.)?mathtype\.cn\/ http://www.dessci.com/en/products/mathtype/ 302 -^https?:\/\/(www.)?mindmanager\.cc\/ https://www.mindjet.com/ 302 -^https?:\/\/(www.)?mindmapper\.cc\/ https://mindmapper.com 302 -^https?:\/\/(www.)?mycleanmymac\.com\/ https://macpaw.com/cleanmymac 302 -^https?:\/\/(www.)?nicelabel\.cc\/ https://www.nicelabel.com/ 302 -^https?:\/\/(www.)?ntfsformac\.cc\/ https://www.tuxera.com/products/tuxera-ntfs-for-mac-cn/ 302 -^https?:\/\/(www.)?ntfsformac\.cn\/ https://www.paragon-software.com/ufsdhome/zh/ntfs-mac/ 302 -^https?:\/\/(www.)?overturechina\.com\/ https://sonicscores.com/overture/ 302 -^https?:\/\/(www.)?passwordrecovery\.cn\/ https://cn.elcomsoft.com/aopr.html 302 -^https?:\/\/(www.)?pdfexpert\.cc\/ https://pdfexpert.com/zh 302 -^https?:\/\/(www.)?ultraiso\.net\/ https://cn.ezbsystems.com/ultraiso/ 302 -^https?:\/\/(www.)?vegaschina\.cn\/ https://www.vegas.com/ 302 -^https?:\/\/(www.)?xmindchina\.net\/ https://www.xmind.cn/ 302 -^https?:\/\/(www.)?xshellcn\.com\/ https://www.netsarang.com/products/xsh_overview.html 302 -^https?:\/\/(www.)?yuanchengxiezuo\.com\/ https://www.teamviewer.com/zhcn/ 302 -^https?:\/\/(www.)?zbrushcn\.com\/ http://pixologic.com/ 302 -^https://aweme-eagle(.*)\.snssdk\.com/aweme/v2/ https://aweme-eagle$1.snssdk.com/aweme/v1/ 302 - -# JD Protection -^https?:\/\/coupon\.m\.jd\.com\/ https://coupon.m.jd.com/ 302 -^https?:\/\/h5\.m\.jd\.com\/ https://h5.m.jd.com/ 302 -^https?:\/\/item\.m\.jd\.com\/ https://item.m.jd.com/ 302 -^https?:\/\/m\.jd\.com\/ https://m.jd.com/ 302 -^https?:\/\/newcz\.m\.jd\.com\/ https://newcz.m.jd.com/ 302 -^https?:\/\/p\.m\.jd\.com\/ https://p.m.jd.com/ 302 -^https?:\/\/so\.m\.jd\.com\/ https://so.m.jd.com/ 302 -^https?:\/\/union\.click\.jd\.com\/jda? http://union.click.jd.com/jda?adblock= header -^https?:\/\/union\.click\.jd\.com\/sem.php? http://union.click.jd.com/sem.php?adblock= header -^https?:\/\/www.jd.com\/ https://www.jd.com/ 302 - -# TikTok Internation -(?<=(carrier|account|sys|sim)_region=)CN JP 307 - -# Resso - -(?<=(carrier|account|sys|sim)_region=)cn in 307 - -# Advertising Block - -# >> 2048Puzzle -^https?:\/\/a\.applovin\.com\/3\.0\/ad - reject - -# >> 4gTV -^https?:\/\/service\.4gtv\.tv\/4gtv\/Data\/GetAD - reject -^https?:\/\/service\.4gtv\.tv\/4gtv\/Data\/ADLog - reject - -# >> 58 -^https?:\/\/.+\.58cdn\.com\.cn\/brandads\/ - reject -^https?:\/\/app\.58\.com\/api\/home\/advertising\/ - reject -^https?:\/\/app\.58\.com\/api\/home\/appadv\/ - reject -^https?:\/\/app\.58\.com\/api\/home\/invite\/popupAdv - reject -^https?:\/\/app\.58\.com\/api\/log\/ - reject - -# >> AcFun -^https?:\/\/aes\.acfun\.cn\/s\?adzones - reject - -# >> Ai NanNing -^https?:\/\/nnapp\.cloudbae\.cn\/mc\/api\/advert/ - reject - -# >> Aihuishou -^https?:\/\/gw\.aihuishou\.com\/app-portal\/home\/getadvertisement - reject - -# >> AMap -^https?:\/\/m\d{1}\.amap\.com\/ws\/valueadded\/alimama\/splash_screen\/ - reject - -# >> Baicizhan -^https?:\/\/7n\.bczcdn\.com\/launchad\/ - reject - -# >> Baidu -^https?:\/\/.+\/client\/phpui2\/ - reject -^https?:\/\/cover.baidu.com\/cover\/page\/dspSwitchAds\/ - reject -^https?:\/\/c\.tieba\.baidu\.com\/c\/s\/splashSchedule - reject -^https?:\/\/issuecdn\.baidupcs\.com\/issue\/netdisk\/guanggao\/ - reject -^https?:\/\/update\.pan\.baidu\.com\/statistics - reject - -# >> Baobao -^https?:\/\/www\.myhug\.cn\/ad\/ - reject - -# >> Beike Zhaofang -^https?:\/\/app\.api\.ke\.com\/config\/config\/bootpage - reject - -# >> Beitaicuhfang -^https?:\/\/channel\.beitaichufang\.com\/channel\/api\/v\d\/promote\/ios\/start\/page - reject - -# >> Bi ShiJie -^https?:\/\/iapi\.bishijie\.com\/actopen\/advertising\/ - reject - -# >> Bilibili -^https?:\/\/app\.bilibili\.com\/x\/v\d\/splash\/ - reject - -# >> ByteDance -^https?:\/\/.+\.(musical|snssdk)\.(com|ly)\/(api|motor)\/ad\/ - reject -^https?:\/\/.+\.pstatp\.com\/img\/ad - reject -^https?:\/\/.+\.snssdk\.com\/motor\/operation\/activity\/display\/config\/v\d\/ - reject -^https?:\/\/dsp\.toutiao\.com\/api\/xunfei\/ads\/ - reject - -# >> CamScanner -^https?:\/\/api\.intsig\.net\/user\/cs\/operating\/app\/get_startpic\/ - reject - -# >> Caocao Chuxin -^https?:\/\/cap\.caocaokeji\.cn\/advert-bss\/ - reject - -# >> Chelaile -^https?:\/\/(api|atrace)\.chelaile\.net\.cn\/adpub\/ - reject -^https?:\/\/api\.chelaile\.net\.cn\/goocity\/advert\/ - reject -^https?:\/\/atrace\.chelaile\.net\.cn\/exhibit\?&adv_image - reject -^https?:\/\/pic1\.chelaile\.net\.cn\/adv\/ - reject - -# >> ChinaMobile -^https?:\/\/app\.10086\.cn\/biz-orange\/DN\/(findSale|homeSale)\/getsaleAdver - reject - -# >> ChinaUnicom -^https?:\/\/m\.client\.10010\.com\/mobileService\/customer\/accountListData\.htm - reject -^https?:\/\/m\.client\.10010\.com\/uniAdmsInterface\/(getWelcomeAd|getHomePageAd) - reject - -# >> CNTV -^https?:\/\/asp\.cntv\.myalicdn\.com\/.+\?maxbr=850 - reject -^https?:\/\/cntv\.hls\.cdn\.myqcloud\.com\/.+\?maxbr=850 - reject -^https?:\/\/v\.cctv\.com\/.+850 - reject -^https?:\/\/www\.cntv\.cn\/nettv\/adp\/ - reject - -# >> DanDan Zan -^https?:\/\/www\.dandanzan\.com\/res\/gdsefse\.js - reject - -# >> DangDang -^https?:\/\/mapi\.dangdang\.com\/index\.php\?action=init - reject - -# >> DayDayCook -^https?:\/\/api\.daydaycook\.com\.cn\/daydaycook\/server\/ad\/ - reject -^https?:\/\/cms\.daydaycook\.com\.cn\/api\/cms\/advertisement\/ - reject - -# >> eLong -^https?:\/\/mobile-api2011\.elong\.com\/(adgateway|adv)\/ - reject -^https?:\/\/(2(5[0-5]{1}|[0-4]\d{1})|[0-1]?\d{1,2})(\.(2(5[0-5]{1}|[0-4]\d{1})|[0-1]?\d{1,2})){3}\/(adgateway|adv)\/ - reject - -# >> Facebook -^https?:\/\/www\.facebook\.com\/.+video_click_to_advertiser_site - reject - -# >> Fliggy -^https?:\/\/acs\.m\.taobao\.com\/gw\/mtop\.trip\.activity\.querytmsresources\/ - reject - -# >> Flyer Tea -^https?:\/\/www\.flyertea\.com\/source\/plugin\/mobile\/mobile\.php\?module=advis - reject - -# >> Foodie -^https?:\/\/foodie-api\.yiruikecorp\.com\/v\d\/(banner|notice)\/overview - reject - -# >> FOTOABLE -^https?:\/\/cdn\.api\.fotoable\.com\/Advertise\/ - reject - -# >> Gofun -^https?:\/\/gateway\.shouqiev\.com\/fsda\/app\/bootImage\.json - reject - -# >> Google -^https?:\/\/.+\.youtube\.com\/api\/stats\/.+adformat - reject -^https?:\/\/.+\.youtube\.com\/api\/stats\/ads - reject -^https?:\/\/.+\.youtube\.com\/get_midroll - reject -^https?:\/\/.+\.youtube\.com\/get_midroll_ - reject -^https?:\/\/.+\.youtube\.com\/pagead\/ - reject -^https?:\/\/.+\.youtube\.com\/ptracking - reject -^https?:\/\/.+\.youtube\.com\/ptracking\? - reject -^https?:\/\/pagead2.googlesyndication.com\/pagead\/js\/? - reject -^https?:\/\/pagead2.googlesyndication.com\/pagead\/js\/? - reject -^https?:\/\/premiumyva\.appspot\.com\/vmclickstoadvertisersite - reject -^https?:\/\/www.google-analytics.com\/analytics.js - reject -^https?:\/\/www.google-analytics.com\/analytics.js - reject -^https?:\/\/youtubei\.googleapis\.com/.+ad_break - reject -^https?:\/\/youtubei\.googleapis\.com\/youtubei\/.+ad_ - reject -^https?:\/\/youtubei\.googleapis\.com\/youtubei\/.+log_ - reject - -# >> Hangzhou Bus -^https?:\/\/m\.ibuscloud.com\/v\d\/app\/getStartPage - reject - -# >> Hangzhou Citizen Card -^https?:\/\/smkmp\.96225.com\/smkcenter\/ad/ - reject - -# >> Hupu -^https?:\/\/games\.mobileapi\.hupu\.com\/.+\/(interfaceAdMonitor|interfaceAd)\/ - reject -^https?:\/\/games\.mobileapi\.hupu\.com\/.+\/status\/init - reject - -# >> IdleFish -^https?:\/\/acs\.m\.taobao\.com\/gw\/mtop\.taobao\.idle\.home\.welcome\/ - reject - -# >> iFlytek -^https?:\/\/imeclient\.openspeech\.cn\/adservice\/ - reject - -# >> iQiyi -^https?:\/\/act\.vip\.iqiyi\.com\/interact\/api\/show.do - reject -^https?:\/\/act\.vip\.iqiyi\.com\/interact\/api\/v\d\/show - reject -^https?:\/\/iface\.iqiyi\.com\/api\/getNewAdInfo - reject -^https?:\/\/t7z\.cupid\.iqiyi\.com\/mixer\? - reject - -# >> JD -^https?:\/\/(bdsp-x|dsp-x)\.jd\.com\/adx\/ - reject -^https?:\/\/api\.m\.jd.com\/client\.action\?functionId=start - reject -^https?:\/\/ms\.jr\.jd\.com\/gw\/generic\/base\/na\/m\/adInfo - reject - -# >> Jiemian -^https?:\/\/img\.jiemian\.com\/ads\/ - reject - -# >> JXEDT -^https?:\/\/api\.jxedt\.com\/ad\/ - reject -^https?:\/\/richmanapi\.jxedt\.com\/api\/ad\/ - reject - -# >> Keep -^https?:\/\/static1\.keepcdn\.com\/.+\d{3}x\d{4} - reject -^https?:\/\/api\.gotokeep\.com\/ads\/ - reject - -# >> KFC -^https?:\/\/res\.kfc\.com\.cn\/advertisement\/ - reject - -# >> Kingsoft -^https?:/\/\counter\.ksosoft.com\/ad\.php - reject -^https?:\/\/.+\.kingsoft-office-service\.com\/ad - reject -^https?:\/\/counter\.ksosoft\.com\/ad\.php - reject -^https?:\/\/dict-mobile\.iciba\.com\/interface\/index\.php\?.+(c=ad|collectFeedsAdShowCount|KSFeedsAdCardViewController) - reject -^https?:\/\/ios\.wps\.cn\/ad-statistics-service - reject -^https?:\/\/mobile-pic\.cache\.iciba\.com\/feeds_ad\/ - reject -^https?:\/\/service\.iciba\.com\/popo\/open\/screens\/v\d\?adjson - reject - -# >> KouBei -^https?:\/\/acs\.m\.taobao\.com\/gw\/mtop\.o2o\.ad\.gateway\.get\/ - reject -^https?:\/\/render\.alipay\.com\/p\/s\/h5data\/prod\/spring-festival-2019-h5data\/popup-h5data\.json - reject - -# >> Kuaikan Comic -^https?:\/\/api\.kkmh\.com\/.+(ad|advertisement)\/ - reject - -# >> Kuwo -^https?:\/\/(2(5[0-5]{1}|[0-4]\d{1})|[0-1]?\d{1,2})(\.(2(5[0-5]{1}|[0-4]\d{1})|[0-1]?\d{1,2})){3}\/EcomResourceServer/AdPlayPage/adinfo - reject -^https?:\/\/(2(5[0-5]{1}|[0-4]\d{1})|[0-1]?\d{1,2})(\.(2(5[0-5]{1}|[0-4]\d{1})|[0-1]?\d{1,2})){3}\/MobileAdServer\/ - reject - -# >> Le -^https?:\/\/.+\/letv-gug\/ - reject - -# >> 首汽约车 -^https?:\/\/gw-passenger\.01zhuanche\.com\/gw-passenger\/car-rest\/webservice\/passenger\/recommendADs - reject -^https?:\/\/gw-passenger\.01zhuanche\.com\/gw-passenger\/zhuanche-passenger-token\/leachtoken\/webservice\/homepage\/queryADs - reject - -# >> Sina -^https?:\/\/edit\.sinaapp\.com\/ua\?t=adv - reject - -# >> Sina Weather -^https?:\/\/tqt\.weibo\.cn\/.+advert\.index - reject -^https?:\/\/tqt\.weibo\.cn\/api\/advert\/ - reject -^https?:\/\/tqt\.weibo\.cn\/overall\/redirect\.php\?r=tqtad - reject -^https?:\/\/tqt\.weibo\.cn\/overall\/redirect\.php\?r=tqt_sdkad - reject - -# >> Sina Weibo -^https?:\/\/sdkapp\.uve\.weibo\.com\/interface\/sdk\/sdkad\.php - reject -^https?:\/\/wbapp\.uve\.weibo\.com\/wbapplua\/wbpullad\.lua - reject -^https?:\/\/sdkapp\.uve\.weibo\.com/\interface\/sdk\/actionad\.php - reject - -# >> SMZDM -^https?:\/\/api\.smzdm\.com\/v\d\/util\/loading - reject - -# >> Snail Sleep -^https?:\/\/snailsleep\.net\/snail\/v\d\/adTask\/ - reject -^https?:\/\/snailsleep\.net\/snail\/v\d\/screen\/qn\/get\? - reject - -# >> Sohu -^https?:\/\/api\.k\.sohu\.com\/api\/news\/adsense - reject -^https?:\/\/api\.tv\.sohu\.com\/agg\/api\/app\/config\/bootstrap - reject -^https?:\/\/hui\.sohu\.com\/predownload2/\? - reject -^https?:\/\/pic\.k\.sohu\.com\/img8\/wb\/tj\/ - reject -^https?:\/\/s1\.api\.tv\.itc\.cn\/v\d\/mobile\/control\/switch\.json - reject - -# >> StarFans -^https?:\/\/a\.sfansclub\.com\/business\/t\/ad\/ - reject -^https?:\/\/a\.sfansclub\.com\/business\/t\/boot\/screen\/index - reject - -# >> TaPiaoPiao -^https?:\/\/acs\.m\.taobao\.com\/gw\/mtop\.film\.mtopadvertiseapi\.queryadvertise\/ - reject - -# >> Tencent Futu Securities -^https?:\/\/api5\.futunn\.com\/ad\/ - reject - -# >> Tencent Game -^https?:\/\/qt\.qq\.com\/lua\/mengyou\/get_splash_screen_info - reject -^https?:\/\/ssl\.kohsocialapp\.qq\.com:10001\/game\/buttons - reject - -# >> Tencent Maps -^https?:\/\/3gimg\.qq\.com\/tencentMapTouch\/app\/activity\/ - reject -^https?:\/\/newsso\.map\.qq\.com\/\?&attime= - reject - -# >> Tencent News -^https?:\/\/r\.inews\.qq\.com\/adsBlacklist - reject -^https?:\/\/r\.inews\.qq\.com\/getFullScreenPic - reject -^https?:\/\/r\.inews\.qq\.com\/getQQNewsRemoteConfig - reject - -# >> Tencent QQLive -^https?:\/\/.+\.mp4\?cdncode=.+&guid= - reject -^https?:\/\/.+\.mp4\?cdncode=.+&sdtfrom=v3004 - reject -^https?:\/\/btrace.qq.com - reject -^https?:\/\/vv\.video\.qq\.com\/getvmind\? - reject - -# >> Tencent WeChat -^https?:\/\/mp\.weixin\.qq.com\/mp\/advertisement_report - reject -^https?:\/\/mp\.weixin\.qq.com\/mp\/ad_complaint - reject -^https?:\/\/mp\.weixin\.qq.com\/mp\/ad_video - reject - -# >> The Paper -^https?:\/\/adpai\.thepaper\.cn\/.+&ad= - reject - -# >> Thunder -^https?:\/\/images\.client\.vip\.xunlei\.com\/.+\/advert\/ - reject - -# >> tskscn -^https?:\/\/47\.97\.20\.12\/ad\/ - reject - -# >> TV_Home -^https?:\/\/api\.gaoqingdianshi\.com\/api\/v\d\/ad\/ - reject - -# >> txffp -^https?:\/\/pss\.txffp\.com\/piaogen\/images\/launchScreen/ - reject - -# >> UC -^https?:\/\/huichuan\.sm\.cn\/jsad - reject -^https?:\/\/iflow\.uczzd\.cn\/log\/ - reject - -# >> Variflight -^https:\/\/app\.variflight\.com\/v4\/advert\/ - reject - -# >> VUE -^https?:\/\/static\.vuevideo\.net\/styleAssets\/.+\/splash_ad - reject -^https?:\/\/static\.vuevideo\.net\/styleAssets\/advertisement\/ - reject - -# >> WallStreetCN -^https?:\/\/api\.wallstreetcn\.com\/apiv\d\/advertising\/ - reject - -# >> WeDoctor -^https?:\/\/app\.wy\.guahao\.com\/json\/white\/dayquestion\/getpopad - reject - -# >> Weico -^https?:\/\/overseas\.weico\.cc/portal\.php\?a=get_coopen_ads - reject - -# >> WeiDian -^https?:\/\/thor\.weidian\.com\/ares\/home\.splash\/ - reject - -# >> WiFi Share Master -^https?:\/\/nochange\.ggsafe\.com\/ad\/ - reject - -# >> WIFI8 -^https?:\/\/cmsapi\.wifi8\.com\/v\d\/emptyAd\/info - reject -^https?:\/\/cmsapi\.wifi8\.com\/v\d\/adNew\/config - reject - -# >> Wuta Cam -^https?:\/\/api-release\.wuta-cam\.com\/ad_tree - reject -^https?:\/\/res-release\.wuta-cam\.com\/json\/ads_component_cache\.json - reject - -# >> Xiachufang -^https?:\/\/api\.xiachufang\.com\/v\d\/ad/ - reject - -# >> Luckin Coffee -^https?:\/\/.+\/resource\/m\/promo\/adsense - reject -^https?:\/\/.+\/resource\/m\/sys\/app\/adpos - reject - -# >> MaFengWo -^https?:\/\/mapi\.mafengwo\.cn\/ad\/ - reject -^https?:\/\/mapi\.mafengwo\.cn\/travelguide\/ad\/ - reject - -# >> Mahua Video -^https?:\/\/.+\/api\/app\/member\/ver2\/user\/login\/ - reject - - -# >> Maiduidui -^https?:\/\/mob\.mddcloud\.com\.cn\/api\/(ad|advert)\/ - reject - -# >> Manhuaren -^https?:\/\/mangaapi\.manhuaren\.com\/v\d\/public\/getStartPageAds - reject - - -# >> Meituan -^https?:\/\/img\.meituan\.net\/midas\/ - reject -^https?:\/\/p([0-9])\.meituan\.net\/(mmc|wmbanner)\/ - reject -^https?:\/\/p\d{1}\.meituan\.net\/(adunion|display|linglong|mmc|wmbanner)\/ - reject -^https?:\/\/s3plus\.meituan\.net\/.+\/linglong\/ - reject - -# >> Meiweibuyongdeng -^https?:\/\/capi.mwee.cn/app-api/V12/app/getstartad - reject - -# >> MI -^https?:\/\/api\.m\.mi\.com\/v\d\/app\/start - reject -^https?:\/\/api\.jr\.mi\.com\/v\d\/adv\/ - reject -^https?:\/\/api\.jr\.mi\.com\/jr\/api\/playScreen - reject - -# >> MI Fit -^https?:\/\/api-mifit\.huami\.com\/discovery\/mi\/discovery\/homepage_ad\? - reject -^https?:\/\/api-mifit\.huami\.com\/discovery\/mi\/discovery\/sleep_ad\? - reject -^https?:\/\/api-mifit\.huami\.com\/discovery\/mi\/discovery\/sport_ad\? - reject -^https?:\/\/api-mifit\.huami\.com\/discovery\/mi\/discovery\/sport_summary_ad\? - reject -^https?:\/\/api-mifit\.huami\.com\/discovery\/mi\/discovery\/sport_training_ad\? - reject -^https?:\/\/api-mifit\.huami\.com\/discovery\/mi\/discovery\/step_detail_ad\? - reject -^https?:\/\/api-mifit\.huami\.com\/discovery\/mi\/discovery\/training_video_ad\? - reject - -# >> Miaopai -^https?:\/\/b-api\.ins\.miaopai\.com\/1\/ad/ - reject - -# >> MIgu -^https?:\/\/.+\/v\d\/iflyad\/ - reject -^https?:\/\/.+\/cdn-adn\/ - reject -^https?:\/\/ggic\.cmvideo\.cn\/ad\/ - reject -^https?:\/\/ggic2\.cmvideo\.cn\/ad\/ - reject -^https?:\/\/.+/img\/ad\.union\.api\/ - reject - -# >> MixC -^https?:\/\/app\.mixcapp\.com\/mixc\/api\/v\d\/ad - reject - -# >> MogoRenter -^https?:\/\/api\.mgzf\.com\/renter-operation\/home\/startHomePage - reject - -# >> MojiWeather -^https?:\/\/cdn\.moji\.com\/(adoss|adlink)\/ - reject - -# >> Myhug -^https?:\/\/www\.myhug\.cn\/ad\/ - reject - -# >> NationalGeographic -^https?:\/\/dili\.bdatu\.com\/jiekou\/ad\/ - reject - -# >> NationalGeographicChina -^https?:\/\/wap\.ngchina\.cn\/news\/adverts\/ - reject - -# >> NetEase -^https?:\/\/.+\/eapi\/(ad|log)\/ - reject -^https?:\/\/client\.mail\.163\.com\/apptrack\/confinfo\/searchMultiAds - reject -^https?:\/\/c\.m\.163\.com\/nc\/gl\/ - reject -^https?:\/\/dsp-impr2\.youdao\.com\/adload.s\? - reject -^https?:\/\/oimage([a-z])([0-9])\.ydstatic\.com\/.+adpublish - reject -^https?:\/\/sp\.kaola\.com\/api\/openad - reject -^https?:\/\/support\.you\.163\.com\/xhr\/boot\/getBootMedia\.json - reject - -# >> ofo -^https?:\/\/supportda\.ofo\.com\/adaction\? - reject -^https?:\/\/ma\.ofo\.com\/ads\/ - reject -^https?:\/\/activity2\.api\.ofo\.com\/ofo\/Api\/v\d\/ads - reject -^https?:\/\/ma\.ofo\.com\/adImage\/ - reject - -# >> PConline -^https?:\/\/agent-count\.pconline\.com\.cn\/counter\/adAnalyse\/ - reject -^https?:\/\/mrobot\.pcauto\.com\.cn\/v\d\/ad2p - reject -^https?:\/\/mrobot\.pcauto\.com\.cn\/xsp\/s\/auto\/info\/preload\.xsp - reject -^https?:\/\/mrobot\.pconline\.com\.cn\/s\/onlineinfo\/ad\/ - reject -^https?:\/\/mrobot\.pconline\.com\.cn\/v\d\/ad2p - reject - -# >> PeanutWiFiMpass -^https?:\/\/cmsapi\.wifi8\.com\/v\d{1}\/(emptyAd|adNew)\/ - reject - -# >> Qdaily -^https?:\/\/app3\.qdaily\.com\/app3\/boot_advertisements\.json - reject -^https?:\/\/notch\.qdaily\.com\/api\/v\d\/boot_ad - reject - -# >> Qiongou -^https?:\/\/media\.qyer\.com\/ad\/ - reject -^https?:\/\/open\.qyer.com\/qyer\/config\/get - reject -^https?:\/\/open\.qyer\.com\/qyer\/startpage\/ - reject - -# >> Qiuduoduo -^https?:\/\/api\.qiuduoduo\.cn\/guideimage - reject - -# >> Renren Video -^https?:\/\/api\.rr\.tv\/ad\/ - reject -^https?:\/\/api\.videozhishi\.com\/api\/getAdvertising - reject -^https?:\/\/msspjh\.emarbox\.com\/getAdConfig - reject - -# >> ShiHuo -^https?:\/\/www\.shihuo\.cn\/app3\/saveAppInfo - reject - -# >> Xiami music -^https?:\/\/acs\.m\.taobao\.com\/gw\/mtop\.alimusic\.common\.mobileservice\.startinit\/ - reject - -# >> Xianyu -^https?:\/\/gw\.alicdn\.com\/mt\/ - reject -^https?:\/\/gw\.alicdn\.com\/tfs\/.+\d{3,4}-\d{4} - reject -^https?:\/\/gw\.alicdn\.com\/tps\/.+\d{3,4}-\d{4} - reject - -# >> Xiao Shuimian -^https?:\/\/api\.psy-1\.com\/cosleep\/startup - reject - -# >> Ximalaya -^https?:\/\/adse.+\.com\/[a-z]{4}\/loading\?appid= - reject -^https?:\/\/adse\.ximalaya\.com\/ting\/feed\?appid= - reject -^https?:\/\/adse\.ximalaya\.com\/ting\/loading\?appid= - reject -^https?:\/\/adse\.ximalaya\.com\/ting\?appid= - reject -^https?:\/\/fdfs\.xmcdn\.com\/group21\/M03\/E7\/3F\/ - reject -^https?:\/\/fdfs\.xmcdn\.com\/group21\/M0A\/95\/3B\/ - reject -^https?:\/\/fdfs\.xmcdn\.com\/group22\/M00\/92\/FF\/ - reject -^https?:\/\/fdfs\.xmcdn\.com\/group22\/M05\/66\/67\/ - reject -^https?:\/\/fdfs\.xmcdn\.com\/group22\/M07\/76\/54\/ - reject -^https?:\/\/fdfs\.xmcdn\.com\/group23\/M01\/63\/F1\/ - reject -^https?:\/\/fdfs\.xmcdn\.com\/group23\/M04\/E5\/F6\/ - reject -^https?:\/\/fdfs\.xmcdn\.com\/group23\/M07\/81\/F6\/ - reject -^https?:\/\/fdfs\.xmcdn\.com\/group23\/M0A\/75\/AA\/ - reject -^https?:\/\/fdfs\.xmcdn\.com\/group24\/M03\/E6\/09\/ - reject -^https?:\/\/fdfs\.xmcdn\.com\/group24\/M07\/C4\/3D\/ - reject -^https?:\/\/fdfs\.xmcdn\.com\/group25\/M05\/92\/D1\/ - reject - -# >> Xunyou Booster -^https?:\/\/portal-xunyou\.qingcdn\.com\/api\/v\d\/ios\/configs\/(splash_ad|ad_urls) - reject -^https?:\/\/portal-xunyou\.qingcdn\.com\/api\/v\d{1}\/ios\/ads\/ - reject - -# >> Yahoo! -^https?:\/\/m\.yap\.yahoo\.com\/v18\/getAds\.do - reject - -# >> Yingshi Cloud Video -^https?:\/\/i\.ys7\.com\/api\/ads - reject - -# >> YOUKU -^https?:\/\/.+\.mp4\?ccode=0902 - reject -^https?:\/\/.+\.mp4\?sid= - reject - -# >> Youtube++ -^https?:\/\/api\.catch\.gift\/api\/v\d\/pagead\/ - reject - -# >> Yundongshijie -^https?:\/\/.+\.iydsj\.com\/api\/.+\/ad - reject - -# >> YYeTs -^https?:\/\/ctrl\.(playcvn|zmzapi)\.(com|net)\/app\/(ads|init) - reject - -# >> Zhiboba -^https?:\/\/a\.qiumibao\.com\/activities\/config\.php - reject -^https?:\/\/.+\/allOne\.php\?ad_name - reject - -# >> Zhihu -^https?:\/\/www\.zhihu\.com\/terms\/privacy\/confirm - reject -^https?:\/\/api\.zhihu\.com\/market\/popover - reject -^https?:\/\/api\.zhihu\.com\/search\/(top|tab|preset) - reject -^https?:\/\/api\.zhihu\.com\/(launch|ad-style-service|app_config|real_time|ab\/api) - reject -^https?:\/\/api\.zhihu\.com\/commercial_api\/(launch|real_time) - reject -^https?:\/\/(api|www)\.zhihu\.com\/.*(featured-comment-ad|recommendations|community-ad) - reject -^https?:\/\/(api|www)\.zhihu\.com\/(fringe|adx|commercial|ad-style-service|banners|mqtt) - reject - -# >> Zhuishushenqi -^https?:\/\/(api|b)\.zhuishushenqi\.com\/advert - reject -^https?:\/\/api01pbmp\.zhuishushenqi\.com\/gameAdvert - reject -^https?:\/\/api\.zhuishushenqi\.com\/notification\/shelfMessage - reject -^https?:\/\/api\.zhuishushenqi\.com\/notification\/shelfMessage - reject -^https?:\/\/api\.zhuishushenqi\.com\/recommend - reject -^https?:\/\/api\.zhuishushenqi\.com\/splashes\/ios - reject -^https?:\/\/api\.zhuishushenqi\.com\/user\/bookshelf-updated - reject -^https?:\/\/b\.zhuishushenqi\.com\/advert - reject -^https?:\/\/dspsdk\.abreader\.com\/v\d\/api\/ad\? - reject -^https?:\/\/itunes\.apple\.com\/lookup\?id=575826903 - reject -^https?:\/\/mi\.gdt\.qq\.com\/gdt_mview\.fcg - reject diff --git a/readme.md b/readme.md deleted file mode 100644 index 532065eb..00000000 --- a/readme.md +++ /dev/null @@ -1,15 +0,0 @@ -Folder\ -Module: Surge modules.\ -Script: Surge scripts.\ -\ -Ruleset\ -surge3_global: Domains prefer to proxy.\ -surge3_domestic: Domains prefer not to proxy.\ -surge3_domestic_test: Update more frequently, not recommend for daily use. If use this list, set update interval less than 12 hrs. Suited rules will merge to the mormal list.\ -surge3_apple_services: Apple services, not include Apple China Map domains, Apple CN domains and APNs domains, which will route to domestic.\ -surge3_stream_services: International stream services.\ -surge3_reject: AD Block list. If you want to block more ads, enable rixCloud Rewrite module.\ -surge3_GFW: GFW list.\ -surge3_neteasemusic: Netease Music list, usually used to unblock netease music. To unblock netease music, you should place the related policy group over domestic group. \ -surge3_telegram: Telegram IP list.\ -surge3_local_network: LAN IP.