Skip to content

Commit

Permalink
Init project
Browse files Browse the repository at this point in the history
  • Loading branch information
blackmatrix7 committed Apr 16, 2021
1 parent af86d24 commit f2b8201
Show file tree
Hide file tree
Showing 7,329 changed files with 2,323,074 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/ISSUE_TEMPLATE_1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: 脚本问题反馈
about: 权威研究表明,描述问题的详细程度与解决问题的速度成正比。
---

不提供任何关于客户端的配置、使用等帮助,此类问题请通过搜索引擎解决,相关Issues将直接关闭甚至删除。

------

反馈前请先确认:

1. 已使用空白配置文件复现此问题
2. 在issues中找不到类似问题
3. 请勿涉及任何非法内容
4. 不规范填写的Issue可能不会得到任何回复

脚本名称:

APP版本:

客户端名称:

客户端版本:

问题描述:

复现方式:

1. ………
2. ………………

已使用空白配置文件验证:是/否

30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/ISSUE_TEMPLATE_2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: 规则问题反馈
about: 没有不乐于帮你解决问题的人,只有让人不感兴趣的提问方式。
---

不提供任何关于客户端的配置、使用等帮助,此类问题请通过搜索引擎解决,相关Issues将直接关闭甚至删除。

规则仅是特定服务域名和IP地址的集合,请使用**中华人民共和国合法的网络出入口信道**访问相关服务。

------

反馈前请先确认:

1. 请勿涉及政治、成人等敏感或非法内容
2. 分流规则的更新需要等待次日凌晨生效
3. 仅接受规则引起异常的反馈
4. 已自行抓包明确引起异常的规则
5. 不规范填写的Issue可能不会得到任何回复

规则名称:

规则链接:

异常规则:

问题描述:

抓包截图:(相关抓包工具的截图。)

调整方案:(你希望规则做哪些调整,及其原因。)
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
replaceurl.js
to_blackmatrix7.js
magic.json
debug/
script/magicjs/server/
96 changes: 96 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
# Rules And Scripts

## 前言

各平台的分流规则、复写规则及自动化脚本。

## 特别声明

1. 本项目内所有资源文件,禁止任何公众号、自媒体进行任何形式的转载、发布。
2. 编写本项目主要目的为学习和研究ES6,无法保证项目内容的合法性、准确性、完整性和有效性。
3. 本项目涉及的数据由使用的个人或组织自行填写,本项目不对数据内容负责,包括但不限于数据的真实性、准确性、合法性。使用本项目所造成的一切后果,与本项目的所有贡献者无关,由使用的个人或组织完全承担。
4. 本项目中涉及的第三方硬件、软件等,与本项目没有任何直接或间接的关系。本项目仅对部署和使用过程进行客观描述,不代表支持使用任何第三方硬件、软件。使用任何第三方硬件、软件,所造成的一切后果由使用的个人或组织承担,与本项目无关。
5. 本项目中所有内容只供学习和研究使用,不得将本项目中任何内容用于违反国家/地区/组织等的法律法规或相关规定的其他用途。
6. 所有基于本项目源代码,进行的任何修改,为其他个人或组织的自发行为,与本项目没有任何直接或间接的关系,所造成的一切后果亦与本项目无关。
7. 所有直接或间接使用本项目的个人和组织,应24小时内完成学习和研究,并及时删除本项目中的所有内容。如对本项目的功能有需求,应自行开发相关功能。
8. 本项目保留随时对免责声明进行补充或更改的权利,直接或间接使用本项目内容的个人或组织,视为接受本项目的特别声明。

## 规则

**我们并不生产规则,我们只是开源规则的搬运工。**

分流规则

https://github.com/blackmatrix7/ios_rule_script/tree/master/rule

复写规则

https://github.com/blackmatrix7/ios_rule_script/tree/master/rewrite

所有规则数据都来自互联网,感谢开源规则项目作者的辛勤付出。

## 脚本

### 支持情况

自动化脚本在不同平台支持情况:

| | Surge | Quantumult X | Loon | Shadowrocket | Node.js |
| -------- | ----------- | ------------ | ----------- | ------------ | ---------------- |
| 需要硬件 | iPhone/iPad | iPhone/iPad | iPhone/iPad | iPhone/iPad | 可长期运行的电脑 |
| 脚本更新 | 自动更新 | 自动更新 | 自动更新 | 自动更新 | 手动更新 |
| 推送通知 | 手机推送 | 手机推送 | 手机推送 | 手机推送 ||
| 使用成本 | 付费App | 付费App | 付费App | 付费App | 免费 |
| 支持情况 | 优先支持 | 兼容支持 | 兼容支持 | 部分支持 | 部分支持 |

优先支持:优先确保运行正常,出现异常优先解决

兼容支持:代码层面做兼容,会做测试

随缘支持:代码层面做兼容,偶尔做测试

部分支持:代码层面做兼容,部分功能可用,不做测试

支持优先级:Surge > Quantumult X > Loon > Shadowrocket ≥ Node.js

### 脚本说明

| 脚本 | 介绍 | 维护状态 |
| ------------------------------------------------------------ | ------------------------------------------------------------ | -------- |
| [知乎助手](https://github.com/blackmatrix7/ios_rule_script/tree/master/script/zhihu) | 使用纯净版知乎是一种怎么样的体验? | 正常 |
| ~~[哔哩哔哩](https://github.com/blackmatrix7/ios_rule_script/tree/master/script/bilibili)~~ | ~~没有广告的哔哩哔哩更值得干杯~~ | 停止 |
| [什么值得买](https://github.com/blackmatrix7/ios_rule_script/tree/master/script/smzdm) | 什么值得买签到和去广告脚本 | 正常 |
| [百度贴吧](https://github.com/blackmatrix7/ios_rule_script/tree/master/script/tieba) | 带重试功能的贴吧签到,提高签到成功率 | 正常 |
| [联通手机营业厅](https://github.com/blackmatrix7/ios_rule_script/tree/master/script/10010) | 每日自动签到、美团外卖30-3优惠券、4次抽奖、话费流量语音情况推送 | 正常 |
| [联享家](https://github.com/blackmatrix7/ios_rule_script/tree/master/script/lxj) | 去广告、拦截检测更新 | 正常 |
| [开屏去广告](https://github.com/blackmatrix7/ios_rule_script/tree/master/script/startup) | 通过脚本去除缓存到本地的APP开屏广告 | 正常 |
| [嘀嗒出行](https://github.com/blackmatrix7/ios_rule_script/tree/master/script/didachuxing) | 每日自动签到 | 正常 |
| [滴滴出行](https://github.com/blackmatrix7/ios_rule_script/tree/master/script/didichuxing) | 每日自动签到、福利金抽奖、天天有奖签到 | 正常 |
| [家长帮](https://github.com/blackmatrix7/ios_rule_script/tree/master/script/jiazhangbang) | 每日自动签到 | 正常 |
| [慢慢买](https://github.com/blackmatrix7/ios_rule_script/tree/master/script/manmanbuy) | 每日自动签到 | 正常 |
| [~~小米有品~~](https://github.com/blackmatrix7/ios_rule_script/tree/master/script/youpin) | ~~每日自动签到~~ | 停止 |
| [叮咚买菜](https://github.com/blackmatrix7/ios_rule_script/tree/master/script/dingdong) | 每日自动签到 | 正常 |
| [万达电影](https://github.com/blackmatrix7/ios_rule_script/tree/master/script/wanda) | 每日自动签到,月末将剩余能量抽奖 | 正常 |
| [饿了么](https://github.com/blackmatrix7/ios_rule_script/tree/master/script/eleme) | 每日自动领取会员任务 | 正常 |
| [Fa米家](https://github.com/blackmatrix7/ios_rule_script/tree/master/script/famijia) | 每日自动签到 | 正常 |
| [Luka](https://github.com/blackmatrix7/ios_rule_script/tree/master/script/luka) | 每日自动签到 | 正常 |
| [美团买菜](https://github.com/blackmatrix7/ios_rule_script/tree/master/script/meituan) | 每日自动签到 | 正常 |

#### Quantumult X Gallery

部分脚本已配置为Quantumult X Gallery。

地址: https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/gallery.json

### 外部资源

项目中资源来自互联网上其他开源项目(具体以不同目录的说明为准),这里主要进行一些整合和备份。对于此类资源,无法对使用过程中出现的任何问题进行解答,您需要联系原作者。

地址:https://github.com/blackmatrix7/ios_rule_script/tree/master/external

# 感谢

以下排名不分先后

[@BaileyZyp](https://github.com/BaileyZyp) [@Mazeorz](https://github.com/Mazeorz) [@LuzMasonj](https://github.com/LuzMasonj) [@ypannnn](https://github.com/ypannnn) [@echizenryoma](https://github.com/echizenryoma) [@zirawell](https://github.com/zirawell) [@urzz](https://github.com/urzz) [@ASD-max](https://github.com/ASD-max)

4 changes: 4 additions & 0 deletions blank/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# 空文件

目录中的空文件,仅作为Surge中Mock模块的远端文件使用,无其他用途。

Binary file added blank/blank.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions blank/blank.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<html></html>
Binary file added blank/blank.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added blank/blank.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions blank/blank.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#
1 change: 1 addition & 0 deletions blank/blank_array.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
1 change: 1 addition & 0 deletions blank/blank_dict.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
14 changes: 14 additions & 0 deletions external/Loon/JDDailyBonus/JDDailyBonus.plugin
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# NAME: 京东多合一签到脚本
# AUTHOR: NobyDa
# REPO: https://github.com/NobyDa/Script/tree/master/JD-DailyBonus
# UPDATED: 2021-04-17 00:16:07
# REWRITE: 0
# SCRIPT: 1
# MITM: 1

[Script]
http-request https:\/\/api\.m\.jd\.com\/client\.action.*functionId=signBean script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/source/script/468f015d9da1a01bf12975782203e978.js,tag=京东_获取Cookie
cron "5 0 * * *" script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/source/script/468f015d9da1a01bf12975782203e978.js,timeout=60,tag=京东_多合一签到

[MITM]
hostname = api.m.jd.com
62 changes: 62 additions & 0 deletions external/Loon/JDDailyBonus/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# 京东多合一签到脚本

## 前言

本项目的京东多合一签到脚本规则由《规则生成器》自动整合与去重。

复写规则所有数据均收集自开源项目,仅为解决引用过多外部资源引起的规则重复问题,不代表我们支持或使用这些服务。

请通过我国(中华人民共和国)合法的互联网出入口信道访问规则中的地址,并确保在使用过程中符合相关法律法规。

## 复写统计

| 类型 | 数量(条) |
| ---- | ---- |
| mitm | 1 |
| http-request | 1 |
## 配置说明

实时版:程序定时更新,更新频率高,能尽快同步数据源变化,适合希望尝鲜的人。

稳定版:不定时手动更新,更新频率低,适合不希望规则频繁变化的人。

稳定版中如含有JavaScript脚本,所引用的脚本链接为实时版或外部链接,可能会与预期效果有出入,建议使用实时版。

### Loon

实时版:


https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/external/Loon/JDDailyBonus/JDDailyBonus.plugin


稳定版:


https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/external/Loon/JDDailyBonus/JDDailyBonus.plugin


如果稳定版无法访问 ,可能是尚未从实时版的分支合并,建议您先使用实时版,或等待下次稳定版分支合并。

## 数据来源

本项目的京东多合一签到脚本复写规则的数据来自以下链接,通常已涵盖所有数据来源的复写规则。

如果你正在使用这些复写规则,建议不要与本项目的京东多合一签到脚本复写规则混合使用,以免造成规则重复。

- https://raw.githubusercontent.com/NobyDa/Script/master/JD-DailyBonus/JD_DailyBonus.js


感谢以上复写规则作者的辛勤付出(排名不分先后)。

## 最后

### 感谢

[@Tartarus2014](https://github.com/Tartarus2014) [@chenyiping1995](https://github.com/chenyiping1995)

提供规则数据源及改进建议。

### 其他

请不要对外宣传本项目。
13 changes: 13 additions & 0 deletions external/Loon/JDPrice/JDPrice.plugin
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# NAME: 京东历史价格显示
# AUTHOR: yichahucha
# REPO: https://github.com/yichahucha/surge/tree/master
# UPDATED: 2021-04-17 00:16:07
# REWRITE: 0
# SCRIPT: 1
# MITM: 1

[Script]
http-response ^https?://api\.m\.jd\.com/client\.action\?functionId=(wareBusiness|serverConfig|basicConfig) requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/source/script/6703a306f4acd234b7bd5f6adf90bcb5.js,tag=京东_历史价格显示

[MITM]
hostname = api.m.jd.com
68 changes: 68 additions & 0 deletions external/Loon/JDPrice/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# 京东历史价格显示

## 前言

本项目的京东历史价格显示规则由《规则生成器》自动整合与去重。

复写规则所有数据均收集自开源项目,仅为解决引用过多外部资源引起的规则重复问题,不代表我们支持或使用这些服务。

请通过我国(中华人民共和国)合法的互联网出入口信道访问规则中的地址,并确保在使用过程中符合相关法律法规。
## 规则说明
原作者: yichahucha

原作者Github: https://github.com/yichahucha/surge/tree/master

当前仅作为备份,如果你喜欢这个脚本,请点击上方的链接支持原作者。

## 复写统计

| 类型 | 数量(条) |
| ---- | ---- |
| mitm | 1 |
| http-response | 1 |
## 配置说明

实时版:程序定时更新,更新频率高,能尽快同步数据源变化,适合希望尝鲜的人。

稳定版:不定时手动更新,更新频率低,适合不希望规则频繁变化的人。

稳定版中如含有JavaScript脚本,所引用的脚本链接为实时版或外部链接,可能会与预期效果有出入,建议使用实时版。

### Loon

实时版:


https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/external/Loon/JDPrice/JDPrice.plugin


稳定版:


https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/external/Loon/JDPrice/JDPrice.plugin


如果稳定版无法访问 ,可能是尚未从实时版的分支合并,建议您先使用实时版,或等待下次稳定版分支合并。

## 数据来源

本项目的京东历史价格显示复写规则的数据来自以下链接,通常已涵盖所有数据来源的复写规则。

如果你正在使用这些复写规则,建议不要与本项目的京东历史价格显示复写规则混合使用,以免造成规则重复。

- https://raw.githubusercontent.com/yichahucha/surge/master/README.md


感谢以上复写规则作者的辛勤付出(排名不分先后)。

## 最后

### 感谢

[@Tartarus2014](https://github.com/Tartarus2014) [@chenyiping1995](https://github.com/chenyiping1995)

提供规则数据源及改进建议。

### 其他

请不要对外宣传本项目。
Loading

0 comments on commit f2b8201

Please sign in to comment.