├── VIF.sgmodule ├── apple-cdn.plugin ├── fengniao.plugin ├── hlbdy.sgmodule ├── ChatGPT.sgmodule ├── Github429.sgmodule ├── suiyuran ├── fix-vvebo-fans.js └── fix-vvebo-user-timeline.js ├── hlbdy.plugin ├── AppleIntelligence.list ├── WeChatAntiAD.sgmodule ├── reddit.sgmodule ├── goofish.js ├── WeChatDNS.plugin ├── mxbc.sgmodule ├── jdSearch.sgmodule ├── myxj_vip.plugin ├── WeChatAntiAD.plugin ├── xxyx.sgmodule ├── tbSearch.js ├── tonghuashun.sgmodule ├── EasyMoney.plugin ├── PParking.plugin ├── goofish.snippet ├── goofishSearch.js ├── jdSearch.plugin ├── Github429.plugin ├── tbSearch.sgmodule ├── tuhu.plugin ├── WeChatPay.plugin ├── AssppProFix.plugin ├── Wanda.plugin ├── hifini.sgmodule ├── Cloud189_Cookie.plugin ├── meiyou.plugin ├── tuhu.sgmodule ├── AEON.plugin ├── Cloud189_Cookie.sgmodule ├── jparking.plugin ├── CCBLife.plugin ├── Asspp_Pro.js ├── tonghuashun.js ├── WeChatPay.sgmodule ├── CCBLife.sgmodule ├── dml.sgmodule ├── douban.plugin ├── jdSearch.js ├── xxyx.plugin ├── jparking.sgmodule ├── tonghuashun.plugin ├── Wanda.sgmodule ├── 52pojie.plugin ├── naixue.plugin ├── dml.plugin ├── naixue.sgmodule ├── jparking_AD.plugin ├── goofish.plugin ├── goofish.sgmodule ├── mxbc.plugin ├── VVebo.snippet ├── VVebo_gitlab.snippet ├── VVebo_gitlab.plugin ├── myxj_vip.js ├── cloud189_cookie.js ├── VVebo.sgmodule ├── VVebo.plugin ├── VVebo_gitlab.sgmodule ├── fix-vvebo-user-timeline.js ├── reddit.js ├── samsclub.sgmodule ├── QX-VVeboTimeline.js ├── taobaoWeb.user.js ├── blockAD.snippet ├── VVebo.module ├── VVebo_gitlab.module ├── githubSorted.user.js ├── V2EX.user.js ├── hlw.plugin ├── autohome.user.js ├── Twitter.user.js ├── hp-black-list.user.js └── dlm.js /VIF.sgmodule: -------------------------------------------------------------------------------- 1 | #!name=VIF Excluded Routes 2 | #!desc=解决投屏异常 3 | #!category=能蟹仔 4 | 5 | [General] 6 | tun-excluded-routes = %INSERT% 239.255.255.250/32 -------------------------------------------------------------------------------- /apple-cdn.plugin: -------------------------------------------------------------------------------- 1 | #!name=Apple CDN-深圳电信 2 | #!desc=解决App Store下载巨慢 3 | #!category=能蟹仔 4 | 5 | [Host] 6 | iosapps.itunes.apple.com = iosapps.itunes.apple.com.download.ks-cdn.com 7 | -------------------------------------------------------------------------------- /fengniao.plugin: -------------------------------------------------------------------------------- 1 | #!name=补充风鸟去广告 2 | #!desc=补充风鸟去广告 3 | #!author=@能蟹仔 4 | #!icon=https://github.com/Toperlock/Quantumult/raw/main/icon/Doraemon/Doraemon-1053.png 5 | #!tag=能蟹仔 6 | [Rule] 7 | DOMAIN-SUFFIX,wwads.cn,REJECT-DICT 8 | -------------------------------------------------------------------------------- /hlbdy.sgmodule: -------------------------------------------------------------------------------- 1 | #!name= 黑料不打烊 2 | #!desc= 黑料不打烊 3 | #!author=@Yuheng0101 4 | #!category=能蟹仔 5 | [Script] 6 | 黑料不打烊 = type=cron,cronexp=0 9,15 * * *,wake-system=1,script-path=https://raw.githubusercontent.com/Yuheng0101/X/main/Tasks/hlbdy.js,timeout=60 7 | -------------------------------------------------------------------------------- /ChatGPT.sgmodule: -------------------------------------------------------------------------------- 1 | #!name=ChatGPT Desktop 2 | #!desc=破解GPT访问限制 3 | #!author=@Androidcn 4 | #!category=能蟹仔 5 | [MITM] 6 | hostname = ab.chatgpt.com 7 | [Body Rewrite] 8 | http-response ^https://ab\.chatgpt\.com/v1/ '"gateValue":"false"' '"gateValue":"true"' '"value":false' '"value":true' 9 | -------------------------------------------------------------------------------- /Github429.sgmodule: -------------------------------------------------------------------------------- 1 | #!name=Github 429 2 | #!desc=解除 Github 429 限制 3 | 4 | 5 | [Header Rewrite] 6 | http-request (raw|gist).githubusercontent.com header-replace Accept-Language en-us 7 | 8 | [MITM] 9 | hostname = %APPEND% raw.githubusercontent.com,gist.githubusercontent.com 10 | -------------------------------------------------------------------------------- /suiyuran/fix-vvebo-fans.js: -------------------------------------------------------------------------------- 1 | let url = $request.url; 2 | if (url.includes("selffans")) { 3 | let data = JSON.parse($response.body); 4 | let cards = data.cards.filter((card) => card.itemid !== "INTEREST_PEOPLE2"); 5 | $done({ body: JSON.stringify({ ...data, cards }) }); 6 | } else { 7 | $done({}); 8 | } 9 | -------------------------------------------------------------------------------- /hlbdy.plugin: -------------------------------------------------------------------------------- 1 | #!name= 黑料不打烊 2 | #!desc= 黑料不打烊 3 | #!author=@Yuheng0101 4 | #!category=能蟹仔 5 | 6 | [Script] 7 | cron "0 9,15 * * *" script-path=https://raw.githubusercontent.com/Yuheng0101/X/main/Tasks/hlbdy.js, timeout=60, tag=黑料不打烊, img-url=https://raw.githubusercontent.com/Toperlock/Quantumult/main/icon/heiliao.png 8 | -------------------------------------------------------------------------------- /AppleIntelligence.list: -------------------------------------------------------------------------------- 1 | 2 | # > Apple Intelligence 3 | DOMAIN,guzzoni.apple.com 4 | DOMAIN-SUFFIX,smoot.apple.com 5 | DOMAIN-SUFFIX,apple-relay.cloudflare.com 6 | DOMAIN-SUFFIX,apple-relay.fastly-edge.com 7 | DOMAIN-SUFFIX,cp4.cloudflare.com 8 | DOMAIN-SUFFIX,apple-relay.apple.com 9 | DOMAIN-SUFFIX,gspe1-ssl.ls.apple.com 10 | -------------------------------------------------------------------------------- /WeChatAntiAD.sgmodule: -------------------------------------------------------------------------------- 1 | #!name=WeChat公众号屏蔽小程序广告 2 | #!desc=WeChat公众号屏蔽小程序广告,不影响获得奖励 3 | #!author=@Lentin 4 | #!category=能蟹仔 5 | [Rule] 6 | DOMAIN,wxa.wxs.qq.com,REJECT 7 | DOMAIN,wximg.wxs.qq.com,REJECT 8 | DOMAIN,wxsmw.wxs.qq.com,REJECT 9 | 10 | [MITM] 11 | hostname = %APPEND% wxa.wxs.qq.com,wximg.wxs.qq.com,wxsmw.wxs.qq.com 12 | -------------------------------------------------------------------------------- /reddit.sgmodule: -------------------------------------------------------------------------------- 1 | #!name=Reddit 2 | #!desc=过滤推广关 NSFW 提示 3 | #!category=能蟹仔 4 | [Script] 5 | Reddit = type=http-response,pattern=^https?:\/\/gql\.reddit\.com,requires-body=1,max-size=0,timeout=30,script-path=https://github.com/androidcn/userscripts/raw/main/reddit.js 6 | 7 | [MITM] 8 | hostname = %APPEND% gql.reddit.com 9 | 10 | 11 | -------------------------------------------------------------------------------- /goofish.js: -------------------------------------------------------------------------------- 1 | var body = JSON.parse($response.body); 2 | var allSections = body.data.sections; 3 | allSections = allSections.filter((item) => { 4 | return item.data.bizType == "item"; 5 | }) 6 | body.data.sections = allSections; 7 | body.data.feedsCount = allSections.length; 8 | body = JSON.stringify(body); 9 | console.log("已删除咸鱼广告"); 10 | $done({ 11 | body 12 | }); 13 | -------------------------------------------------------------------------------- /WeChatDNS.plugin: -------------------------------------------------------------------------------- 1 | #!name= 腾讯专用DNS 2 | #!desc= 微信DNS,QQ,腾讯 3 | #!author=Androidcn 4 | 5 | [Host] 6 | *.qq.com = server:119.28.28.28 7 | *.exmail.qq.com = server:119.29.29.29 8 | *.weixin.qq.com = server:119.29.29.29 9 | *.weixin.qq.com.cn = server:119.29.29.29 10 | *.weixin.com.cn = server:119.29.29.29 11 | *.tencent.com = server:119.29.29.29 12 | *.weixin.com = server:119.29.29.29 13 | -------------------------------------------------------------------------------- /mxbc.sgmodule: -------------------------------------------------------------------------------- 1 | #!name=蜜雪冰城 2 | #!desc=蜜雪冰城每日签到 3 | #!author=@Sliverkiss 4 | #!category=能蟹仔 5 | [Script] 6 | 蜜雪冰城获取token = type=http-response, pattern=^https:\/\/mxsa\.mxbc\.net\/api\/v1\/customer\/info, script-path=https://gist.githubusercontent.com/Sliverkiss/865c82e42a5730bb696f6700ebb94cee/raw/mxbc.js, requires-body=true, timeout=60 7 | 8 | [MITM] 9 | hostname = %APPEND% mxsa.mxbc.net 10 | -------------------------------------------------------------------------------- /jdSearch.sgmodule: -------------------------------------------------------------------------------- 1 | #!name=JD搜索广告再见 2 | #!desc=去除JD搜索广告 3 | #!category=能蟹仔 4 | [Script] 5 | jdSearch = type=http-response, pattern=^https:\/\/api\.m\.jd\.com\/client\.action\?functionId=search$, requires-body=true, max-size=3145728, script-path=https://raw.githubusercontent.com/androidcn/userscripts/main/jdSearch.js, timeout=60, script-update-interval=0 6 | 7 | [MITM] 8 | hostname = %APPEND% api.m.jd.com 9 | -------------------------------------------------------------------------------- /myxj_vip.plugin: -------------------------------------------------------------------------------- 1 | #!name=MYXJ 2 | #!desc=美颜相机 3 | #!category=Androidcn 4 | #!icon=https://github.com/Toperlock/Quantumult/raw/main/icon/Doraemon/Doraemon-1010.png 5 | 6 | [Script] 7 | http-response ^https:\/\/api\.meiyan\.com script-path=https://raw.githubusercontent.com/androidcn/userscripts/main/myxj_vip.js, requires-body=true, timeout=60, tag=Meiyanxiangji 8 | [MITM] 9 | hostname = api.meiyan.com 10 | -------------------------------------------------------------------------------- /WeChatAntiAD.plugin: -------------------------------------------------------------------------------- 1 | #!name=WeChat公众号屏蔽小程序广告 2 | #!desc=WeChat公众号屏蔽小程序广告,不影响获得奖励 3 | #!author=@Lentin 4 | #!icon=https://github.com/Toperlock/Quantumult/raw/main/icon/Doraemon/Doraemon-1053.png 5 | #!tag=能蟹仔 6 | 7 | [Rule] 8 | DOMAIN,wxa.wxs.qq.com,REJECT 9 | DOMAIN,wximg.wxs.qq.com,REJECT 10 | DOMAIN,wxsmw.wxs.qq.com,REJECT 11 | 12 | [MITM] 13 | hostname = wxa.wxs.qq.com, wximg.wxs.qq.com, wxsmw.wxs.qq.com 14 | -------------------------------------------------------------------------------- /xxyx.sgmodule: -------------------------------------------------------------------------------- 1 | #!name=晓晓优选 2 | #!desc=晓晓优选 3 | #!author=@Sliverkiss 4 | #!category=能蟹仔 5 | [Script] 6 | xxyx = type=http-response, pattern=^https:\/\/xxyx-client-api\.xiaoxiaoyouxuan\.com\/my, script-path=https://gist.githubusercontent.com/Sliverkiss/991a81be1fc8cf2a1937432be68f5521/raw/xxyx.js, requires-body=true, max-size=-1, timeout=60 7 | 8 | [MITM] 9 | hostname = %APPEND% xxyx-client-api.xiaoxiaoyouxuan.com 10 | -------------------------------------------------------------------------------- /tbSearch.js: -------------------------------------------------------------------------------- 1 | var body = JSON.parse($response.body); 2 | var allSections = body.data.itemsArray; 3 | allSections = allSections.filter((item) => { 4 | return !item.utLogMap.hasOwnProperty("ad_slot"); 5 | }) 6 | body.data.itemsArray = allSections; 7 | //body.data.feedsCount = allSections.length; 8 | body = JSON.stringify(body); 9 | console.log("已删除TB搜索广告"); 10 | $done({ 11 | body 12 | }); 13 | -------------------------------------------------------------------------------- /tonghuashun.sgmodule: -------------------------------------------------------------------------------- 1 | #!name=同花顺广告再见 2 | #!desc=去除同花顺广告 3 | #!category=能蟹仔 4 | [Script] 5 | THSblockAD = type=http-response, pattern=^https:\/\/recommend\.10jqka\.com\.cn\/app\/discover\/api\/v1\/recommend, requires-body=true, max-size=3145728, script-path=https://raw.githubusercontent.com/androidcn/userscripts/main/tonghuashun.js, timeout=60, script-update-interval=0 6 | 7 | [MITM] 8 | hostname = %APPEND% recommend.10jqka.com.cn 9 | -------------------------------------------------------------------------------- /EasyMoney.plugin: -------------------------------------------------------------------------------- 1 | #!name = 东方财富 去广告(Loon版) 2 | #!desc = @事儿 没啥 去除开屏广告及活动背景图,需清除缓存后生效 3 | #!date = 2024-11-18 21:37 4 | 5 | [Rewrite] 6 | ^https:\/\/emdcadvertise(?:pj)?\.eastmoney\.com\/infoService\/v2 response-body-json-replace data.adpositionidlist [] 7 | ^https:\/\/swdlcdn\.eastmoney\.com\/app\/adimg\/ url reject-dict 8 | 9 | [MITM] 10 | hostname= emdcadvertise.eastmoney.com, emdcadvertisepj.eastmoney.com, swdlcdn.eastmoney.com -------------------------------------------------------------------------------- /PParking.plugin: -------------------------------------------------------------------------------- 1 | #!name=PP停车 2 | #!desc=PP停车 3 | [MITM] 4 | hostname = api.660pp.com 5 | 6 | [Script] 7 | http-request ^https:\/\/api\.660pp\.com\/rest\/[\d\.]+?\/user\/token tag=PP 停车#, script-path=https://raw.githubusercontent.com/FoKit/Scripts/main/scripts/pp_parking.js,requires-body=0 8 | 9 | cron "17 7 * * *" script-path=https://raw.githubusercontent.com/FoKit/Scripts/main/scripts/pp_parking.js,tag = PP 停车,enable=true 10 | -------------------------------------------------------------------------------- /goofish.snippet: -------------------------------------------------------------------------------- 1 | hostname = g-acs.m.goofish.com 2 | //首页广告 3 | ^https:\/\/g-acs\.m\.goofish\.com\/gw\/mtop\.taobao\.idlehome\.home\.nextfresh\/ url script-response-body https://raw.githubusercontent.com/androidcn/userscripts/main/goofish.js 4 | //搜索广告 5 | ^https:\/\/g-acs\.m\.goofish\.com\/gw\/mtop\.taobao\.idlemtopsearch\.search\/ url script-response-body https://raw.githubusercontent.com/androidcn/userscripts/main/goofishSearch.js 6 | -------------------------------------------------------------------------------- /goofishSearch.js: -------------------------------------------------------------------------------- 1 | var body = JSON.parse($response.body); 2 | var allSections = body.data.resultList; 3 | allSections = allSections.filter((item) => { 4 | return item.data.item.main.clickParam.args.item_type == "goods"; 5 | }) 6 | body.data.resultList = allSections; 7 | //body.data.feedsCount = allSections.length; 8 | body = JSON.stringify(body); 9 | console.log("已删除咸鱼搜索广告"); 10 | $done({ 11 | body 12 | }); 13 | -------------------------------------------------------------------------------- /jdSearch.plugin: -------------------------------------------------------------------------------- 1 | #!name=京东搜索去推荐商品 2 | #!desc=京东搜索去推荐商品 3 | #!category=Androidcn 4 | #!icon=https://github.com/Toperlock/Quantumult/raw/main/icon/Doraemon/Doraemon-1010.png 5 | 6 | [Script] 7 | http-response ^https:\/\/api\.m\.jd\.com\/client\.action\?functionId=search$ script-path=https://raw.githubusercontent.com/androidcn/userscripts/main/jdSearch.js, requires-body=true, timeout=60, tag=jdSearch 8 | 9 | [MITM] 10 | hostname = api.m.jd.com 11 | -------------------------------------------------------------------------------- /Github429.plugin: -------------------------------------------------------------------------------- 1 | #!name=Github 429 2 | #!desc=解除 Github 429 限制 3 | #!icon=https://github.com/Toperlock/Quantumult/raw/main/icon/Doraemon/Doraemon-1042.png 4 | 5 | 6 | [Rewrite] 7 | # 解决github速率限制返回429问题 8 | ^https:\/\/(raw|gist)\.githubusercontent\.com\/ header-replace Accept-Language en-us 9 | ^https:\/\/github\.com\/ header-replace Accept-Language en-us 10 | 11 | 12 | [MITM] 13 | hostname = raw.githubusercontent.com, gist.githubusercontent.com 14 | -------------------------------------------------------------------------------- /tbSearch.sgmodule: -------------------------------------------------------------------------------- 1 | #!name=TB搜索广告再见 2 | #!desc=去除TB搜索广告 3 | #!category=能蟹仔 4 | [Script] 5 | tbSearch = type=http-response, pattern=^https:\/\/guide-acs\.m\.taobao\.com\/gw\/mtop\.relationrecommend\.mtoprecommend\.recommend\/, requires-body=true, max-size=3145728, script-path=https://raw.githubusercontent.com/androidcn/userscripts/main/tbSearch.js, timeout=60, script-update-interval=0 6 | 7 | [MITM] 8 | hostname = %APPEND% guide-acs.m.taobao.com 9 | 10 | -------------------------------------------------------------------------------- /tuhu.plugin: -------------------------------------------------------------------------------- 1 | #!name=途虎养车 2 | #!desc=途虎养车@Fokit修复blackBox by @Sliverkiss 3 | [MITM] 4 | hostname = api.tuhu.cn 5 | 6 | [Script] 7 | http-request https:\/\/api\.tuhu\.cn\/User\/GetInternalCenterInfo tag=途虎养车#, script-path=https://raw.githubusercontent.com/Sliverkiss/GoodNight/master/Script/tuhu.js,requires-body=0 8 | 9 | cron "17 7 * * *" script-path=https://raw.githubusercontent.com/Sliverkiss/GoodNight/master/Script/tuhu.js,tag = 途虎养车,enable=true 10 | -------------------------------------------------------------------------------- /WeChatPay.plugin: -------------------------------------------------------------------------------- 1 | #!name=微付金币 2 | #!desc=微付金币 3 | [MITM] 4 | hostname = payapp.weixin.qq.com 5 | 6 | [Script] 7 | http-response https:\/\/payapp\.weixin\.qq\.com\/coupon-center-user\/home\/login tag=微付金币², script-path=https://raw.githubusercontent.com/FoKit/Scripts/main/scripts/wechat_pay_coupon.js,requires-body=1 8 | 9 | cron "30 9 * * 0" script-path=https://raw.githubusercontent.com/FoKit/Scripts/main/scripts/wechat_pay_coupon.js,tag = 微付金币,enable=true 10 | -------------------------------------------------------------------------------- /AssppProFix.plugin: -------------------------------------------------------------------------------- 1 | #!name=Asspp_Pro修复版本号获取 2 | #!desc=修复版本号获取 3 | #!category=Androidcn 4 | #!icon=https://github.com/Toperlock/Quantumult/raw/main/icon/Doraemon/Doraemon-1010.png 5 | 6 | [Script] 7 | http-response ^https:\/\/api\.timbrd\.com\/apple\/app-version\/index\.php\?id=\d+$ script-path=https://raw.githubusercontent.com/androidcn/userscripts/main/Asspp_Pro.js, requires-body=true, timeout=60, tag=AssppProFix 8 | 9 | [MITM] 10 | hostname = api.timbrd.com 11 | -------------------------------------------------------------------------------- /Wanda.plugin: -------------------------------------------------------------------------------- 1 | #!name= 万达智慧商业 2 | #!desc= 万达智慧商业 3 | #!author=@leiyiyan 4 | [MITM] 5 | hostname = www.wandawic.com 6 | 7 | [Script] 8 | http-response ^https?:\/\/www\.wandawic\.com\/api\/foreground\/loginregister\/queryUser tag=万达智慧商业²,script-path=https://raw.githubusercontent.com/leiyiyan/resource/main/script/wdzhsy/wdzhsy.js,requires-body=1 9 | 10 | cron "30 9 * * *" script-path=https://raw.githubusercontent.com/leiyiyan/resource/main/script/wdzhsy/wdzhsy.js,tag=万达智慧商业,enable=true -------------------------------------------------------------------------------- /hifini.sgmodule: -------------------------------------------------------------------------------- 1 | #!name=HiFini签到 2 | #!desc=HiFini签到@lowking 3 | #!category=能蟹仔 4 | 5 | [Script] 6 | # > hifini签到 7 | hifini签到cookie = type=http-request,pattern=https:\/\/www.hifini.com\/my.htm,script-path=https://raw.githubusercontent.com/lowking/Scripts/master/hifini/hifiniSign.js 8 | hifini签到 = type=cron,cronexp="0 10 0 * * ?",wake-system=1,script-path=https://raw.githubusercontent.com/lowking/Scripts/master/hifini/hifiniSign.js 9 | 10 | [MITM] 11 | hostname = %APPEND% *.hifini.com 12 | -------------------------------------------------------------------------------- /Cloud189_Cookie.plugin: -------------------------------------------------------------------------------- 1 | #!name=cloud.189.cn Cookie 提取器 2 | #!desc=仅在访问 https://h5.cloud.189.cn/main.html#/my 时提取 Cookie,确保用户已登录 3 | #!author=androidcn 4 | #!version=1.0.0 5 | #!icon=https://cloud.189.cn/favicon.ico 6 | 7 | [Script] 8 | http-request ^https:\/\/api\.cloud\.189\.cn\/open\/file\/listFiles\.action script-path=https://github.com/androidcn/userscripts/raw/refs/heads/main/cloud189_cookie.js, tag=提取 cloud.189.cn Cookie, requires-body=false 9 | 10 | [MITM] 11 | hostname = h5.cloud.189.cn 12 | -------------------------------------------------------------------------------- /meiyou.plugin: -------------------------------------------------------------------------------- 1 | #!name=美柚去广告 2 | #!desc=美柚去广告 3 | #!icon=https://github.com/Toperlock/Quantumult/raw/main/icon/Doraemon/Doraemon-1042.png 4 | 5 | [Rewrite] 6 | ^http:\/\/x\.seeyouyima\.com\/adx\/staticstics\? reject 7 | ^https:\/\/axxd\.xmseeyouyima\.com\/ad\/ reject 8 | ^https:\/\/axxd\.xmseeyouyima\.com\/ad_statistics\? reject 9 | ^https:\/\/axxd\.xmseeyouyima\.com\/v1\/getad\? reject 10 | ^https:\/\/axxd\.xmseeyouyima\.com\/pregetad\? reject 11 | 12 | [Mitm] 13 | x.seeyouyima.com,axxd.xmseeyouyima.com -------------------------------------------------------------------------------- /tuhu.sgmodule: -------------------------------------------------------------------------------- 1 | #!name=途虎养车 2 | #!desc=途虎养车签到 3 | #!author=@Fokit 4 | #!category=能蟹仔 5 | 6 | [MITM] 7 | hostname = api.tuhu.cn 8 | 9 | [Script] 10 | 途虎养车# = type=http-request,pattern=https:\/\/api\.tuhu\.cn\/User\/GetInternalCenterInfo,requires-body=0,max-size=0,script-path=https://raw.githubusercontent.com/FoKit/Scripts/main/scripts/tuhu.js 11 | 12 | 途虎养车 = type=cron,cronexp=17 7 * * *,timeout=60,script-path=https://raw.githubusercontent.com/FoKit/Scripts/main/scripts/tuhu.js,script-update-interval=0 13 | -------------------------------------------------------------------------------- /AEON.plugin: -------------------------------------------------------------------------------- 1 | #!name=永旺AEON签到 2 | #!desc=永旺AEON签到 3 | #!author=@Fokit 4 | #!category=能蟹仔 5 | 6 | [MITM] 7 | hostname = api.aeonbuy.com 8 | 9 | [Script] 10 | http-response https:\/\/api\.aeonbuy\.com\/api\/access-auth-api\/auth\/third\/silentWechatMiniLogin tag=永旺 Aeon²,script-path=https://raw.githubusercontent.com/FoKit/Scripts/main/scripts/aeon_sign.js,requires-body=1 11 | 12 | cron "20 8 * * *" script-path=https://raw.githubusercontent.com/FoKit/Scripts/main/scripts/aeon_sign.js,tag=永旺 Aeon,enable=true 13 | -------------------------------------------------------------------------------- /Cloud189_Cookie.sgmodule: -------------------------------------------------------------------------------- 1 | #!name=cloud.189.cn Cookie 提取器 2 | #!desc=仅在访问 https://h5.cloud.189.cn/main.html#/my 时提取 Cookie,确保登录状态 3 | #!author=androidcn 4 | #!homepage=https://cloud.189.cn/ 5 | #!icon=https://cloud.189.cn/favicon.ico 6 | 7 | [Script] 8 | http-request ^https:\/\/api\.cloud\.189\.cn\/open\/user\/getUserInfo\.action script-path=https://github.com/androidcn/userscripts/raw/refs/heads/main/cloud189_cookie.js, tag=提取 cloud.189.cn Cookie, requires-body=false 9 | 10 | [MITM] 11 | hostname = h5.cloud.189.cn 12 | -------------------------------------------------------------------------------- /jparking.plugin: -------------------------------------------------------------------------------- 1 | #!name=捷停车 2 | #!desc=捷停车 3 | #!author=@Fokit 4 | #!category=能蟹仔 5 | [MITM] 6 | hostname = sytgate.jslife.com.cn 7 | 8 | [Script] 9 | cron "15 9 * * *" script-path=https://raw.githubusercontent.com/FoKit/Scripts/main/scripts/jparking_sign.js, tag=捷停车签到 10 | 11 | http-request ^https:\/\/sytgate\.jslife\.com\.cn\/core-gateway\/order\/carno\/pay\/info script-path=https://raw.githubusercontent.com/FoKit/Scripts/main/scripts/jparking_sign.js, requires-body=true, timeout=10, enabled=true, tag=获取捷停车userId 12 | -------------------------------------------------------------------------------- /CCBLife.plugin: -------------------------------------------------------------------------------- 1 | #!name=建行生活签到 2 | #!desc=建行生活@Fokit 3 | #!author=@Fokit 4 | #!category=能蟹仔 5 | 6 | [MITM] 7 | hostname = yunbusiness.ccb.com 8 | 9 | [Script] 10 | http-request ^https:\/\/yunbusiness\.ccb\.com\/(clp_coupon|clp_service)\/txCtrl\?txcode=(A3341A038|autoLogin) tag=建行数据, script-path=https://raw.githubusercontent.com/FoKit/Scripts/main/scripts/jhsh_checkIn.js,requires-body=1 11 | 12 | cron "17 7 * * *" script-path=https://raw.githubusercontent.com/FoKit/Scripts/main/scripts/jhsh_checkIn.js,tag = 建行生活,enable=true 13 | -------------------------------------------------------------------------------- /Asspp_Pro.js: -------------------------------------------------------------------------------- 1 | const url = $request.url; 2 | if(!$response.body) { 3 | $done({}); 4 | } 5 | var body = JSON.parse($response.body); 6 | // 遍历对象并将 external_identifier 转换为字符串 7 | body = body.map(item => { 8 | return { 9 | created_at: String(item.created_at), 10 | external_identifier: String(item.external_identifier), // 将 int 转换为 string 11 | bundle_version: String(item.bundle_version) 12 | }; 13 | }); 14 | body = JSON.stringify(body); 15 | console.log("已处理"); 16 | $done({ 17 | body 18 | }); 19 | -------------------------------------------------------------------------------- /tonghuashun.js: -------------------------------------------------------------------------------- 1 | const url =$request.url; 2 | if(!$response.body) 3 | { 4 | $done({}); 5 | } 6 | var body = JSON.parse($response.body);  7 | if (url.includes("recommend")) 8 | { 9 | var allSections = body.data; 10 | allSections = allSections.filter((item) => {  11 | return item.info.subject != "ad"; 12 | })  13 | body.data = allSections;  14 | body.total = allSections.length;  15 | body = JSON.stringify(body);  16 | console.log("已删除tonghuashun广告");   17 | $done({  18 | body  19 | }); 20 | } 21 | else{ 22 | $done({}); 23 | } 24 | 25 | -------------------------------------------------------------------------------- /WeChatPay.sgmodule: -------------------------------------------------------------------------------- 1 | #!name=微付金币 2 | #!desc=微付金币 3 | #!author=@Fokit 4 | #!category=能蟹仔 5 | [MITM] 6 | hostname = payapp.weixin.qq.com 7 | 8 | [Script] 9 | 微付金币² = type=http-response, pattern=https:\/\/payapp\.weixin\.qq\.com\/coupon-center-user\/home\/login, requires-body=1, max-size=0, script-path=https://raw.githubusercontent.com/FoKit/Scripts/main/scripts/wechat_pay_coupon.js 10 | 11 | 微付金币 = type=cron,cronexp=30 9 * * 0, timeout=60, script-path=https://raw.githubusercontent.com/FoKit/Scripts/main/scripts/wechat_pay_coupon.js, script-update-interval=0 12 | 13 | -------------------------------------------------------------------------------- /CCBLife.sgmodule: -------------------------------------------------------------------------------- 1 | #!name=建行生活签到 2 | #!desc=建行生活 3 | #!author=@Fokit 4 | #!category=能蟹仔 5 | [MITM] 6 | hostname = yunbusiness.ccb.com 7 | [Script] 8 | 建行数据 = type=http-request,pattern=^https:\/\/yunbusiness\.ccb\.com\/(clp_coupon|clp_service)\/txCtrl\?txcode=(A3341A038|autoLogin),requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/FoKit/Scripts/main/scripts/jhsh_checkIn.js 9 | 10 | 建行生活 = type=cron,cronexp=17 7 * * *,timeout=60,script-path=https://raw.githubusercontent.com/FoKit/Scripts/main/scripts/jhsh_checkIn.js,script-update-interval=0 11 | 12 | -------------------------------------------------------------------------------- /dml.sgmodule: -------------------------------------------------------------------------------- 1 | #!name=达美乐匹萨 2 | #!desc=达美乐@Sliverkiss 3 | #!category=能蟹仔 4 | #!arguments=interval:"30 10 * * *" 5 | [Script] 6 | 达乐美披萨 = type=cron, cronexp={{{interval}}}, script-path=https://gist.githubusercontent.com/Sliverkiss/6b4da0d367d13790a9fd1d928c82bdf8/raw/dlm.js, timeout=300 7 | 达美乐披萨获取token = type=http-request, pattern=^https:\/\/game\.dominos\.com\.cn\/.+\/game\/gameDone, script-path=https://gist.githubusercontent.com/Sliverkiss/6b4da0d367d13790a9fd1d928c82bdf8/raw/dlm.js, requires-body=true, timeout=10 8 | 9 | 10 | [MITM] 11 | hostname =game.dominos.com.cn 12 | -------------------------------------------------------------------------------- /douban.plugin: -------------------------------------------------------------------------------- 1 | #!name=豆瓣 2 | #!desc=豆瓣电影网页插件@Neurogram 3 | #!icon=https://github.com/Toperlock/Quantumult/raw/main/icon/Doraemon/Doraemon-1021.png 4 | 5 | [Argument] 6 | api_key = input,"",tag=TMDB-API,desc=TMDB削刮API 7 | region = select,"US","HK","CN",tag=地区,desc=选择地区 8 | 9 | [Script] 10 | http-response https:\/\/m(ovie)*\.douban\.com\/(movie\/)*subject\/.+ script-path=https://github.com/androidcn/Surge/raw/refs/heads/patch-1/Douban.js, requires-body=true, timeout=30, tag=Douban,argument=[{api_key},{region}] 11 | 12 | [MITM] 13 | hostname = m.douban.com, movie.douban.com 14 | -------------------------------------------------------------------------------- /jdSearch.js: -------------------------------------------------------------------------------- 1 | const url =$request.url; 2 | if(!$response.body) 3 | { 4 | $done({}); 5 | } 6 | var body = JSON.parse($response.body); 7 | if (url.includes("search")) 8 | { 9 | var allSections = body.wareInfo; 10 | allSections = allSections.filter((item) => { 11 | return !item.hasOwnProperty("adIconDescribe"); 12 | }) 13 | body.wareInfo = allSections; 14 | //body.data.feedsCount = allSections.length; 15 | body = JSON.stringify(body); 16 | console.log("已删除JD搜索广告"); 17 | $done({ 18 | body 19 | }); 20 | } 21 | else{ 22 | $done({}); 23 | } 24 | 25 | -------------------------------------------------------------------------------- /xxyx.plugin: -------------------------------------------------------------------------------- 1 | #!name=晓晓优选签到 2 | #!desc=晓晓优选签到 3 | #!icon=https://github.com/Toperlock/Quantumult/raw/main/icon/Doraemon/Doraemon-1048.png 4 | 5 | [Script] 6 | http-response ^https:\/\/xxyx-client-api\.xiaoxiaoyouxuan\.com\/my script-path=https://gist.githubusercontent.com/Sliverkiss/991a81be1fc8cf2a1937432be68f5521/raw/xxyx.js, requires-body=true, timeout=60, tag=xxyx 7 | cron "30 10 * * *" script-path=https://gist.githubusercontent.com/Sliverkiss/991a81be1fc8cf2a1937432be68f5521/raw/xxyx.js, timeout=300, tag=晓晓优选 8 | 9 | [MITM] 10 | hostname = xxyx-client-api.xiaoxiaoyouxuan.com -------------------------------------------------------------------------------- /jparking.sgmodule: -------------------------------------------------------------------------------- 1 | #!name=捷停车签到 2 | #!desc=捷停车每日签到 3 | #!author=@Fokit 4 | #!category=能蟹仔 5 | [Script] 6 | 获取捷停车userId = type=http-request, pattern=^https:\/\/sytgate\.jslife\.com\.cn\/core-gateway\/order\/carno\/pay\/info, script-path=https://raw.githubusercontent.com/FoKit/Scripts/main/scripts/jparking_sign.js, requires-body=true, max-size=0 7 | 8 | 捷停车签到 = type=cron, cronexp="15 9 * * *", script-path=https://raw.githubusercontent.com/FoKit/Scripts/main/scripts/jparking_sign.js, script-update-interval=0, timeout=60 9 | 10 | [MITM] 11 | hostname = %APPEND% sytgate.jslife.com.cn 12 | -------------------------------------------------------------------------------- /tonghuashun.plugin: -------------------------------------------------------------------------------- 1 | #!name=同花顺去推荐广告 2 | #!desc=去除同花顺推荐广告 3 | #!category=Androidcn 4 | #!icon=https://github.com/Toperlock/Quantumult/raw/main/icon/Doraemon/Doraemon-1009.png 5 | 6 | [Script] 7 | http-response ^https:\/\/recommend\.10jqka\.com\.cn\/app\/discover\/api\/v1\/recommend script-path=https://raw.githubusercontent.com/androidcn/userscripts/main/tonghuashun.js, requires-body=true, timeout=60, tag=THSblockAD 8 | png 9 | 10 | [Rewrite] 11 | #同花顺 12 | ^https?:\/\/adm\.10jqka\.com\.cn\/interface\/ad\/recommend - reject 13 | 14 | [MITM] 15 | hostname = recommend.10jqka.com.cn 16 | -------------------------------------------------------------------------------- /Wanda.sgmodule: -------------------------------------------------------------------------------- 1 | #!name=万达智慧商业 2 | #!desc=万达签到 3 | #!author=@leiyiyan 4 | #!category=能蟹仔 5 | [MITM] 6 | hostname = %APPEND% www.wandawic.com 7 | 8 | [Script] 9 | 万达智慧商业² = type=http-response,pattern=^https?:\/\/www\.wandawic\.com\/api\/foreground\/loginregister\/queryUser,requires-body=1,max-size=0,binary-body-mode=0,timeout=30,script-path=https://raw.githubusercontent.com/leiyiyan/resource/main/script/wdzhsy/wdzhsy.js,script-update-interval=0 10 | 11 | 万达智慧商业 = type=cron,cronexp=30 9 * * *,timeout=60,script-path=https://raw.githubusercontent.com/leiyiyan/resource/main/script/wdzhsy/wdzhsy.js,script-update-interval=0 12 | -------------------------------------------------------------------------------- /52pojie.plugin: -------------------------------------------------------------------------------- 1 | #!name=52pojie每日签到 2 | #!desc=@Yuheng0101 52破解每日签到 3 | #!category=Androidcn 4 | #!icon=https://raw.githubusercontent.com/Yuheng0101/X/main/Assets/52pojie.png 5 | 6 | [MITM] 7 | hostname = www.52pojie.cn 8 | 9 | [Script] 10 | http-request ^https:\/\/www\.52pojie\.cn\/home\.php\? tag=吾爱破解获取Cookie, script-path=https://raw.githubusercontent.com/Yuheng0101/X/main/Tasks/52pojie.js,requires-body=0 11 | 12 | cron "0 9 * * *" script-path=https://raw.githubusercontent.com/Yuheng0101/X/main/Tasks/52pojie.js, timeout=10, tag=吾爱破解签到, img-url=https://raw.githubusercontent.com/Yuheng0101/X/main/Assets/52pojie.png 13 | 14 | -------------------------------------------------------------------------------- /naixue.plugin: -------------------------------------------------------------------------------- 1 | #!name=奈雪 2 | #!desc=奈雪@Sliverkiss 3 | #!category=能蟹仔 4 | #!arguments=interval:"30 10 * * *" 5 | #!icon=https://github.com/Toperlock/Quantumult/raw/main/icon/Doraemon/Doraemon-1013.png 6 | 7 | [Script] 8 | cron "30 10 * * *" script-path=https://gist.githubusercontent.com/Sliverkiss/4d0e9572b99530b7cb0e7298622aa2a9/raw/naixue.js, timeout=300, tag=奈雪签到 9 | http-request ^https:\/\/tm-web\.pin-dao\.cn\/user\/base-userinfo script-path=https://gist.githubusercontent.com/Sliverkiss/4d0e9572b99530b7cb0e7298622aa2a9/raw/naixue.js, requires-body=true, timeout=60, tag=奈雪点单获取token 10 | 11 | [MITM] 12 | hostname = tm-web.pin-dao.cn 13 | -------------------------------------------------------------------------------- /dml.plugin: -------------------------------------------------------------------------------- 1 | #!name=达美乐匹萨 2 | #!desc=达美乐@Sliverkiss 3 | #!category=能蟹仔 4 | #!arguments=interval:"30 10 * * *" 5 | #!icon=https://github.com/Toperlock/Quantumult/raw/main/icon/Doraemon/Doraemon-1013.png 6 | 7 | [Script] 8 | cron "30 10 * * *" script-path=https://gist.githubusercontent.com/Sliverkiss/6b4da0d367d13790a9fd1d928c82bdf8/raw/dlm.js, timeout=300, tag=达乐美披萨 9 | 10 | http-request ^https:\/\/game\.dominos\.com\.cn\/.+\/game\/gameDone script-path=https://gist.githubusercontent.com/Sliverkiss/6b4da0d367d13790a9fd1d928c82bdf8/raw/dlm.js, requires-body=true, timeout=10, tag=达美乐披萨获取token 11 | 12 | [MITM] 13 | hostname = game.dominos.com.cn 14 | -------------------------------------------------------------------------------- /naixue.sgmodule: -------------------------------------------------------------------------------- 1 | #!name=奈雪 2 | #!desc=奈雪@SliverKiss 3 | #!icon=https://github.com/Toperlock/Quantumult/raw/main/icon/Doraemon/Doraemon-1013.png 4 | #!category=能蟹仔 5 | #!arguments=interval:"30 10 * * *" 6 | 7 | [Script] 8 | 奈雪签到 = type=cron, cronexp={{{interval}}}, script-path=https://gist.githubusercontent.com/Sliverkiss/4d0e9572b99530b7cb0e7298622aa2a9/raw/naixue.js, timeout=300 9 | 10 | 奈雪点单获取token = type=http-request, pattern=^https:\/\/tm-web\.pin-dao\.cn\/user\/base-userinfo, script-path=https://gist.githubusercontent.com/Sliverkiss/4d0e9572b99530b7cb0e7298622aa2a9/raw/naixue.js, requires-body=true, timeout=60 11 | 12 | [MITM] 13 | hostname = %APPEND% tm-web.pin-dao.cn 14 | -------------------------------------------------------------------------------- /jparking_AD.plugin: -------------------------------------------------------------------------------- 1 | #!name = 捷停车广告 2 | #!desc = 过滤捷停车微信公众号与APP广告 3 | #!openUrl = https://apps.apple.com/app/id1071487344 4 | #!author = Androidcn[https://github.com/androidcn] 5 | #!tag = 去广告 6 | #!system = 7 | #!system_version = 8 | #!loon_version = 3.2.1(745) 9 | #!homepage = https://github.com/androidcn 10 | #!date = 2024-09-23 17:16:15 11 | 12 | [Rule] 13 | DOMAIN,csg.jparking.cn,REJECT 14 | DOMAIN,psbg.jparking.cn,REJECT 15 | DOMAIN,e.jparking.cn,REJECT 16 | URL-REGEX,^https:\/\/sytgate\.jslife\.com\.cn\/base-gateway\/jscpc-favour\/period\/time\/favour\/goods\/list,REJECT-DICT 17 | URL-REGEX,^https:\/\/sytgate\.jslife\.com\.cn\/core-gateway\/member\/coupon\/,REJECT-DICT 18 | -------------------------------------------------------------------------------- /goofish.plugin: -------------------------------------------------------------------------------- 1 | #!name=闲鱼广告说再见 2 | #!desc=去除咸鱼首页与搜索页广告 3 | #!category=Androidcn 4 | #!icon=https://github.com/Toperlock/Quantumult/raw/main/icon/Doraemon/Doraemon-1063.png 5 | 6 | [Script] 7 | http-response ^https:\/\/g-acs\.m\.goofish\.com\/gw\/mtop\.taobao\.idlehome\.home\.nextfresh\/ script-path=https://raw.githubusercontent.com/androidcn/userscripts/main/goofish.js, requires-body=true, timeout=60, tag=goofish 8 | 9 | http-response ^https:\/\/g-acs\.m\.goofish\.com\/gw\/mtop\.taobao\.idlemtopsearch\.search\/ script-path=https://raw.githubusercontent.com/androidcn/userscripts/main/goofishSearch.js, requires-body=true, timeout=60, tag=goofishSearch 10 | 11 | [MITM] 12 | hostname = g-acs.m.goofish.com 13 | -------------------------------------------------------------------------------- /goofish.sgmodule: -------------------------------------------------------------------------------- 1 | #!name=咸鱼广告再见 2 | #!desc=去除咸鱼首页与搜索页广告 3 | #!category=能蟹仔 4 | [Script] 5 | goofish = type=http-response, pattern=^https:\/\/g-acs\.m\.goofish\.com\/gw\/mtop\.taobao\.idlehome\.home\.nextfresh\/, requires-body=true, max-size=3145728, script-path=https://raw.githubusercontent.com/androidcn/userscripts/main/goofish.js, timeout=60, script-update-interval=0 6 | goofishSearch = type=http-response, pattern=^https:\/\/g-acs\.m\.goofish\.com\/gw\/mtop\.taobao\.idlemtopsearch\.search\/, requires-body=true, max-size=3145728, script-path=https://raw.githubusercontent.com/androidcn/userscripts/main/goofishSearch.js, timeout=60, script-update-interval=0 7 | 8 | [MITM] 9 | hostname = %APPEND% g-acs.m.goofish.com 10 | -------------------------------------------------------------------------------- /mxbc.plugin: -------------------------------------------------------------------------------- 1 | #!name=蜜雪冰城小程序签到 2 | #!desc=蜜雪冰城@Sliverkiss 3 | #!icon=https://github.com/Toperlock/Quantumult/raw/main/icon/Doraemon/Doraemon-1097.png 4 | 5 | [Script] 6 | #//http-request ^https:\/\/mxsa\.mxbc\.net\/api\/v1\/customer\/info script-path=https://gist.githubusercontent.com/Sliverkiss/865c82e42a5730bb696f6700ebb94cee/raw/mxbc.js, tag=蜜雪冰城获取token 7 | http-response ^https:\/\/mxsa\.mxbc\.net\/api\/v1\/customer\/info script-path=https://gist.githubusercontent.com/Sliverkiss/865c82e42a5730bb696f6700ebb94cee/raw/mxbc.js, requires-body=true, timeout=60, tag=蜜雪冰城获取token 8 | cron "22 8 * * *" script-path=https://gist.githubusercontent.com/Sliverkiss/865c82e42a5730bb696f6700ebb94cee/raw/mxbc.js, timeout=60, tag=蜜雪冰城小程序签到 9 | 10 | [MITM] 11 | hostname = mxsa.mxbc.net 12 | -------------------------------------------------------------------------------- /VVebo.snippet: -------------------------------------------------------------------------------- 1 | #!name=  VVebo QuantumultX专用 2 | #!desc=修复VVebo用户主页时间线显示和粉丝列表 @androidcn适配 3 | #!author=suiyuran 4 | 5 | [mitm] 6 | hostname = api.weibo.cn 7 | [rewrite_local] 8 | 9 | ^https:\/\/api\.weibo\.cn\/2\/remind\/unread_count\? url script-request-header https://github.com/androidcn/userscripts/raw/main/QX-VVeboTimeline.js 10 | ^https:\/\/api\.weibo\.cn\/2\/statuses\/user_timeline\? url script-request-header https://github.com/androidcn/userscripts/raw/main/QX-VVeboTimeline.js 11 | ^https:\/\/api\.weibo\.cn\/2\/profile\/statuses\/tab\? url script-response-body https://github.com/androidcn/userscripts/raw/main/QX-VVeboTimeline.js 12 | ^https:\/\/api\.weibo\.cn\/2\/cardlist\? url script-response-body https://raw.githubusercontent.com/suiyuran/stash/main/scripts/fix-vvebo-fans.js 13 | -------------------------------------------------------------------------------- /VVebo_gitlab.snippet: -------------------------------------------------------------------------------- 1 | #!name=  VVebo QuantumultX专用 2 | #!desc=修复VVebo用户主页时间线显示和粉丝列表 @androidcn适配 3 | #!author=suiyuran 4 | 5 | [mitm] 6 | hostname = api.weibo.cn 7 | [rewrite_local] 8 | 9 | ^https:\/\/api\.weibo\.cn\/2\/remind\/unread_count\? url script-request-header https://gitlab.com/androidcn/userscripts/-/raw/main/QX-VVeboTimeline.js 10 | ^https:\/\/api\.weibo\.cn\/2\/statuses\/user_timeline\? url script-request-header https://gitlab.com/androidcn/userscripts/-/raw/main/QX-VVeboTimeline.js 11 | ^https:\/\/api\.weibo\.cn\/2\/profile\/statuses\/tab\? url script-response-body https://gitlab.com/androidcn/userscripts/-/raw/main/QX-VVeboTimeline.js 12 | ^https:\/\/api\.weibo\.cn\/2\/cardlist\? url script-response-body https://gitlab.com/androidcn/userscripts/-/raw/main/suiyuran/fix-vvebo-fans.js 13 | -------------------------------------------------------------------------------- /VVebo_gitlab.plugin: -------------------------------------------------------------------------------- 1 | #!name=  VVebo Loon专用 2 | #!desc=修复VVebo用户主页时间线显示和粉丝列表 @androidcn适配 3 | #!author=suiyuran 4 | 5 | [Script] 6 | http-request ^https:\/\/api\.weibo\.cn\/2\/remind\/unread_count\? script-path = https://gitlab.com/androidcn/userscripts/-/raw/main/suiyuran/fix-vvebo-user-timeline.js, tag = 修复时间线1 7 | http-request ^https:\/\/api\.weibo\.cn\/2\/statuses\/user_timeline\? script-path = https://gitlab.com/androidcn/userscripts/-/raw/main/suiyuran/fix-vvebo-user-timeline.js, tag = 修复时间线2 8 | http-response ^https:\/\/api\.weibo\.cn\/2\/profile\/statuses\/tab\? script-path = https://gitlab.com/androidcn/userscripts/-/raw/main/suiyuran/fix-vvebo-user-timeline.js, requires-body = true, tag = 修复时间线3 9 | http-response ^https:\/\/api\.weibo\.cn\/2\/cardlist\? script-path=https://gitlab.com/androidcn/userscripts/-/raw/main/suiyuran/fix-vvebo-fans.js, requires-body=true,tag = 修复「我的」页面 10 | 11 | [MITM] 12 | 13 | hostname = %APPEND% api.weibo.cn 14 | -------------------------------------------------------------------------------- /myxj_vip.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | 美颜相机 4 | [rewrite_local] 5 | ^https:\/\/api\.meiyan\.com url script-response-body https://raw.githubusercontent.com/hhse/Mul4hong/master/myxj.js 6 | [mitm] 7 | hostname = api.meiyan.com 8 | 9 | //hostname :api.meiyan.com 10 | //重写链接:^https:\/\/api\.meiyan\.com 11 | */ 12 | var body = $response.body; 13 | var url = $request.url; 14 | var obj = JSON.parse(body); 15 | 16 | const vip = '/vip/user_info'; 17 | 18 | if (url.indexOf(vip) != -1) { 19 | obj.response.status = 1; 20 | obj.response.ad_vip_type = 4; 21 | obj.response.period_type = 3; 22 | obj.response.agreement_platform = "1"; 23 | obj.response.expire_time = "2099-12-12 00:00:00"; 24 | obj.response.discount_status = 64; 25 | obj.response.agreement_status0= 2; 26 | obj.response.type = 3; 27 | obj.response.product_type =2; 28 | obj.response.expire_date = "2099-12-12"; 29 | body = JSON.stringify(obj); 30 | } 31 | $done({body}); 32 | -------------------------------------------------------------------------------- /cloud189_cookie.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @fileoverview 提取 cloud.189.cn 登录后的 Cookie 3 | * @supported Surge & Loon 4 | * @version 1.1 5 | */ 6 | 7 | let cookie = $request.headers['Cookie'] || $request.headers['cookie']; 8 | 9 | if (cookie) { 10 | const saved = $persistentStore.write(cookie, "cloud189_cookie"); 11 | 12 | if ($httpAPI) { 13 | // Surge:写入剪贴板 14 | $httpAPI("POST", "/v1/device/clipboard", { text: cookie }, (resp) => { 15 | if (saved) { 16 | $notification.post("cloud.189.cn 登录成功", "", "Cookie 已保存并复制到剪贴板"); 17 | } else { 18 | $notification.post("Cookie 保存失败", "", "写入本地失败"); 19 | } 20 | }); 21 | } else { 22 | // Loon:通知 + 手动复制 23 | if (saved) { 24 | $notification.post("cloud.189.cn 登录成功", "", "Cookie 已保存,请手动复制:\n" + cookie); 25 | } else { 26 | $notification.post("Cookie 保存失败", "", "写入本地失败"); 27 | } 28 | } 29 | } else { 30 | $notification.post("Cookie 获取失败", "", "请求未包含 Cookie 头"); 31 | } 32 | 33 | $done({}); 34 | -------------------------------------------------------------------------------- /VVebo.sgmodule: -------------------------------------------------------------------------------- 1 | #!name= VVebo 2 | #!desc=修复 VVebo 用户主页时间线显示和粉丝列表 3 | #!author=suiyuran 4 | #!category=能蟹仔 5 | 6 | [Script] 7 | 8 | fix-vvebo-user-timeline = type=http-request, pattern=^https:\/\/api\.weibo\.cn\/2\/remind\/unread_count\?, script-path=https://raw.githubusercontent.com/suiyuran/stash/main/scripts/fix-vvebo-user-timeline.js 9 | 10 | fix-vvebo-user-timeline2 = type=http-request, pattern=^https:\/\/api\.weibo\.cn\/2\/statuses\/user_timeline\?, script-path=https://raw.githubusercontent.com/suiyuran/stash/main/scripts/fix-vvebo-user-timeline.js 11 | 12 | fix-vvebo-user-timeline3 = type=http-response, pattern=^https:\/\/api\.weibo\.cn\/2\/profile\/statuses\/tab\?, script-path=https://raw.githubusercontent.com/suiyuran/stash/main/scripts/fix-vvebo-user-timeline.js, requires-body=true 13 | 14 | fix-vvebo-fans = type=http-response, pattern=^https:\/\/api\.weibo\.cn\/2\/cardlist\?, script-path=https://raw.githubusercontent.com/suiyuran/stash/main/scripts/fix-vvebo-fans.js, requires-body=true 15 | 16 | [MITM] 17 | 18 | hostname = %APPEND% api.weibo.cn 19 | -------------------------------------------------------------------------------- /VVebo.plugin: -------------------------------------------------------------------------------- 1 | #!name=  VVebo Loon专用 2 | #!desc=修复VVebo用户主页时间线显示和粉丝列表 @androidcn适配 3 | #!author=suiyuran 4 | #!icon = http://www.kkx.net/uploadfile/2023/0302/20230302170522851.png 5 | #!openUrl = https://apps.apple.com/app/id670910957 6 | [Script] 7 | http-request ^https:\/\/api\.weibo\.cn\/2\/remind\/unread_count\? script-path = https://raw.githubusercontent.com/suiyuran/stash/main/scripts/fix-vvebo-user-timeline.js, tag = 修复时间线1 8 | http-request ^https:\/\/api\.weibo\.cn\/2\/statuses\/user_timeline\? script-path = https://raw.githubusercontent.com/suiyuran/stash/main/scripts/fix-vvebo-user-timeline.js, tag = 修复时间线2 9 | http-response ^https:\/\/api\.weibo\.cn\/2\/profile\/statuses\/tab\? script-path = https://raw.githubusercontent.com/suiyuran/stash/main/scripts/fix-vvebo-user-timeline.js, requires-body = true, tag = 修复时间线3 10 | http-response ^https:\/\/api\.weibo\.cn\/2\/cardlist\? script-path=https://raw.githubusercontent.com/suiyuran/stash/main/scripts/fix-vvebo-fans.js, requires-body=true,tag = 修复「我的」页面 11 | 12 | [MITM] 13 | 14 | hostname = %APPEND% api.weibo.cn 15 | -------------------------------------------------------------------------------- /VVebo_gitlab.sgmodule: -------------------------------------------------------------------------------- 1 | #!name= VVebo 2 | #!desc=修复 VVebo 用户主页时间线显示和粉丝列表 3 | #!author=suiyuran 4 | #!category=能蟹仔 5 | 6 | [Script] 7 | 8 | fix-vvebo-user-timeline = type=http-request, pattern=^https:\/\/api\.weibo\.cn\/2\/remind\/unread_count\?, script-path=https://gitlab.com/androidcn/userscripts/-/raw/main/suiyuran/fix-vvebo-user-timeline.js 9 | 10 | fix-vvebo-user-timeline2 = type=http-request, pattern=^https:\/\/api\.weibo\.cn\/2\/statuses\/user_timeline\?, script-path=https://gitlab.com/androidcn/userscripts/-/raw/main/suiyuran/fix-vvebo-user-timeline.js 11 | 12 | fix-vvebo-user-timeline3 = type=http-response, pattern=^https:\/\/api\.weibo\.cn\/2\/profile\/statuses\/tab\?, script-path=https://gitlab.com/androidcn/userscripts/-/raw/main/suiyuran/fix-vvebo-user-timeline.js, requires-body=true 13 | 14 | fix-vvebo-fans = type=http-response, pattern=^https:\/\/api\.weibo\.cn\/2\/cardlist\?, script-path=https://gitlab.com/androidcn/userscripts/-/raw/main/suiyuran/fix-vvebo-fans.js, requires-body=true 15 | 16 | [MITM] 17 | 18 | hostname = %APPEND% api.weibo.cn 19 | -------------------------------------------------------------------------------- /fix-vvebo-user-timeline.js: -------------------------------------------------------------------------------- 1 | let url = $request.url; 2 | let hasUid = (url) => url.includes("uid"); 3 | let getUid = (url) => (hasUid(url) ? url.match(/uid=(\d+)/)[1] : undefined); 4 | if (url.includes("users/show")) { 5 | $persistentStore.write(getUid(url), "uid"); 6 | $done({}); 7 | } else if (url.includes("statuses/user_timeline")) { 8 | let uid = getUid(url) || $persistentStore.read("uid"); 9 | url = url.replace("statuses/user_timeline", "profile/statuses/tab").replace("max_id", "since_id"); 10 | url = url + `&containerid=230413${uid}_-_WEIBO_SECOND_PROFILE_WEIBO`; 11 | $done({ url }); 12 | } else if (url.includes("profile/statuses/tab")) { 13 | let data = JSON.parse($response.body); 14 | let statuses = data.cards 15 | .map((card) => (card.card_group ? card.card_group : card)) 16 | .flat() 17 | .filter((card) => card.card_type === 9) 18 | .map((card) => card.mblog); 19 | let sinceId = data.cardlistInfo.since_id; 20 | $done({ body: JSON.stringify({ statuses, since_id: sinceId, total_number: 100 }) }); 21 | } else { 22 | $done({}); 23 | } 24 | -------------------------------------------------------------------------------- /reddit.js: -------------------------------------------------------------------------------- 1 | let modified; 2 | let body; 3 | try { 4 | body = JSON.parse($response.body.replace(/\"isNsfw\"/gi, '"_isNsfw"')); 5 | if (body?.data?.subredditInfoByName?.elements?.edges) { 6 | body.data.subredditInfoByName.elements.edges = 7 | body.data.subredditInfoByName.elements.edges.filter( 8 | i => i?.node?.__typename !== 'AdPost' 9 | ); 10 | modified = true; 11 | } else if (body?.data?.home?.elements?.edges) { 12 | body.data.home.elements.edges = body.data.home.elements.edges.filter( 13 | i => i?.node?.__typename !== 'AdPost' 14 | ); 15 | modified = true; 16 | } else if (body?.data?.homeV3?.elements?.edges) { 17 | body.data.homeV3.elements.edges = body.data.homeV3.elements.edges.filter( 18 | i => !i?.node?.cells?.some(j => j?.__typename === 'AdMetadataCell') 19 | ); 20 | modified = true; 21 | } else if ($response.body.includes('"isNsfw"')) { 22 | modified = true; 23 | } 24 | } catch (e) { 25 | console.log(e) 26 | } finally { 27 | $done(modified ? { body: JSON.stringify(body) } : {}); 28 | } 29 | -------------------------------------------------------------------------------- /samsclub.sgmodule: -------------------------------------------------------------------------------- 1 | # > 山姆会员商店 - SAMSCLUB 2 | 3 | [URL Rewrite] 4 | ^https?:\/\/api-sams\.walmartmobile\.cn\/api\/v\d\/sams\/sams-user\/(window\/getGoUpPlus|screen_promotion\/get) - reject 5 | 6 | [Map Local] 7 | ^https?:\/\/api-sams\.walmartmobile\.cn\/api\/v\d\/sams\/channel\/portal\/AdgroupData data-type=text data="{}" status-code=200 8 | ^https?:\/\/api-sams\.walmartmobile\.cn\/api\/v\d\/sams\/configuration\/personCenterEntrance\/query data-type=text data="{}" status-code=200 9 | ^https?:\/\/api-sams\.walmartmobile\.cn\/api\/v\d\/sams\/trade\/order\/getOftenBuyGoods data-type=text data="{}" status-code=200 10 | ^https?:\/\/api-sams\.walmartmobile\.cn\/api\/v\d\/sams\/goods-portal\/spu\/searchRecommendPool data-type=text data="{}" status-code=200 11 | ^https?:\/\/api-sams\.walmartmobile\.cn\/api\/v\d\/sams\/configuration\/appVersionUpdate\/getAppVersionUpdateInfo data-type=text data="{}" status-code=200 12 | ^https?:\/\/api-sams\.walmartmobile\.cn\/api\/v\d\/sams\/configuration\/portal\/beUpdate data-type=text data="{}" status-code=200 13 | 14 | [MITM] 15 | hostname= %APPEND% api-sams.walmartmobile.cn -------------------------------------------------------------------------------- /QX-VVeboTimeline.js: -------------------------------------------------------------------------------- 1 | let url = $request.url; 2 | let hasUid = (url) => url.includes("uid"); 3 | let getUid = (url) => (hasUid(url) ? url.match(/uid=(\d+)/)[1] : undefined); 4 | if (url.includes("remind/unread_count")) { 5 | $prefs.setValueForKey(getUid(url), "uid"); 6 | $done({}); 7 | } else if (url.includes("statuses/user_timeline")) { 8 | let uid = getUid(url) || $prefs.valueForKey("uid"); 9 | url = url.replace("statuses/user_timeline", "profile/statuses/tab").replace("max_id", "since_id"); 10 | url = url + `&containerid=230413${uid}_-_WEIBO_SECOND_PROFILE_WEIBO`; 11 | $done({ url }); 12 | } else if (url.includes("profile/statuses/tab")) { 13 | let data = JSON.parse($response.body); 14 | let statuses = data.cards 15 | .map((card) => (card.card_group ? card.card_group : card)) 16 | .flat() 17 | .filter((card) => card.card_type === 9) 18 | .map((card) => card.mblog) 19 | .map((status) => (status.isTop ? { ...status, label: "置顶" } : status)); 20 | let sinceId = data.cardlistInfo.since_id; 21 | $done({ body: JSON.stringify({ statuses, since_id: sinceId, total_number: 100 }) }); 22 | } else { 23 | $done({}); 24 | } 25 | -------------------------------------------------------------------------------- /suiyuran/fix-vvebo-user-timeline.js: -------------------------------------------------------------------------------- 1 | let url = $request.url; 2 | let hasUid = (url) => url.includes("uid"); 3 | let getUid = (url) => (hasUid(url) ? url.match(/uid=(\d+)/)[1] : undefined); 4 | if (url.includes("remind/unread_count")) { 5 | $persistentStore.write(getUid(url), "uid"); 6 | $done({}); 7 | } else if (url.includes("statuses/user_timeline")) { 8 | let uid = getUid(url) || $persistentStore.read("uid"); 9 | url = url.replace("statuses/user_timeline", "profile/statuses/tab").replace("max_id", "since_id"); 10 | url = url + `&containerid=230413${uid}_-_WEIBO_SECOND_PROFILE_WEIBO`; 11 | $done({ url }); 12 | } else if (url.includes("profile/statuses/tab")) { 13 | let data = JSON.parse($response.body); 14 | let statuses = data.cards 15 | .map((card) => (card.card_group ? card.card_group : card)) 16 | .flat() 17 | .filter((card) => card.card_type === 9) 18 | .map((card) => card.mblog) 19 | .map((status) => (status.isTop ? { ...status, label: "置顶" } : status)); 20 | let sinceId = data.cardlistInfo.since_id; 21 | $done({ body: JSON.stringify({ statuses, since_id: sinceId, total_number: 100 }) }); 22 | } else { 23 | $done({}); 24 | } 25 | -------------------------------------------------------------------------------- /taobaoWeb.user.js: -------------------------------------------------------------------------------- 1 | // ==UserScript== 2 | // @name 淘宝折叠屏强制网页版 3 | // @namespace @androidcn 4 | // @version 1.0.0 5 | // @author @androidcn 6 | // @license MIT 7 | // @description 解决在折叠屏Firefox打开taobao链接时不能完全显示的问题,访问移动版taobao页面时会自动帮你跳转到对应的淘宝网页版本,更加方便查看信息。 8 | // @match https://h5.m.taobao.com/* 9 | // @grant none 10 | // @icon https://img.alicdn.com/tps/i3/TB1eW1eGXXXXXXAXFXXBS8UGFXX-41-22.png 11 | 12 | // @downloadURL https://github.com/androidcn/userscripts/raw/main/taobaoWeb.user.js 13 | // @updateURL https://github.com/androidcn/userscripts/raw/main/taobaoWeb.user.js 14 | // ==/UserScript== 15 | 16 | (function() { 17 | 'use strict'; 18 | 19 | const currentUrl = window.location.href; // get the current URL 20 | const regex = /https:\/\/h5\.m\.taobao\.com\/awp\/core\/detail\.htm\?.*?id=(\d+).*/; // 21 | const match = regex.exec(currentUrl); // 22 | 23 | if (match !== null) { 24 | const itemId = match[1]; // get the item ID number from the regex match 25 | const newUrl = `https://item.taobao.com/item.htm?id=${itemId}`; // create the new Taobao URL 26 | window.location.href = newUrl; // redirect to the new Taobao URL 27 | } 28 | })(); 29 | -------------------------------------------------------------------------------- /blockAD.snippet: -------------------------------------------------------------------------------- 1 | #同花顺 2 | ^https?:\/\/adm\.10jqka\.com\.cn\/interface\/ad\/recommend url reject 3 | #汽车之家 4 | hostname = *autohome* 5 | ^https?:\/\/adproxy\.autohome\.com\.cn\/AdvertiseService\/ url reject-img 6 | ^https?:\/\/app2\.autoimg\.cn\/apppdfs\/ url reject-img 7 | #zhibo8 8 | hostname =a.qiumibao.com 9 | ^https?:\/\/a\.qiumibao\.com\/activities\/config\.php$ url reject 10 | ^https?:\/\/a\.qiumibao\.com\/ios\/config\/\?version_code= url reject 11 | 12 | # > zhongguoyidong中国移动 13 | ^https?:\/\/client\.app\.coc\.10086\.cn\/biz-orange\/DN\/init\/startInit url reject 14 | ^https?:\/\/client\.app\.coc\.10086\.cn\/biz-orange\/DN\/explorePage\/getAdverList url reject 15 | 16 | # > TianTianJiJin天天基金 17 | ^https?:\/\/appactive\.1234567\.com\.cn\/AppoperationApi\/OperationService\/GetAppStartImg url reject 18 | 19 | #IMDB 20 | hostname = www.imdb.com, api.imdbws.com; 21 | ^https?:\/\/api\.imdbws\.com\/ads\/ url reject 22 | ^https?:\/\/www\.imdb\.com\.ads url reject 23 | 24 | #掌上生活 25 | ^https?:\/\/mlife\.cmbchina\.com\/ClientFaceService\/api\/mlife\.clientface\.clientservice\.api\.advertiseService\/preCacheAdvertiseSec url reject 26 | 27 | #中国银行 28 | ^https?:\/\/mbs\.boc\.cn\/ubas-mgateway-static\/images\/advertType\/.+.jpg url reject-img 29 | hostname = mbs.boc.cn 30 | 31 | -------------------------------------------------------------------------------- /VVebo.module: -------------------------------------------------------------------------------- 1 | #!name=  VVebo 小火箭专用 2 | #!desc=修复VVebo用户主页时间线显示和粉丝列表 @androidcn适配 3 | #!author=suiyuran 4 | 5 | [Script] 6 | 7 | fix-vvebo-user-timeline = type=http-request, pattern=^https:\/\/api\.weibo\.cn\/2\/remind\/unread_count\?, requires-body=1,script-path=https://raw.githubusercontent.com/suiyuran/stash/main/scripts/fix-vvebo-user-timeline.js 8 | 9 | fix-vvebo-user-timeline2 = type=http-request, pattern=^https:\/\/api\.weibo\.cn\/2\/statuses\/user_timeline\?, requires-body=1,script-path=https://raw.githubusercontent.com/suiyuran/stash/main/scripts/fix-vvebo-user-timeline.js 10 | 11 | fix-vvebo-user-timeline3 = type=http-response, pattern=^https:\/\/api\.weibo\.cn\/2\/profile\/statuses\/tab\?,requires-body=1, script-path=https://raw.githubusercontent.com/suiyuran/stash/main/scripts/fix-vvebo-user-timeline.js 12 | 13 | fix-vvebo-user-timeline4 = type=http-request, pattern=^https:\/\/api\.weibo\.cn\/2\/users\/show\?,requires-body=1, script-path=https://raw.githubusercontent.com/suiyuran/stash/main/scripts/fix-vvebo-user-timeline.js 14 | 15 | fix-vvebo-fans = type=http-response, pattern=^https:\/\/api\.weibo\.cn\/2\/cardlist\?,requires-body=1, script-path=https://raw.githubusercontent.com/suiyuran/stash/main/scripts/fix-vvebo-fans.js, requires-body=true 16 | 17 | 18 | 19 | [MITM] 20 | hostname = %INSERT% api.weibo.cn 21 | -------------------------------------------------------------------------------- /VVebo_gitlab.module: -------------------------------------------------------------------------------- 1 | #!name=  VVebo 小火箭专用 2 | #!desc=修复VVebo用户主页时间线显示和粉丝列表 @androidcn适配 3 | #!author=suiyuran 4 | 5 | [Script] 6 | 7 | fix-vvebo-user-timeline = type=http-request, pattern=^https:\/\/api\.weibo\.cn\/2\/remind\/unread_count\?, requires-body=1,script-path=https://gitlab.com/androidcn/userscripts/-/raw/main/suiyuran/fix-vvebo-user-timeline.js 8 | 9 | fix-vvebo-user-timeline2 = type=http-request, pattern=^https:\/\/api\.weibo\.cn\/2\/statuses\/user_timeline\?, requires-body=1,script-path=https://gitlab.com/androidcn/userscripts/-/raw/main/suiyuran/fix-vvebo-user-timeline.js 10 | 11 | fix-vvebo-user-timeline3 = type=http-response, pattern=^https:\/\/api\.weibo\.cn\/2\/profile\/statuses\/tab\?,requires-body=1, script-path=https://gitlab.com/androidcn/userscripts/-/raw/main/suiyuran/fix-vvebo-user-timeline.js 12 | 13 | fix-vvebo-user-timeline4 = type=http-request, pattern=^https:\/\/api\.weibo\.cn\/2\/users\/show\?,requires-body=1, script-path=https://gitlab.com/androidcn/userscripts/-/raw/main/suiyuran/fix-vvebo-user-timeline.js 14 | 15 | fix-vvebo-fans = type=http-response, pattern=^https:\/\/api\.weibo\.cn\/2\/cardlist\?,requires-body=1, script-path=https://gitlab.com/androidcn/userscripts/-/raw/main/suiyuran/ix-vvebo-fans.js, requires-body=true 16 | 17 | 18 | 19 | [MITM] 20 | hostname = %INSERT% api.weibo.cn 21 | -------------------------------------------------------------------------------- /githubSorted.user.js: -------------------------------------------------------------------------------- 1 | // ==UserScript== 2 | // @name Github按文件更新日期排序 3 | // @namespace https://github.com/androidcn/ 4 | // @version 1.1 5 | // @description Github按文件更新日期排序... 6 | // @author @Androidcn 7 | // @match https://github.com/* 8 | // @icon https://www.google.com/s2/favicons?sz=64&domain=github.com 9 | // @grant none 10 | // @updateURL https://github.com/androidcn/userscripts/raw/main/githubSorted.user.js 11 | // @downloadURL https://github.com/androidcn/userscripts/raw/main/githubSorted.user.js 12 | 13 | // ==/UserScript== 14 | (function() { 15 | 'use strict'; 16 | 17 | function createButton() { 18 | // Create a button element 19 | const button = document.createElement('button'); 20 | button.textContent = '排序'; 21 | button.style.position = 'fixed'; 22 | button.style.top = '60px'; 23 | button.style.right = '20px'; 24 | button.style.zIndex = '9999'; 25 | 26 | // Append the button to the body 27 | document.body.appendChild(button); 28 | 29 | // Add click event listener to the button 30 | button.addEventListener('click', performSortedAction); 31 | } 32 | 33 | function performSortedAction() { 34 | 35 | var files = document.querySelector('[aria-labelledby="folders-and-files"] tbody'); 36 | var children = [...files.children]; 37 | files.replaceChildren( 38 | children[0],...[...files.querySelectorAll('.react-directory-row')].sort((a, b) => new Date(a.querySelector('relative-time').datetime) < new Date(b.querySelector('relative-time').datetime) ? 1 : -1),children.at(-1), 39 | ); 40 | console.log('已按文件更新日期排序'); 41 | } 42 | 43 | // Wait for the page to load 44 | window.addEventListener('load', createButton); 45 | })(); 46 | -------------------------------------------------------------------------------- /V2EX.user.js: -------------------------------------------------------------------------------- 1 | // ==UserScript== 2 | // @name V2EX隐藏右侧栏 3 | // @namespace https://github.com/androidcn/userscripts/ 4 | // @version 2024-05-03 5 | // @description V2EX隐藏右侧栏,可设置记忆 6 | // @author @androidcn 7 | // @match https://www.v2ex.com/* 8 | // @icon https://www.google.com/s2/favicons?sz=64&domain=v2ex.com 9 | // @updateURL https://github.com/androidcn/userscripts/raw/main/V2EX.user.js 10 | // @downloadURL https://github.com/androidcn/userscripts/raw/main/V2EX.user.js 11 | // @grant GM_setValue 12 | // @grant GM_getValue 13 | 14 | // ==/UserScript== 15 | 16 | (function() { 17 | 'use strict'; 18 | 19 | function getHide(){ 20 | return GM_getValue("V2EXSideBar_isHide"); 21 | } 22 | if (getHide()){ 23 | V2EXhide("显示"); 24 | HideItNow(); 25 | }else{ 26 | V2EXhide("隐藏"); 27 | ShowItNow(); 28 | } 29 | 30 | function ToggleitNow(){ 31 | if (getHide()){ 32 | ShowItNow(); 33 | }else{ 34 | HideItNow(); 35 | } 36 | } 37 | function HideItNow(){ 38 | $("#Rightbar").hide(); 39 | GM_setValue("V2EXSideBar_isHide",true); 40 | $("#hideSideBar").text("显示"); 41 | } 42 | function ShowItNow(){ 43 | $("#Rightbar").show(); 44 | GM_setValue("V2EXSideBar_isHide",false); 45 | $("#hideSideBar").text("隐藏"); 46 | } 47 | 48 | function V2EXhide(displayText){ 49 | var hideSideBar = document.createElement("a"); 50 | hideSideBar.href = "#;"; 51 | hideSideBar.id = "hideSideBar"; 52 | hideSideBar.classList.add("top"); 53 | hideSideBar.classList.add("v2p-hover-btn"); 54 | hideSideBar.text = displayText; 55 | $(".tools").prepend(hideSideBar); 56 | $("#hideSideBar").click(()=>ToggleitNow()); 57 | } 58 | })(); 59 | -------------------------------------------------------------------------------- /hlw.plugin: -------------------------------------------------------------------------------- 1 | #!name = 黑料网去广告 2 | #!desc = 去除部分广告,优先使用海外永久入口,其次使用国内入口(会变动),走代理 3 | #!openUrl = https://155.fun/ 4 | #!author = fishdown 5 | #!tag = 去广告 6 | #!homepage = https://155.fun/ 7 | #!icon = https://lneuk.rslsilne.cc/static/pc/icons/icon_512x512.qscd.png 8 | #!date = 2024-11-20 9 | 10 | [Rewrite] 11 | # 其他页面随机去广告 12 | ^https?:\/\/[^\/]+\/category\/6\.html$ response-body-replace-regex