#!name=京东去广告 #!desc=参考现有京东去广告模块,移除京东开屏广告,精简首页、物流页与我的页面推广内容,支持直接订阅,脚本地址会在 Cloudflare 构建时自动填充。 # Online use: # 1. Subscribe sgmodule/jd.sgmodule # 2. SCRIPT_BASE is injected during Cloudflare build [Rule] URL-REGEX,^http:\/\/\w{32}\.jddebug\.com\/diagnose\?,REJECT DOMAIN,ads-union.jd.com,REJECT DOMAIN,bdsp.x.jd.com,REJECT DOMAIN,dsp-x.jd.com,REJECT DOMAIN,jrad.jd.com,REJECT DOMAIN,stat.m.jd.com,REJECT [Map Local] ^https?:\/\/api\.m\.jd\.com\/client\.action\?(?:[^&]*&)*functionId=(searchBoxWord|stationPullService|uniformRecommend0|uniformRecommend6)(?:&|$) data-type=text data="{}" status-code=200 header="Content-Type:application/json" [Script] jd.basic_config = type=http-response,pattern=^https?:\/\/api\.m\.jd\.com\/client\.action\?(?:[^&]*&)*functionId=basicConfig(?:&|$),requires-body=true,max-size=1048576,script-path=https://surge-b7k.pages.dev/js/jd.response.js jd.remove_ads = type=http-response,pattern=^https?:\/\/api\.m\.jd\.com\/client\.action\?(?:[^&]*&)*functionId=(deliverLayer|getTabHomeInfo|myOrderInfo|orderTrackBusiness|personinfoBusiness|start|welcomeHome)(?:&|$),requires-body=true,max-size=1048576,script-path=https://surge-b7k.pages.dev/js/jd.response.js [MITM] hostname = %APPEND% api.m.jd.com