[知乎助手]支持推荐页正则过滤及BoxJS功能配置

This commit is contained in:
blackmatrix7
2021-10-04 01:34:07 +08:00
parent c9d1da559a
commit 936165178a
11 changed files with 495 additions and 490 deletions

View File

@@ -11,10 +11,7 @@
"keys": ["unicom_user_cookie", "unicom_mobile", "unicom_encrypt_mobile", "city_code"],
"author": "@blackmatrix7",
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/10010",
"icons": [
"https://raw.githubusercontent.com/Orz-3/mini/master/Alpha/10010.png",
"https://raw.githubusercontent.com/Orz-3/mini/master/Color/10010.png"
],
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/Alpha/10010.png", "https://raw.githubusercontent.com/Orz-3/mini/master/Color/10010.png"],
"script": "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/10010/unicom_signin.js"
},
{
@@ -35,10 +32,7 @@
],
"author": "@blackmatrix7",
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/bilibili",
"icons": [
"https://raw.githubusercontent.com/Orz-3/mini/master/Alpha/bilibili.png",
"https://raw.githubusercontent.com/Orz-3/mini/master/Color/bilibili.png"
]
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/Alpha/bilibili.png", "https://raw.githubusercontent.com/Orz-3/mini/master/Color/bilibili.png"]
},
{
"id": "blackmatrix7.didachuxing",
@@ -46,30 +40,16 @@
"keys": ["dida_cid", "dida_cookie", "dida_useragent", "dida_access_token"],
"author": "@blackmatrix7",
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/didachuxing",
"icons": [
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/didachuxing/didachuxing.png",
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/didachuxing/didachuxing.png"
],
"icons": ["https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/didachuxing/didachuxing.png", "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/didachuxing/didachuxing.png"],
"script": "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/didachuxing/didachuxing_plus.js"
},
{
"id": "blackmatrix7.didichuxing",
"name": "滴滴出行",
"keys": [
"didi_token",
"didi_city_id",
"didi_lottery_id",
"didi_my_source_id",
"didi_group_id",
"didi_finance_channel_id",
"didi_finance_activity_id"
],
"keys": ["didi_token", "didi_city_id", "didi_lottery_id", "didi_my_source_id", "didi_group_id", "didi_finance_channel_id", "didi_finance_activity_id"],
"author": "@blackmatrix7",
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/didichuxing",
"icons": [
"https://raw.githubusercontent.com/Orz-3/mini/master/Alpha/didi.png",
"https://raw.githubusercontent.com/Orz-3/mini/master/Color/didi.png"
],
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/Alpha/didi.png", "https://raw.githubusercontent.com/Orz-3/mini/master/Color/didi.png"],
"script": "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/didichuxing/didi_checkin.js"
},
{
@@ -78,10 +58,7 @@
"keys": ["dingdongmaicai_checkin_cookie", "dingdongmaicai_checkin_body"],
"author": "@blackmatrix7",
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/dingdong",
"icons": [
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong.png",
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong.png"
],
"icons": ["https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong.png", "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong.png"],
"script": "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong_checkin.js"
},
{
@@ -90,10 +67,7 @@
"keys": ["eleme_app_cookie", "eleme_app_longitude", "eleme_app_latitude"],
"author": "@blackmatrix7",
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/eleme",
"icons": [
"https://raw.githubusercontent.com/Orz-3/mini/master/Alpha/elem.png",
"https://raw.githubusercontent.com/Orz-3/mini/master/Color/elem.png"
],
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/Alpha/elem.png", "https://raw.githubusercontent.com/Orz-3/mini/master/Color/elem.png"],
"scripts": [
{
"name": "领取吃货豆",
@@ -111,10 +85,7 @@
"keys": ["famijia_checkin_cookie", "famijia_device_id", "famijia_black_box"],
"author": "@blackmatrix7",
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/famijia",
"icons": [
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/famijia/famijia.png",
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/famijia/famijia.png"
],
"icons": ["https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/famijia/famijia.png", "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/famijia/famijia.png"],
"script": "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/famijia/famijia_checkin.js"
},
{
@@ -123,10 +94,7 @@
"keys": ["luka_checkin_cookie", "luka_signin_auth"],
"author": "@blackmatrix7",
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/luka",
"icons": [
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/luka/luka.png",
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/luka/luka.png"
],
"icons": ["https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/luka/luka.png", "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/luka/luka.png"],
"script": "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/luka/luka_signin.js"
},
{
@@ -135,29 +103,16 @@
"keys": ["manmanbuy_checkin_cookie", "manmanbuy_login_body", "manmanbuy_username", "manmanbuy_deviceid"],
"author": "@blackmatrix7",
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/manmanbuy",
"icons": [
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/manmanbuy/manmanmai.png",
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/manmanbuy/manmanmai.png"
],
"icons": ["https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/manmanbuy/manmanmai.png", "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/manmanbuy/manmanmai.png"],
"script": "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/manmanbuy/manmanbuy_checkin.js"
},
{
"id": "blackmatrix7.meituan",
"name": "美团买菜",
"keys": [
"meituan_mall_cookie",
"meituan_mall_t",
"meituan_mall_querystring",
"meituan_mall_uuid",
"meituan_mall_userid",
"meituan_mall_body"
],
"keys": ["meituan_mall_cookie", "meituan_mall_t", "meituan_mall_querystring", "meituan_mall_uuid", "meituan_mall_userid", "meituan_mall_body"],
"author": "@blackmatrix7",
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/meituan",
"icons": [
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/meituan/maicai.png",
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/meituan/maicai.png"
],
"icons": ["https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/meituan/maicai.png", "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/meituan/maicai.png"],
"script": "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/meituan/maicai_checkin.js"
},
{
@@ -166,10 +121,7 @@
"keys": ["smzdm_cookie", "smzdm_session"],
"author": "@blackmatrix7",
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/smzdm",
"icons": [
"https://raw.githubusercontent.com/Orz-3/mini/master/Alpha/smzdm.png",
"https://raw.githubusercontent.com/Orz-3/mini/master/Color/smzdm.png"
],
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/Alpha/smzdm.png", "https://raw.githubusercontent.com/Orz-3/mini/master/Color/smzdm.png"],
"scripts": [
{
"name": "每日自动任务",
@@ -187,10 +139,7 @@
"keys": ["tieba_checkin_cookie"],
"author": "@blackmatrix7",
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/tieba",
"icons": [
"https://raw.githubusercontent.com/Orz-3/mini/master/Alpha/tieba.png",
"https://raw.githubusercontent.com/Orz-3/mini/master/Color/tieba.png"
],
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/Alpha/tieba.png", "https://raw.githubusercontent.com/Orz-3/mini/master/Color/tieba.png"],
"script": "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/tieba/tieba_checkin.js"
},
{
@@ -199,10 +148,7 @@
"keys": ["wanda_checkin_cookie", "wanda_activitycode"],
"author": "@blackmatrix7",
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/wanda",
"icons": [
"https://raw.githubusercontent.com/Orz-3/mini/master/Alpha/wanda.png",
"https://raw.githubusercontent.com/Orz-3/mini/master/Color/wanda.png"
],
"icons": ["https://raw.githubusercontent.com/Orz-3/mini/master/Alpha/wanda.png", "https://raw.githubusercontent.com/Orz-3/mini/master/Color/wanda.png"],
"script": "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/wanda/wanda_checkin.js"
},
{
@@ -211,15 +157,124 @@
"keys": ["zhihu_blocked_users", "zhihu_current_userinfo", "zhihu_keyword_block"],
"author": "@blackmatrix7",
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/zhihu",
"icons": [
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.png",
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.png"
],
"icons": ["https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.png", "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.png"],
"descs_html": ["<h4 align=\"left\">具体功能说明查看<a href=\"https://github.com/blackmatrix7/ios_rule_script/tree/master/script/zhihu#readme\">README.md</a></h4>", "<h4 align=\"left\">✨为Plus版本专属功能❓为已过时或即将淘汰功能</h4>", "<h4 align=\"left\">切换Lite、Plus版本或出现异常请执行数据清理</h4>"],
"scripts": [
{
"name": "知乎助手数据清理",
"script": "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js"
}
],
"settings": [
{
"id": "zhihu_settings_recommend_stream",
"name": "屏蔽推荐页流媒体",
"val": false,
"type": "boolean",
"desc": "屏蔽推荐页中的视频、直播等流媒体信息"
},
{
"id": "zhihu_settings_moments_stream",
"name": "屏蔽关注页流媒体",
"val": false,
"type": "boolean",
"desc": "屏蔽关注页中的“最新视频”"
},
{
"id": "zhihu_settings_hot_list",
"name": "热榜去广告",
"val": true,
"type": "boolean",
"desc": "去除知乎热榜页面的广告"
},
{
"id": "zhihu_settings_fake_vip",
"name": "显示为盐选会员",
"val": false,
"type": "boolean",
"desc": "非会员用户显示为盐选会员,仅自己可见,无实际效果"
},
{
"id": "zhihu_settings_preset_words",
"name": "屏蔽预置关键词广告",
"val": false,
"type": "boolean",
"desc": "屏蔽搜索页中的预置关键词广告"
},
{
"id": "zhihu_settings_blocked_users",
"name": "黑名单屏蔽效果增强✨",
"val": true,
"type": "boolean",
"desc": "增强知乎APP黑名单用户屏蔽效果"
},
{
"id": "zhihu_settings_blocked_keywords",
"name": "推荐页关键词过滤✨",
"val": true,
"type": "boolean",
"desc": "除普通关键词外还支持正则表达式过滤"
},
{
"id": "zhihu_settings_sys_msg",
"name": "屏蔽官方账号推广消息✨",
"val": false,
"type": "boolean",
"desc": "屏蔽消息页内的官方账号推广消息"
},
{
"id": "zhihu_settings_answer_tip",
"name": "付费内容/营销推广/购物推广提醒✨",
"val": true,
"type": "boolean",
"desc": "在知乎回答中提示付费或营销内容"
},
{
"id": "zhihu_settings_remove_yanxuan",
"name": "屏蔽“盐选推荐”❓",
"val": true,
"type": "boolean",
"desc": "屏蔽推荐页中的“盐选推荐”"
},
{
"id": "zhihu_settings_app_conf",
"name": "去除推荐页多余标签❓",
"val": false,
"type": "boolean",
"desc": "知乎7.x及以上版本无效"
},
{
"id": "zhihu_settings_hot_search",
"name": "知乎热搜去广告❓",
"val": false,
"type": "boolean",
"desc": "知乎7.x及以上版本无效"
},
{
"id": "magicjs_loglevel",
"name": "日志等级",
"val": "INFO",
"type": "radios",
"items": [
{
"key": "INFO",
"label": "INFO"
},
{
"key": "WARNING",
"label": "WARNING"
},
{
"key": "ERROR",
"label": "ERROR"
},
{
"key": "DEBUG",
"label": "DEBUG"
}
],
"desc": "出现异常时请选择DEBUG提交日志"
}
]
},
{
@@ -266,10 +321,7 @@
],
"author": "@blackmatrix7",
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/synology",
"icons": [
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/synology/icon/synology_dark.jpg",
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/synology/icon/synology.jpg"
],
"icons": ["https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/synology/icon/synology_dark.jpg", "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/synology/icon/synology.jpg"],
"scripts": [
{
"name": "登录Synology",