/ScriptforSurge

This project is based on the scripting capabilities of two excellent iOS proxy tools, Quantumult X or Surge.

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

TOC

Please note that the scripts or rewrite rules described below need to open MITM and trust the certificate.

Script desc

Daily bonus scripts

Application Script name Available Maintenance
京东商城 JD_DailyBonus.js ✅(2021.7.4)
百度贴吧 TieBa.js ✅(2021.7.4)
吾爱破解 52pojie.js ✅(2021.7.4)
快看漫画 KKMH.js ✅(2021.7.4)
哔哩哔哩漫画 Manga.js ✅(2021.7.4)
巴哈姆特 BahamutDailyBonus.js ✅(2021.7.25)

Functionality-enhancing scripts

Script name Main Functions Maintenance
PolicySwitch.js Switch QX,Surge,Loon policy groups using ios shortcut.
DataQuery.js Server(VPN) traffic query based on Sub-Store.
Bili_Auto_Regions.js Bilibili anime auto switch region & show douban rating.
ExchangePoints.js Bilibili manga points mall auto snap up.

Other scripts

Application Script name Main Functions Available Maintenance
Bigshot dapian.js Unlock membership ✅(2021.7.3)
VSCO vsco.js Unlock membership ✅(2021.7.3)
JibJab jibjab.js Unlock membership ✅(2021.7.3)
NiChi NiChi.js Unlock material pack ✅(2021.7.3)
美易Picsart PicsArt.js Unlock membership ✅(2021.7.3)
MIX滤镜大师 MIX.js Unlock in-app purchases ✅(2021.7.6)
Polarr 泼辣 Polarr.js Unlock in-app purchases ✅(2021.7.6)
小影VivaVideo vivavideo.js Unlock membership ✅(2021.7.3)
CamScanner CamScanner.js Unlock some benefits ✅(2021.7.3)
酷我音乐 Kuwo.js Unlock vip listen ✅(2021.7.3)
知音漫客 Zymh.js Unlock vip chapters ✅(2021.7.3)
91短视频 91.js Unlock membership ✅(2021.7.3)
香蕉视频 xjsp.js Unlock membership ✅(2021.7.3)
爱美剧 aimeiju.js Unlock membership ✅(2021.7.3)
网易蜗牛读书 wnyd.js Unlock membership ✅(2021.7.3)
陆琪讲故事 luqi.js Unlock radio ✅(2021.7.3)
WPS Office Wps.js Unlock membership ✅(2021.7.3)
百度网盘 BaiduCloud.js Unlock video speed ✅(2021.7.6)
WeChat Wechat.js Remove ads ✅(2021.7.3)
皮皮虾 Super.js Remove ads ✅(2021.7.3)

Surge file desc

Surge ruleset

File name Number Integrate Desc Maintenance
AdRule.list 8000+ lhie1, ConnersHua Private ad ruleset
AdRuleTest.list 1300+ Scomper Private ad ruleset (test only).
WeChat.list 180+ N/A WeChat ruleset (china)
Apple.list 60+ N/A Apple ruleset (global)
Download.list 15+ N/A Some BT, Thunder, download rules.

Surge module

Module name Desc Maintenance
RewriteRules.sgmodule Private ad rewrite rules, integrate lhie1ConnersHuaonewayticket255 and Choler.
HuiJuDongManAds.sgmodule Please see the desc in module.
IPA_install.sgmodule Use Surge to assist in install IPA (signed version)
TestFlightDownload.sgmodule Please see the desc in module.
GetCookie.sgmodule Please see the desc in module.

QuantumultX file desc

Name Integrate Number Desc Type Maintenance
AdRule.list lhie1 7000+ Private ad rules. Rule
AdRuleTest.list Scomper 1300+ Private ad rules (test only). Rule
Rewrite_lhie1.conf lhie1onewayticket255Choler 400+ Private rewrite rules. Rewrite
Js.conf N/A N/A Remote script subscription. Rewrite
Js_Remote_Cookie.conf N/A N/A Please see the desc in file. Rewrite
TestFlightDownload.conf N/A N/A Please see the desc in file. Rewrite

Rules of type "Rule" include only ad hosts. Please select the REJECT policy.

Difference between QuantumultX versions (Click to view)
  • 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.

  • 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).

  • ...

  • AppStore version QX1.0.10 (313) In this version, script remote subscription has been restored.

QX1.0.3 add device ID, a simple example:

/**
 * @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.


Loon file desc

File name Desc Type Maintenance
Loon_GetCookie.conf Please see the desc in file. Subscription scripts
Loon_GetTask.conf Timed script task subscription. Subscription scripts
Loon_TF_Download.conf Please see the desc in file. Subscription scripts

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

  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.

  3. You must completely delete the scripts involving decryption from your computer or phone within 24 hours of downloading.

Privacy

  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.

Commercial

  1. Do not use any scripts of the "Script project" for commercial or illegal purposes, otherwise you will be responsible for the consequences.

Nfringement

  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.

Liability

  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.

Special thanks to

License

GPLv3