#!name=高德地图去广告 #!desc=移除开屏广告、首页推荐、搜索推荐、打车广告、地点推荐及广告,精简我的页面。 #!author=可莉🅥[https://github.com/luestr/ProxyResource/blob/main/README.md] #!icon=https://raw.githubusercontent.com/luestr/IconResource/main/App_icon/120px/Amap.png #!category=🚫 AD Block #!openUrl=https://apps.apple.com/app/id461703208 #!category=去广告 #!loon_version=3.4.0(962) #!homepage=https://hub.kelee.one #!date=2026-10-20 12:06:08 [Body Rewrite] http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","adStatementConfig"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","adCustomerRetainArchitecture"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","adImEntryConfig"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","adVenueConfig"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","adPerfSwitch"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","EndNaviC3AdCard"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","infoCpcReport"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","hotsaleConfig"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","marketing_resource_config"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","coupon_risk_asac"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","commonCouponSceneLog"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","sug_coupon_opt"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","giftEntryConfig"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","splashscreen"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","SplashScreenControl"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","splashview_config"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","feedback_banner"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","TrainOrderBanner"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","nearby_business_popup"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","shortcut_popup_frequency"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","tel_retention_popup"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","hotel_activity"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","taxi_activity"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","hotel_privilege"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","sportsActivityConfig"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","activity_qingke_contry_control"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","920bestwishes"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","custom_consultdata","widget_guide"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","free_ride"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","homepage_resource_config"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","home_message_guide"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","hotel_tipsicon"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","sur_bar"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","nearby_map_entry_guide"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","comment_info"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","small_biz_index"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","small_biz_fun"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","setpagesearch"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'delpaths([["data","wallet"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable\/1\? 'def on_path($p; $t; f): if (try (getpath($p) | type == $t) catch false) then getpath($p) |= f else . end; def keep: IN("enhanceIMQuestions", "platformCustomerCommonModule", "platformCustomerComplianceInfo", "evaluateVO"); def shelf: if type == "array" then map(select(keep)) else . end; def strip_group_banner: (try fromjson catch null) as $o | if (($o | type) == "object") then (if ($o | has("group_banner")) then ($o | del(.group_banner) | tojson) else . end) else . end; on_path(["data", "sportsGroupConfig", "value"]; "string"; strip_group_banner) | on_path(["data", "sportsRouteConfig", "value"]; "string"; strip_group_banner) | .data.his_input_tip.value |= ( . as $raw | (if type == "string" then (try fromjson catch null) else null end) as $o | (if ($o | type) == "object" then ($o | del(.channel_zhitiao) | tojson) else $raw end) as $s | (try ($s | fromjson) catch empty) as $p | if ($p | type) == "object" then ($p | .his_recommend_bangdan = 0 | .nearby_hotword.search_detail = 0 | tojson) else $s end ) | on_path(["data","navi_end","value"]; "string"; . as $raw | (try ($raw | fromjson) catch null) as $inner | (if ($inner | type) == "object" and ($inner | has("operator_btns")) then ($inner | del(.operator_btns) | tojson) else $raw end)) | on_path(["data","engine_render","value"]; "string"; . as $raw | (try ($raw | fromjson) catch null) as $inner | (if ($inner | type) == "object" then ($inner | del(.can_show_advert, .advert_note_num) | tojson) else $raw end)) | .data.detail_config.value |= ( . as $raw | (try {ok: fromjson} catch {failed: true}) as $p | if ($p | has("failed")) then empty elif ($p.ok | type) == "object" then ($p.ok | del(.shelf_coupon_refresh) | .isGoodsShelfPerfV2 = 0 | .NearbySearchOptimization = 0 | .poiDetailScreenCacheConfig.secondScreenAnchorModule = "" | .poiDetailScreenCacheOtherConfig.secondScreenAnchorModule = "" | tojson) else $raw end ) | .data.amap_basemap_config.value as $v | if ($v | type) == "string" and ($v | try fromjson catch null | type) == "object" then .data.amap_basemap_config.value = ( $v | fromjson | del( .splash, .ai_splash, .ipSquare_window_video_config, .usercenter_lottery_switch, .coins_lottery, .coins_wish, .newYearLotteryTips, .mileage_coin_scene, .licheng_coin_mine_entry, .member_grabbing, .vip_checkout_welfare_dialog_config, .task_poi_card_coupon_switch, .jay_act, .pointExchangeCenter, .pointExchangeGoCommentUrl, .batchCheckIn, .batchCheckIn_new, .fireworks, .fireworkFeatureCodes, .setFireworksNightMode, .fireworks_click_change_night, ."2024greetingTofireworks", .greeting_widget_switch, .newYearSystemScreenRecordListenSwitch, .ugcActivityH5, .study_create_url, .asset_space_pilot, .ipSquare_goods_tab_desc, .vip_member_config, .recently_activity, .business_position, .carLogos, .voiceLogos, .increase_product_name_account, .invite_poi_share_pic, .block_increase_product_detail_share_button, .mainIcon, .mainBubble, .blueBar, .presetWord, .homepage_tabguide, .suit_set_popup, .pop_selection, .ipsqure_free_pop_hours, .desk_card_footprint_check_in, .desk_card_searchtool, .arLayerDialogConfig, .geochoBackConfirmDialogConfig, .followGuidePopupConfig, .growth_bubble_guide_config, .bottom_login_guide_config, .frequent_location_login_guide_config, .login_guide_show_rules, .show_landmark_exploration_card, .reachFrequency, .reachTaskFrequency, .msgbox_show_popwindow, .aiqs_pull_up_guide, .new_aiqs_pull_up_guide, .full_screen_guide_video_config, .ai_guideo_video_map, .feature_guide_switch, .geoechoGuideLottieConfig, .level_page_slide, .level_page_tips, .garage_top_button, .ThemeSquareSwiperCanJumpUrlList ) | tojson ) else . end | if (((try .data.navi_cloud.value catch null) | type) == "string") and (((try (.data.navi_cloud.value | fromjson) catch null) | type) == "object") then .data.navi_cloud.value |= ( fromjson | del(.long_trip_service_coupon, .long_trip_service_coupon_enter, .long_trip_service_coupon_links, .QQMusicVipText, .QQMusicMembershipVoice, .ETCGuide, .etc_banner, .music_config, .music_sdk_recommend_title, .music_ai_guide_fatigue, .music_ai_next_login_rate, .music_source, .DownloadQQplayerSDK, .voicePlayground, .route_search_Starbucks, .Starbucksfinish, .H5guidelottie, .route_search_guide_lottie, .via_result_bottomtext, .planHomeGuideConfig, .energy_add_plate_list, .operation_consumer_bubble, .bubble_priority, .desk_card_commute, .consumeAfterPopup_days, .Rescue_popup_service, .smart_drive_tips, .city_drive_tips, .BackCar, .customized_navigation, .TabRecommend, .newTabRecommendSwitch, .ExtremelyRecommendCount, .tab_recommend_filter, .tab_recommend_switch_third_schema, .dropby_scroll, .gas_path_bubble, .carowner, .operation_chat_add_group, .noInternetCardSwitch) | .end_auto_foot_explore = 0 | .ExtremelyRecommendCount = 0 | tojson ) else .data.navi_cloud.value |= ( if (fromjson? | type) == "object" then fromjson | .end_auto_foot_explore = 0 | .ExtremelyRecommendCount = 0 | tojson else . end ) end | .data.taxi.value |= ( (try {parsed: fromjson} catch {failed: true}) as $probe | if ($probe | has("failed")) then empty elif (($probe.parsed) | type) == "object" then ($probe.parsed | del( .denghuo_ad, .banner_picture_url, .carpool_city, .carpool_intercity, .intercity_index_page_header, .skin_show, .hq_112background, .chauffeurBannerSort, .hitch_other_tab, .hitch_other_tab_v2, .dache_toolbox_promo, .dache_toolbox_marketing, .dache_toolbox_remote, .dache_toolbox_carpool, .dache_toolbox_chauffeur, .PaymentOneClickLayerInfo, .s_reward_center_config, .taxi_personal_virtual_gold_url, .student_url, .student_icon, .student_title, .student_describe, .chauffeurTabKingToolConfig_left, .chauffeurTabBubbleText, .discount_bubble, .coupon_traction_bubble_v3, .intercity_entrance_tag, ."long-dis_preferential", .taxi_shortcut_manager, .vip_88_guide_fatigue, ."vip-h5", .taxi_commercialization, .isUseChauffeurNewMarketingSlot, .operation_module_render_new, .retainPopupDiscount, .taxi_coupon_entry_new, .thailandCouponRedirectAimap, .isChauffeurUseNewCouponCenter, .chauffeurComboCouponSwitch, .couponNewStyleV730, .is_favorable_show, .taxi_personal_virtual_gold, .taxi_personal_virtual_gold_title, .student_entry, .unionvip_white_list, .premium_customer_card_config, .chauffeurTabKingToolConfig_alternative, .chauffeurTabKingToolConfig_right, .chauffeur_fatigue_config, .hitch_101_popup_polling, .ChauffeurViaPoisConfig, .driveDiversionCardHitchTab, .pinzhi_daoliu, .CancelRetentionTec, .intercity_atmosphere_config, .carpool_waiting_config ) | .recommend_point_optimization = 0 | .recommend_point_service_overview = 0 | .end_point_optimization = 0 | .hitch_way_point_nav_default = 0 | tojson ) elif $probe.parsed == null then "null" else . end ) | if ((try (.data.poi_folder_modules.value | type) catch null) == "string") then .data.poi_folder_modules.value |= ( . as $raw | (try fromjson catch null) as $src | if ($src | type) == "object" then ($src | (if (.folder_modules | type) == "array" then .folder_modules |= shelf else . end) | (if (.newFolderModules | type) == "array" then .newFolderModules |= shelf else . end) ) as $new | if $new == $src then $raw else ($new | tojson) end else $raw end ) else . end | .data.favorites_info.value |= (if (fromjson? | type) == "object" then (fromjson | .nearby_picture_on = 0 | .nearby_picture_distance = 0 | tojson) else . end) | .data.container_isolation.value |= (if (fromjson? | type) == "object" then (fromjson | .nearby_feed_poi_card_v2_multi_img = 0 | tojson) else . end) | .data.nore_rec.value |= (if (fromjson? | type) == "object" then (fromjson | .recommend = 0 | tojson) else . end) | .data.engine_eyrie.value |= (if (fromjson? | type) == "object" then (fromjson | del(.poi_area_bubble) | tojson) else . end) | if ((try ( .data.WIA.value | type ) catch null) == "string") then .data.WIA.value |= (. as $raw | (try fromjson catch null) as $o | if ($o | type) == "object" and ($o | has("orgGuideVideoConfig")) then ($o | del(.orgGuideVideoConfig) | tojson) else $raw end) else . end' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/dsp\/profile\/index\/nodefaasv3\? 'del(.data.tipData, .data.wallet) | .data.cardList |= map(select(.dataKey == "MineNewFootprintCard" or .dataKey == "MineNewBEntranceCardV4")) | (.data.cardList[] | select(.dataKey == "MineNewBEntranceCardV4") | .content.entranceList_1) |= map(select(.id == 7 or .id == 8 or .id == 10 or .id == 17)) | (.data.cardList[] | select(.dataKey == "MineNewBEntranceCardV4") | .content.entranceList_2) |= map(select(.id == 32 or .id == 4 or .id == 9 or .id == 16 or .id == 14))' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/scene\/recommend\? 'delpaths([["$","data","shadingWords"]])' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/scene\/recommend\? '.data.toolsRecommend.data.default |= map(select(.id == 102 or .id == 103 or .id == 106 or .id == 151))' http-response-jq (?i)^https:\/\/sns\.amap\.com\/ws\/opc\/tools\/list\? '(if (type == "object") and ((.data | type) == "object") and ((.data.category | type) == "array") then (.data.category[] | select(type == "object") | .tools | select(type == "array") | .[] | select(type == "object")) |= del(.tips) else . end) | (if (type == "object") and ((.data | type) == "object") and ((.data.category | type) == "array") then (.data.category[] | select(type == "object") | .tools | select(type == "array")) |= map(select(if type == "object" then (((.id | type) == "string" and .id == "547") or ((.id | type) == "number" and .id == 547)) | not else true end)) else . end)' http-response-jq (?i)^https:\/\/info\.amap\.com\/ws\/c3frontend\/af-search\/search\? 'if (try (.data.modules.quickLink.data.list | type) catch null) == "array" then .data.modules.quickLink.data.list |= map(if type == "object" and (.badge | type) == "object" and (.badge | has("text")) then .badge.text = "" else . end) else . end' http-response-jq (?i)^https:\/\/m5-zb\.amap\.com\/ws\/boss\/car\/order\/content_info\? 'delpaths([["data","lubanData","skin"]])' http-response-jq (?i)^https:\/\/m5-zb\.amap\.com\/ws\/boss\/car\/order\/content_info\? 'delpaths([["data","lubanData","kingToolBoxBubble"]])' http-response-jq (?i)^https:\/\/m5-zb\.amap\.com\/ws\/boss\/car\/order\/content_info\? 'delpaths([["data","lubanData","popup"]])' http-response-jq (?i)^https:\/\/m5-zb\.amap\.com\/ws\/boss\/car\/order\/content_info\? 'def on_path($p; $t; f): if (try (getpath($p) | type == $t) catch false) then getpath($p) |= f else . end; (on_path(["data","lubanData","kingToolSort","dataList"]; "array"; map(if type == "object" then (if ((try (.biz | type) catch null) == "object" and (.biz | has("kingToolIdList"))) then (.biz.kingToolIdList |= (if type == "array" then map(select(IN("dache_toolbox_GDIntercity","dache_toolbox_hitch","dache_toolbox_chauffeur","dache_toolbox_quality","dache_toolbox_charterCar"))) else . end)) else . end) else . end))) | on_path(["data","lubanData","kingToolBox","dataList"]; "array"; map(select(if type == "object" then ((try (.biz | type) catch null) == "object" and (try (.biz.id | IN("dache_toolbox_GDIntercity","dache_toolbox_hitch","dache_toolbox_chauffeur","dache_toolbox_quality","dache_toolbox_charterCar")) catch false)) else false end)))' http-response-jq (?i)^https:\/\/m5-zb\.amap\.com\/ws\/amap\/hitch\/passenger\/content_info\? 'delpaths([["data","lubanData","banner"]])' http-response-jq (?i)^https:\/\/center\.amap\.com\/ws\/amc\/server\/conv\/raise_list\? 'def on_path($p; $t; f): if (try (getpath($p) | type == $t) catch false) then getpath($p) |= f else . end; on_path(["data","dataList"]; "array"; map(select(if type == "object" then (has("categoryId") or ((.data | type) == "object" and .data.id == "M_100007")) else false end)))' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/scene\/recommend\? '(if (try (.data.shadingWords.data.regions.content | type == "array") catch false) then .data.shadingWords.data.regions.content |= map(select(IN("quickLink","history","searchFind"))) else . end) | (if (try (.data.shadingWords.data.modules | type == "object") catch false) then .data.shadingWords.data.modules |= with_entries(select(.key == "searchFind")) else . end)' http-response-jq (?i)^https:\/\/info\.amap\.com\/ws\/shield\/search_business\/process\/middleLayer\/sug\? '.tip_list |= map(select(.tip.task_tag == "common_content_general" or .tip.task_tag == "sp"))' http-response-jq (?i)^https:\/\/info\.amap\.com\/ws\/shield\/search\/poi\/detail\? 'delpaths([["data","modules","combineReviews","data","write_comment","btnRightTag"]])' http-response-jq (?i)^https:\/\/info\.amap\.com\/ws\/shield\/search\/poi\/detail\? 'delpaths([["data","modules","combineReviews","data","write_comment","title"]])' http-response-jq (?i)^https:\/\/info\.amap\.com\/ws\/shield\/search\/poi\/detail\? 'def keep_skeleton: IN( "baseInfo", # 地点本体:名称/坐标/评分/标签/图标 "poiDetailCommonConfig", # 详情页通用配置(含上滑引导文案) "navbarMore", # 右上角更多菜单 "backToTop", # 回到顶部 "poiDetailBottomBar", # 底部操作栏(导航/电话/收藏) "poiMapModule", # 地点在哪:地图与静态位置图 "anchor", # 页内锚点跳转 "reSortContentAndSimilar", # 内容排序策略开关,本身不是内容 "comprehensiveEditEntrance", # 编辑/纠错入口 "functionZone", # 功能区(写评价/订座/预约) "poiTipBar", # 顶部提示条:本店 IM 咨询入口 "floatTelButton", # 悬浮电话按钮 "footer_tel_button", # 吸底电话按钮 "footer_retain_button" # 吸底留存按钮 ); # end def keep_skeleton def keep_ugc: IN( "attractGalleryInfo", # 顶部图集 "combineReviews", # 评价 "evaluateVO", "reviews", # 评价数据 "inviteReview", # 邀请评价 "seriousPublicExperience", "societyPublicExperience", "poiDetailRankUpCard", # 榜单/排名 "travelGuideAndQa", # 旅行攻略与问答 "poiDetailAQModule", # 详情页问答 "AIStreetTips", # 扫街锦囊:AI 生成的地点提示 "expertNote", # 达人笔记 "recommend_food", # 网友推荐菜:本店菜品 "shopNews", # 本店动态 "mallNews", # 本商场动态 "shopBaseCase" # 本店案例 ); # end def keep_ugc def keep_intro: IN( "wikiInfo", "wikiInfoBelow", "poiDetailNote", "poiDetailWikiAndLOI" ); # end def keep_intro def keep_poi_data: IN( "human_traffic", # 人流量 "floorGuideGbf", # 楼层/商铺导览 "houseEvaluationInfo", # 本楼盘测评 "residentialOwnersVO", # 本小区业主信息 "realtorRealStep", # 本楼盘成交步骤 "houseOfficeInfo", "houseOfficeService", "houseOfficeBrandIntroduction", "houseOfficeNotice", "newHouseDetailInfo", "house_apart_info", "scenic_mustplay", # 本景点必玩 "hotelGraphicDetail", "homestayGraphicDetail", "hotelFacilities", "hotelMustRead", "shoppingMallEvent" # 本商场活动 ); # end def keep_poi_data def keep_service: IN( "enhanceIMQuestions", # 本店咨询引导问题 "enhanceCustomerServicePoiModule", # 本店 AI 客服 "aiAgentFooterBar", # 本店 AI 客服吸底条 "imBottomGuide", # 本店 IM 引导 "enhanceCustomerServiceFixedBottom", "shopBasePerson", # 本店技师/顾问 "shopServiceBffvo", # 本店服务 "service_process", # 本店服务流程 "shopCourseList", # 本店课程 "poiDetailJobList", "jobRec", # 本店招聘 "shop_vip_card", # 本店会员卡 "shopStdActivity", # 本店活动 "privateSphereChannel", # 本店私域渠道 "kaShopService", "ka_not_enter", # KA 商家服务与状态提示 "company1688Info", # 本店的 1688 店铺信息 "thirdparty_info", # 本店第三方信息 "expressEntryCard", # 快捷入口 "poi_intercept", # 地点状态提示(停业/迁址等) "aiAgentEntry", "commonAiAgent", "poiCardAiAgentEntryV2" # AI 助手入口 ); # end def keep_service def keep_guide: IN( "storeDirections", # 到店导航 "shopFindWayGuide" # 找店指引 ); # end def keep_guide def keep_compliance: IN( "shopQualifications", "businessQualifications", "legal_document", "home_legal_document", "rec_legal_document", "business_scope", "governmentInformation", "official_account", "merchantSettlement", "shop_settlement" ); # end def keep_compliance def keep_booking: IN( "scenic_ticket", # 本景点门票 "movieBookingShelf", # 本影院影票 "hotelRooms", # 本酒店房型 "ktvBookingShelf", # 本店包间 "venueBookingShelfModule", # 本店场地 "reserveShelf", # 本店预订 "DinnerBottomBar", # 本店订座底部条 "poiDetailAppointmentRegister" # 到店预约登记 ); # end def keep_booking def keep_module: keep_skeleton or keep_ugc or keep_intro or keep_poi_data or keep_service or keep_guide or keep_compliance or keep_booking; def keep_ref: (type == "string") and keep_module; # end def keep_ref def at($keys): reduce $keys[] as $k (.; if type == "object" then .[$k] else null end); def filter_refs: if type == "array" then map(select((type != "string") or keep_module)) else . end; # end def filter_refs def anchor_item_kept: (type == "object") and ((.anchor | type) == "array") and any(.anchor[]; keep_ref); # end def anchor_item_kept def panel_item_kept: if (type == "object") and ((.modulesMap | type) == "array") then any(.modulesMap[]; keep_ref) else true end; # end def panel_item_kept def trim_detail: if (.data | type) == "object" then (if (.data.regions | type) == "object" then .data.regions |= with_entries(.value |= filter_refs) else . end) | (if (.data.modules | type) == "object" then .data.modules |= with_entries(select(.key | keep_module)) else . end) | (if (at(["data", "meta", "half_hidden_modules"]) | type) == "array" then .data.meta.half_hidden_modules |= filter_refs else . end) | (if (at(["data", "modules", "baseInfo", "data", "user"]) | type) == "object" then .data.modules.baseInfo.data.user |= del(.userLocRgeo, .homeInfo, .companyInfo) else . end) | (if (at(["data", "modules", "anchor", "data", "items"]) | type) == "array" then .data.modules.anchor.data.items |= map(select(anchor_item_kept)) else . end) | (if (at(["data", "modules", "poiDetailCommonConfig", "data", "swipeUpPanelConfig", "swipeUpPanelTextList"]) | type) == "array" then .data.modules.poiDetailCommonConfig.data.swipeUpPanelConfig .swipeUpPanelTextList |= map(select(panel_item_kept)) else . end) else . end; # end def trim_detail trim_detail' http-response-jq (?i)^https:\/\/m5\.amap\.com\/ws\/smartui\/near_recommend\? 'delpaths([["data","operation_activity"]])' [Map Local] (?i)^https:\/\/m5\.amap\.com\/ws\/valueadded\/alimama\/splash_screen\? data-type=text data="{}" status-code=200 header="Content-Type:application/json" (?i)^https:\/\/m5\.amap\.com\/ws\/faas\/amap-navigation\/main-page-assets\? data-type=text data="{}" status-code=200 header="Content-Type:application/json" (?i)^https:\/\/m5\.amap\.com\/ws\/faas\/amap-navigation\/main-page-aiqs\? data-type=text data="{}" status-code=200 header="Content-Type:application/json" (?i)^https:\/\/ai\.amap\.com\/v1\/ai_rec\/home_qs\? data-type=text data="{}" status-code=200 header="Content-Type:application/json" (?i)^https:\/\/m5-zb\.amap\.com\/ws\/promotion-web\/resource(\/home)?\? data-type=text data="{}" status-code=200 header="Content-Type:application/json" (?i)^https:\/\/m5\.amap\.com\/ws\/info_bff\/rankingCard\? data-type=text data="{}" status-code=200 header="Content-Type:application/json" (?i)^https:\/\/m5\.amap\.com\/ws\/shield\/search_business\/process\/marketingOperationStructured\? data-type=text data="{}" status-code=200 header="Content-Type:application/json" [MITM] hostname = %APPEND% m5.amap.com, ai.amap.com, m5-zb.amap.com, center.amap.com, sns.amap.com, info.amap.com