Script/README.md

113 lines
6.7 KiB
Markdown
Raw Normal View History

2020-08-23 16:37:47 +08:00
## Difference between Quantumult X versions
2019-11-07 23:56:13 +08:00
* Store version QX1.0.0 (120) JS function is unlimited, but does not support v2, does not support AlwaysOn
2019-11-22 16:43:36 +08:00
* Store version QX1.0.1 (130) restricts keywords for script VIP types, but supports v2 and supports AlwaysOn
2019-11-07 23:56:13 +08:00
* Store version QX1.0.2 (136) Relaxed certain keyword restrictions, but limited script remote references (script subscriptions), support for v2 and support for http and support AlwaysOn
2019-12-07 19:14:01 +08:00
* Store version QX1.0.3 (155) Removed keyword restrictions and restored script remote references. However, the content in the remote script needs to be annotated with the device ID before it can be executed.
2020-01-15 00:15:32 +08:00
* Store version QX1.0.4 (164) This version completely limits remote script resources, meaning that all scripts can only point to local paths.
2020-03-06 22:06:41 +08:00
* Store version QX1.0.5 (192) Remote script resources are unavailable, but "task" script functionality is added.
2020-04-05 01:45:27 +08:00
* Store version QX1.0.6 (212) Supports rewrite of HTTP request body, and replay of HTTP request
* Store version QX1.0.7 (240) Supports TLS 1.3 for TLS based proxy protocols, and new external proxy protocol trojan.
2020-07-21 15:59:16 +08:00
* ...
* Store version QX1.0.10 (313) In this version, script remote subscription has been restored.
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)})
```
The above random generated device ID can be found at the bottom of Quantumult X additional menu, and it may change after system restore.
2019-11-07 23:56:13 +08:00
2020-08-23 16:37:47 +08:00
## File related instructions
2019-11-07 23:56:13 +08:00
2020-08-23 16:37:47 +08:00
#### Surge
2020-01-15 00:15:32 +08:00
* **[AdRule.list](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/AdRule.list) More than 8000 ad rules integrate [lhie1](https://github.com/lhie1/Rules) and [ConnersHua](https://github.com/ConnersHua/Profiles) and added some advertising rules)**
* **[AdRuleTest.list](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/AdRuleTest.list) More than 1300 ad rulesThis rule is modified from [Scomper](https://github.com/scomper/Surge). Because the original author stopped maintenance, so take over the optimization and delete some normal rules, only for testing**)
2020-09-16 20:44:20 +08:00
* **[RewriteRules.sgmodule](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/Module/RewriteRules.sgmodule) More than 700 ad rewrite module, 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). you need to open MITM and trust the certificate.)**
2020-01-15 00:15:32 +08:00
* **[Download.list](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/Download.list) (Integrate some BT, Thunder, download shunt rules)**
* **Because [ConnersHua](https://github.com/ConnersHua/Profiles) ad rules are already included in this rule, you don't need to repeatedly add.**
2020-08-23 16:37:47 +08:00
#### Quantumult X
2020-01-15 00:15:32 +08:00
* **[AdRule.list](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/AdRule.list) More than 7000 ad rules, This rule is modified from [lhie1](https://github.com/lhie1/Rules)and delete [ConnersHua](https://github.com/ConnersHua/Profiles) duplicate)**
* **[AdRuleTest.list](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/AdRuleTest.list)More than 1300 ad rulesThis rule is modified from [Scomper](https://github.com/scomper/Surge). Because the original author stopped maintenance, so take over the optimization and delete some normal rules, only for testing**)
* **[Rewrite_lhie1.conf](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/Rewrite_lhie1.conf)More than 400 ad rewrite rules, integrate [lhie1](https://github.com/lhie1/Rules)、[onewayticket255](https://github.com/onewayticket255/Surge-Script)、[Choler](https://github.com/Choler/Surge/tree/master/Ruleset), and delete [ConnersHua](https://github.com/ConnersHua/Profiles) duplicateyou need to open MITM and trust the certificate)**
2020-07-21 15:59:16 +08:00
* **[Js.conf](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/Js.conf) (Remote script subscription, only compatible with QX1.0.10 (313) and above)**
2020-01-15 00:15:32 +08:00
* **Note !!! Note !!! Note !!! Unlike the Surge rule, the Quantumult X rule does not include the [ConnersHua](https://github.com/ConnersHua/Profiles) ad rules, you can add it yourself.**
2020-08-23 16:37:47 +08:00
#### Rule remarks :
2020-01-15 00:15:32 +08:00
* **Most of these are Chinese advertising rules. overseas users may not applicable**
* **These rules only include ads. Please choose REJECT for the policy**
* **Self-use only, Update depend on mood, if you have any questions, please submit a Issues or pull request.**
2020-08-23 16:37:47 +08:00
## Disclaimer
```
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
```
**Decrypt :**
* Any unlocking and decryption analysis scripts involved in the "Script project" are for resource sharing and study purposes only.
* Legality, accuracy, completeness, and validity cannot be guaranteed. **Please judge for yourself based on the actual situation.**
* You must completely delete the scripts involving decryption from your computer or phone within **24 hours** of downloading.
**Privacy :**
* 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.**
2020-01-15 00:15:32 +08:00
2019-11-07 23:56:13 +08:00
2020-08-23 16:37:47 +08:00
**Commercial :**
* Do not use any scripts of the "Script project" for commercial or illegal purposes, **otherwise you will be responsible for the consequences.**
2019-11-07 23:56:13 +08:00
2019-11-22 12:03:14 +08:00
2020-08-23 16:37:47 +08:00
**Infringement :**
* 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-22 12:03:14 +08:00
2019-11-07 23:56:13 +08:00
2020-08-23 16:37:47 +08:00
**Liability :**
* NobyDa is not responsible for any scripts problems, **including but not limited to any loss or damage caused by any scripting errors.**
2019-11-07 23:56:13 +08:00
2020-08-23 16:37:47 +08:00
**Change :**
* 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.
* **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
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)