#!name=DiDiClean #!desc=移除滴滴开屏广告,精简首页、底栏和我的页面 #!requirement=Shadowrocket Version>=2.2.66 #!author=转自怎么肥事@ZenmoFeiShi,可莉@luestr [Rule] DOMAIN,hd.xiaojukeji.com,REJECT DOMAIN,gwp.xiaojukeji.com,REJECT AND,((IP-ASN,45090,no-resolve),(DST-PORT,25641),(PROTOCOL,TCP)),REJECT AND,((IP-ASN,63646,no-resolve),(DST-PORT,25641),(PROTOCOL,TCP)),REJECT [Body Rewrite] http-response-jq ^https:\/\/common\.diditaxi\.com\.cn\/common\/v\d\/usercenter\/me '.data.cards |= map(select(.title != "天天领福利" and .title != "金融服务" and .title != "更多服务" and .title != "企业服务" and .title != "安全中心")) | .data.cards[] |= if .tag == "wallet" then .items |= map(select(.title == "优惠券")) | if .card_type == 4 then .bottom_items |= map(select(.title == "省钱套餐" or .title == "出行里程")) else . end else . end' http-response-jq ^https:\/\/conf\.diditaxi\.com\.cn\/homepage\/v\d\/core '.data.order_cards.nav_list_card.data |= map(select(.nav_id == "dache_anycar" or .nav_id == "driverservice" or .nav_id == "bike" or .nav_id == "carmate")) | .data.disorder_cards.bottom_nav_list.data |= map(select(.id == "v6x_home" or .id == "home_page" or .id == "user_center"))' http-response-jq ^https:\/\/api\.udache\.com\/gulfstream\/pre-sale\/v1\/other\/pGetSceneList '.data.scene_list |= map(select(.text != "优惠商城")) | .data.show_data[] |= (if .scene_ids then .scene_ids |= map(select(. != "scene_coupon_mall")) else . end)' http-response-jq ^https:\/\/conf\.diditaxi\.com\.cn\/ota\/na\/yuantu\/infoList '.data.disorder_cards.top_banner_card.data |= if .[0].T == "yuentu_top_banner" then .[1:] else . end' http-response-jq ^https:\/\/api\.udache\.com\/gulfstream\/passenger-center\/v2\/other\/pInTripLayout '.data.order_components |= map(select(.name != "passenger_common_casper"))' [URL Rewrite] ^https:\/\/res\.xiaojukeji\.com\/resapi\/activity\/getMulti\? - reject-dict ^https:\/\/res\.xiaojukeji\.com\/resapi\/activity\/xpget - reject-dict ^https:\/\/ct\.xiaojukeji\.com\/agent\/v3\/feeds - reject-dict ^https:\/\/freight\.xiaojukeji\.com\/gateway - reject-dict ^https:\/\/daijia\.kuaidadi\.com:443\/gateway - reject-dict ^https:\/\/res\.xiaojukeji\.com\/resapi\/activity\/mget - reject-dict ^https:\/\/conf\.diditaxi\.com\.cn\/homepage\/v\d\/other\/fast - reject-dict ^https:\/\/conf\.diditaxi\.com\.cn\/dynamic\/conf - reject-dict ^https:\/\/conf\.diditaxi\.com\.cn\/homepage\/v1\/other\/slow - reject-dict [MITM] hostname = %APPEND% common.diditaxi.com.cn, freight.xiaojukeji.com, daijia.kuaidadi.com, 162.14.157.*, ct.xiaojukeji.com, res.xiaojukeji.com, conf.diditaxi.com.cn, api.udache.com, 123.207.209.*, 112.53.55.225, 120.241.142.*, 120.241.143.*, 116.85.*, 139.199.240.84