Script/README.md

217 lines
18 KiB
Markdown
Raw Normal View History

2021-07-04 16:35:23 +08:00
## TOC
- [Script desc](#script-desc)
- [Daily bonus scripts](#daily-bonus-scripts)
- [Functionality-enhancing scripts](#functionality-enhancing-scripts)
- [Other scripts](#other-scripts)
- [Surge file desc](#surge-file-desc)
- [Surge ruleset](#surge-ruleset)
- [Surge module](#surge-module)
- [QuantumultX file desc](#quantumultx--file-desc)
- [Loon file desc](#loon-file-desc)
- [Disclaimer](#disclaimer)
- [Decrypt](#decrypt)
- [Privacy](#privacy)
- [Commercial](#commercial)
- [Nfringement](#nfringement)
- [Liability](#liability)
- [Change](#change)
- [Special thanks to](#special-thanks-to)
- [License](#license)
2019-11-07 23:56:13 +08:00
2021-07-04 16:35:23 +08:00
> **Please note that the scripts or rewrite rules described below need to open MITM and trust the certificate.**
## Script desc
### Daily bonus scripts
2021-07-25 00:13:11 +08:00
| Application | Script name | Available | Maintenance |
| :-----------------------------------------------------: | :----------------------------------------------------------: | :----------: | :---------: |
| [京东商城](https://apps.apple.com/app/id414245413) | [JD_DailyBonus.js](https://github.com/NobyDa/Script/blob/master/JD-DailyBonus/JD_DailyBonus.js) | ✅(2021.7.4) | ✅ |
| [百度贴吧](https://apps.apple.com/app/id477927812) | [TieBa.js](https://github.com/NobyDa/Script/blob/master/BDTieBa-DailyBonus/TieBa.js) | ✅(2021.7.4) | ❌ |
2022-01-26 23:23:26 +08:00
| [吾爱破解](https://www.52pojie.cn/) | [52pojie.js](https://github.com/NobyDa/Script/blob/master/52pojie-DailyBonus/52pojie.js) | ❌(2021.11) | ❌ |
| [爱奇艺](https://apps.apple.com/cn/app/id393765873) | [iQIYI.js](https://github.com/NobyDa/Script/blob/master/iQIYI-DailyBonus/iQIYI.js) | ✅(2022.1.26) | ❌ |
| [快看漫画](https://apps.apple.com/app/id906936224) | [KKMH.js](https://github.com/NobyDa/Script/blob/master/KuaiKan-DailyBonus/KKMH.js) | ✅(2022.1.26) | ✅ |
| [哔哩哔哩漫画](https://apps.apple.com/app/id1426252715) | [Manga.js](https://github.com/NobyDa/Script/blob/master/Bilibili-DailyBonus/Manga.js) | ✅(2022.1.26) | ✅ |
| [巴哈姆特](https://www.gamer.com.tw/) | [BahamutDailyBonus.js](https://github.com/NobyDa/Script/blob/master/Bahamut/BahamutDailyBonus.js) | ✅(2022.1.26) | ✅ |
2021-07-04 16:35:23 +08:00
------
### Functionality-enhancing scripts
| Script name | Main Functions | Maintenance |
| :----------------------------------------------------------: | :----------------------------------------------------------: | :---------: |
| [PolicySwitch.js](https://github.com/NobyDa/Script/blob/master/Shortcuts/PolicySwitch.js) | Switch [QX](https://apps.apple.com/app/id1443988620),[Surge](https://apps.apple.com/app/id1442620678),[Loon](https://apps.apple.com/app/id1373567447) policy groups using ios [shortcut](https://apps.apple.com/app/id1462947752). | ✅ |
| [DataQuery.js](https://github.com/NobyDa/Script/blob/master/Sub-store-parser/DataQuery.js) | Server(VPN) traffic query based on [Sub-Store](https://github.com/Peng-YM/Sub-Store). | ✅ |
2022-01-26 23:23:26 +08:00
| [Bili_Auto_Regions.js](https://github.com/NobyDa/Script/blob/master/Surge/JS/Bili_Auto_Regions.js) | [Bilibili anime](https://apps.apple.com/cn/app/id736536022) auto switch region & show [douban](https://www.douban.com/) rating. | ✅ |
2021-07-17 18:37:04 +08:00
| [ExchangePoints.js](https://github.com/NobyDa/Script/blob/master/Bilibili-DailyBonus/ExchangePoints.js) | [Bilibili manga](https://apps.apple.com/app/id1426252715) points mall auto snap up. | ✅ |
2021-07-04 16:35:23 +08:00
---
### Other scripts
2021-07-06 21:21:21 +08:00
| Application | Script name | Main Functions | Available | Maintenance |
| :----------------------------------------------------------: | :----------------------------------------------------------: | :---------------------: | :---------: | :---------: |
| [Bigshot](https://apps.apple.com/app/id1274910157) | [dapian.js](https://github.com/NobyDa/Script/blob/master/QuantumultX/File/dapian.js) | Unlock membership | ✅(2021.7.3) | ❌ |
| [VSCO](https://apps.apple.com/app/id588013838) | [vsco.js](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/vsco.js) | Unlock membership | ✅(2021.7.3) | ✅ |
| [JibJab](https://apps.apple.com/app/id875561136) | [jibjab.js](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/jibjab.js) | Unlock membership | ✅(2021.7.3) | ❌ |
| [NiChi](https://apps.apple.com/app/id1442041390) | [NiChi.js](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/NiChi.js) | Unlock material pack | ✅(2021.7.3) | ❌ |
| [美易Picsart](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/PicsArt.js) | [PicsArt.js](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/PicsArt.js) | Unlock membership | ✅(2021.7.3) | ✅ |
| [MIX滤镜大师](https://apps.apple.com/app/id913947918) | [MIX.js](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/MIX.js) | Unlock in-app purchases | ✅(2021.7.6) | ❌ |
2021-07-06 21:39:38 +08:00
| [Polarr 泼辣](https://apps.apple.com/app/id988173374) | [Polarr.js](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/Polarr.js) | Unlock in-app purchases | ✅(2021.7.6) | ❌ |
2021-07-06 21:21:21 +08:00
| [小影VivaVideo](https://apps.apple.com/app/id738897668) | [vivavideo.js](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/vivavideo.js) | Unlock membership | ✅(2021.7.3) | ❌ |
2022-01-26 23:23:26 +08:00
| [CamScanner](https://apps.apple.com/app/id388627783) | [CamScanner.js](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/CamScanner.js) | Unlock some benefits | ❌ | ❌ |
2021-07-06 21:21:21 +08:00
| [酷我音乐](https://apps.apple.com/cn/app/id588673713) | [Kuwo.js](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/Kuwo.js) | Unlock vip listen | ✅(2021.7.3) | ❌ |
| [知音漫客](https://apps.apple.com/app/id1012491820) | [Zymh.js](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/Zymh.js) | Unlock vip chapters | ✅(2021.7.3) | ✅ |
| [91短视频](http://download.91porn.love/) | [91.js](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/91.js) | Unlock membership | ✅(2021.7.3) | ❌ |
| [香蕉视频](https://www.aa2.app) | [xjsp.js](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/xjsp.js) | Unlock membership | ✅(2021.7.3) | ❌ |
| [爱美剧](https://www.mjapp.cc) | [aimeiju.js](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/aimeiju.js) | Unlock membership | ✅(2021.7.3) | ❌ |
| [网易蜗牛读书](https://apps.apple.com/app/id1127249355) | [wnyd.js](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/wnyd.js) | Unlock membership | ✅(2021.7.3) | ❌ |
| [陆琪讲故事](https://apps.apple.com/app/id1435575842) | [luqi.js](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/luqi.js) | Unlock radio | ✅(2021.7.3) | ❌ |
| [WPS Office](https://apps.apple.com/app/id1491101673) | [Wps.js](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/Wps.js) | Unlock membership | ✅(2021.7.3) | ❌ |
| [百度网盘](https://apps.apple.com/app/id547166701) | [BaiduCloud.js](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/BaiduCloud.js) | Unlock video speed | ✅(2021.7.6) | ❌ |
| [WeChat](https://apps.apple.com/app/id414478124) | [Wechat.js](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/Wechat.js) | Remove ads | ✅(2021.7.3) | ❌ |
| [皮皮虾](https://apps.apple.com/cn/app/id1393912676) | [Super.js](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/Super.js) | Remove ads | ✅(2021.7.3) | ❌ |
2021-07-04 16:35:23 +08:00
---
## Surge file desc
### Surge ruleset
| File name | Number | Integrate | Desc | Maintenance |
| :----------------------------------------------------------: | :----: | :----------------------------------------------------------: | :-------------------------------: | :---------: |
| [AdRule.list](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/AdRule.list) | 8000+ | [lhie1](https://github.com/lhie1/Rules), [ConnersHua](https://github.com/ConnersHua/Profiles) | Private ad ruleset | ❌ |
| [AdRuleTest.list](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/AdRuleTest.list) | 1300+ | [Scomper](https://github.com/scomper/Surge) | Private ad ruleset (test only). | ❌ |
| [WeChat.list](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/WeChat.list) | 180+ | N/A | WeChat ruleset (china) | ✅ |
| [Apple.list](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/Apple.list) | 60+ | N/A | Apple ruleset (global) | ✅ |
| [Download.list](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/Download.list) | 15+ | N/A | Some BT, Thunder, download rules. | ❌ |
### Surge module
| Module name | Desc | Maintenance |
| :----------------------------------------------------------: | :----------------------------------------------------------: | :---------: |
| [RewriteRules.sgmodule](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/Module/RewriteRules.sgmodule) | Private ad rewrite rules, integrate [lhie1](https://github.com/lhie1/Rules)、[ConnersHua](https://github.com/ConnersHua/Profiles)、[onewayticket255](https://github.com/onewayticket255/Surge-Script) and [Choler](https://github.com/Choler/Surge/tree/master/Ruleset). | ❌ |
| [HuiJuDongManAds.sgmodule](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/Module/HuiJuDongManAds.sgmodule) | Please see the desc in module. | ✅ |
| [IPA_install.sgmodule](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/Module/IPA_install.sgmodule) | Use Surge to assist in install IPA (signed version) | ❌ |
| [TestFlightDownload.sgmodule](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/Module/TestFlightDownload.sgmodule) | Please see the desc in module. | ✅ |
| [GetCookie.sgmodule](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/Module/GetCookie.sgmodule) | Please see the desc in module. | ✅ |
---
## QuantumultX file desc
| Name | Integrate | Number | Desc | Type | Maintenance |
| :----------------------------------------------------------: | :----------------------------------------------------------: | :----: | :---------------------------: | :-----: | :---------: |
| [AdRule.list](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/AdRule.list) | [lhie1](https://github.com/lhie1/Rules) | 7000+ | Private ad rules. | Rule | ❌ |
| [AdRuleTest.list](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/AdRuleTest.list) | [Scomper](https://github.com/scomper/Surge) | 1300+ | Private ad rules (test only). | Rule | ❌ |
| [Rewrite_lhie1.conf](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/Rewrite_lhie1.conf) | [lhie1](https://github.com/lhie1/Rules)、[onewayticket255](https://github.com/onewayticket255/Surge-Script)、[Choler](https://github.com/Choler/Surge/tree/master/Ruleset) | 400+ | Private rewrite rules. | Rewrite | ❌ |
| [Js.conf](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/Js.conf) | N/A | N/A | Remote script subscription. | Rewrite | ✅ |
| [Js_Remote_Cookie.conf](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/Js_Remote_Cookie.conf) | N/A | N/A | Please see the desc in file. | Rewrite | ✅ |
| [TestFlightDownload.conf](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/TestFlightDownload.conf) | N/A | N/A | Please see the desc in file. | Rewrite | ✅ |
2019-11-07 23:56:13 +08:00
2021-07-04 16:35:23 +08:00
Rules of type "Rule" include only ad hosts. Please select the REJECT policy.
2019-12-07 19:14:01 +08:00
2020-01-15 00:15:32 +08:00
2021-07-04 16:35:23 +08:00
<details><summary>Difference between QuantumultX versions (Click to view)</summary>
2020-03-06 22:06:41 +08:00
2021-07-04 16:35:23 +08:00
* AppStore version QX1.0.0 (120) This version is the initial version, JS function is unlimited.
* AppStore version QX1.0.1 (130) This version adds support V2Ray(protocols), but restricts the keywords of the script VIP type.
2020-04-05 01:45:27 +08:00
2021-07-04 16:35:23 +08:00
* AppStore version QX1.0.2 (136) This version adds support HTTP(protocols) and relaxes certain script keyword restrictions, but restricts script remote subscriptions
* AppStore version QX1.0.3 (155) This version removes the keyword restriction and restores the script remote subscription, however, the remote script needs to comment the device ID before execution.
* AppStore version QX1.0.4 (164) This version completely restricts remote script subscriptions, meaning that all scripts can only use local paths.
* AppStore version QX1.0.5 (192) This version adds a timed script task function.
* AppStore version QX1.0.6 (212) This version supports modifying HTTP request body, and replaying HTTP request.
* AppStore version QX1.0.7 (240) This version supports TLS 1.3 (TLS-based proxy protocol), and Trojan(protocols).
2020-07-21 15:59:16 +08:00
* ...
2021-07-04 16:35:23 +08:00
* AppStore version QX1.0.10 (313) In this version, script remote subscription has been restored.
2020-07-21 15:59:16 +08:00
2020-01-15 00:15:32 +08:00
QX1.0.3 add device ID, a simple example:
2019-12-07 19:14:01 +08:00
```ini
/**
* @supported 23AD6B11CD4B
*/
let obj = JSON.parse($response.body)
obj["example"] = 0;
$done({body:JSON.stringify(obj)})
```
2020-01-15 00:15:32 +08:00
2021-07-04 16:35:23 +08:00
The above random generated device ID can be found at the bottom of Quantumult X additional menu, and it may change after system restore.
2020-01-15 00:15:32 +08:00
2021-07-04 16:35:23 +08:00
</details>
2020-01-15 00:15:32 +08:00
2021-07-04 16:35:23 +08:00
---
2020-01-15 00:15:32 +08:00
2021-07-04 16:35:23 +08:00
## Loon file desc
2020-01-15 00:15:32 +08:00
2021-07-04 16:35:23 +08:00
| File name | Desc | Type | Maintenance |
| :----------------------------------------------------------: | :-----------------------------: | :------------------: | :---------: |
| [Loon_GetCookie.conf](https://raw.githubusercontent.com/NobyDa/Script/master/Loon/Loon_GetCookie.conf) | Please see the desc in file. | Subscription scripts | ✅ |
| [Loon_GetTask.conf](https://raw.githubusercontent.com/NobyDa/Script/master/Loon/Loon_GetTask.conf) | Timed script task subscription. | Subscription scripts | ✅ |
| [Loon_TF_Download.conf](https://raw.githubusercontent.com/NobyDa/Script/master/Loon/Loon_TF_Download.conf) | Please see the desc in file. | Subscription scripts | ✅ |
2020-01-15 00:15:32 +08:00
2021-07-04 16:35:23 +08:00
---
2020-01-15 00:15:32 +08:00
2020-08-23 16:37:47 +08:00
## Disclaimer
2021-07-04 16:35:23 +08:00
2020-08-23 16:37:47 +08:00
```
In the following disclaimer :
"Script project" specifically refers to the open source scripts and rules in https://github.com/NobyDa/Script/tree/master
"NobyDa" specifically refers to the author and owner in https://github.com/NobyDa/Script/tree/master
```
2021-07-04 16:35:23 +08:00
### Decrypt
1. Any unlocking and decryption analysis scripts involved in the "Script project" are for resource sharing and study purposes only.
2. Legality, accuracy, completeness, and validity cannot be guaranteed. **Please judge for yourself based on the actual situation.**
2020-08-23 16:37:47 +08:00
2021-07-04 16:35:23 +08:00
3. You must completely delete the scripts involving decryption from your computer or phone within **24 hours** of downloading.
2020-01-15 00:15:32 +08:00
2021-07-04 16:35:23 +08:00
### Privacy
2019-11-07 23:56:13 +08:00
2021-07-04 16:35:23 +08:00
1. Any user who indirectly uses any of the scripts in the "Script project", including but not limited to violating relevant laws and regulations or establishing VPS to spread, **NobyDa is not responsible for any privacy leakage or other consequences caused by this.**
2019-11-07 23:56:13 +08:00
2021-07-04 16:35:23 +08:00
### Commercial
2019-11-22 12:03:14 +08:00
2021-07-04 16:35:23 +08:00
1. Do not use any scripts of the "Script project" for commercial or illegal purposes, **otherwise you will be responsible for the consequences.**
2019-11-22 12:03:14 +08:00
2021-07-04 16:35:23 +08:00
### Nfringement
2019-11-07 23:56:13 +08:00
2021-07-04 16:35:23 +08:00
1. If any company or individual believes that a scripts from "Script project" may be infringe on rights, you should promptly notify and provide proof of **identity** and **ownership**, and we will delete the scripts after receiving the relevant documents.
2019-11-07 23:56:13 +08:00
2021-07-04 16:35:23 +08:00
### Liability
2019-11-07 23:56:13 +08:00
2021-07-04 16:35:23 +08:00
1. NobyDa is not responsible for any scripts problems, **including but not limited to any loss or damage caused by any scripting errors.**
### Change
1. Anyone viewing or using the scripts of the "Script project" in any way, directly or indirectly, should read this statement carefully. And NobyDa reserves the right to change or supplement this disclaimer at any time.
2. **Once you use or copy any related scripts of the "Script project", you will be deemed to have accepted this disclaimer.**
2019-11-22 12:03:14 +08:00
2020-08-23 16:37:47 +08:00
## Special thanks to
2021-07-04 16:35:23 +08:00
2020-01-15 00:15:32 +08:00
* [@sazs34](https://github.com/sazs34)
* [@lhie1](https://github.com/lhie1)
* [@Scomper](https://github.com/scomper)
* [@onewayticket255](https://github.com/onewayticket255)
* [@Choler](https://github.com/Choler)
* [@ConnersHua](https://github.com/ConnersHua)
2020-07-21 15:59:16 +08:00
## License
[GPLv3](LICENSE)