Convert Figma logo to code with AI

NobyDa logoScript

This project is based on the scripting capabilities of several excellent iOS proxy tools (e.g. Surge, Quantumult X)

8,116
3,175
8,116
4

Top Related Projects

5,130

BoxJs

分流规则、重写写规则及脚本。

Quick Overview

NobyDa/Script is a GitHub repository containing various scripts and configurations for ad-blocking, automation, and enhancing user experience on iOS and other platforms. It primarily focuses on providing scripts for Surge, Quantumult (X), Loon, and other similar applications.

Pros

  • Comprehensive collection of scripts for various purposes, including ad-blocking and app enhancements
  • Regular updates and maintenance by the repository owner and contributors
  • Supports multiple popular iOS automation and proxy apps
  • Includes detailed documentation and usage instructions for most scripts

Cons

  • Some scripts may require jailbreaking or using specific apps, limiting accessibility for some users
  • Potential for scripts to break or become outdated as apps and websites update
  • May require technical knowledge to implement and troubleshoot effectively
  • Some scripts might not comply with certain app or website terms of service

Code Examples

// Example of a simple ad-blocking rule for Surge
DOMAIN-SUFFIX,ads.example.com,REJECT
// Example of a rewrite rule for Quantumult X
^https?:\/\/(www.)?(g|google)\.cn url 302 https://www.google.com
// Example of a task script for JD Bean signing
const $ = new Env('京东多合一签到');

Getting Started

To use the scripts in this repository:

  1. Choose the appropriate script for your needs and platform (e.g., Surge, Quantumult X, Loon).
  2. Copy the raw content of the script.
  3. Add the script to your app's configuration or create a new profile.
  4. Enable the script in your app's settings.
  5. For task scripts, set up the required environment and schedule.

Always read the script's documentation and comments for specific usage instructions and requirements.

Competitor Comparisons

5,130

BoxJs

Pros of scripts

  • More extensive collection of scripts for various platforms and services
  • Better organization with categorized folders for different script types
  • More frequent updates and active community contributions

Cons of scripts

  • Potentially more complex setup due to the larger number of scripts
  • May require more configuration for individual scripts

Code Comparison

scripts:

const $ = new Env('Example')
const notify = $.isNode() ? require('./sendNotify') : '';
!(async () => {
  // Main logic here
})().catch((e) => $.logErr(e)).finally(() => $.done())

Script:

var obj = JSON.parse($response.body);
obj.data.vipType = 1;
obj.data.vipEndTime = 1650745191000;
$done({body: JSON.stringify(obj)});

Key Differences

  • scripts focuses on task automation and data collection across various platforms
  • Script primarily targets iOS Surge and Quantumult X for ad blocking and app cracking
  • scripts uses a more modular approach with separate files for different functionalities
  • Script often modifies app responses directly for unlocking features

Conclusion

Both repositories offer valuable scripts for different purposes. scripts provides a wider range of automation tools, while Script specializes in iOS tweaks and ad blocking. Choose based on your specific needs and target platform.

分流规则、重写写规则及脚本。

Pros of ios_rule_script

  • More comprehensive rule sets for various platforms and applications
  • Regular updates and maintenance
  • Extensive documentation and user guides

Cons of ios_rule_script

  • Larger repository size, potentially slower to clone and update
  • May require more configuration due to its extensive options

Code Comparison

Script:

// Example from NobyDa/Script
function nobyda_example() {
  console.log("Hello from NobyDa");
}

ios_rule_script:

// Example from ios_rule_script
function blackmatrix7_example() {
  console.log("Hello from blackmatrix7");
  // Additional functionality
}

Key Differences

  1. Scope: ios_rule_script offers a wider range of rules and scripts for various platforms, while Script focuses primarily on iOS and specific applications.

  2. Maintenance: ios_rule_script has more frequent updates and a larger contributor base, potentially leading to faster bug fixes and feature additions.

  3. Ease of Use: Script may be easier to set up and use for beginners due to its more focused approach, while ios_rule_script offers more customization options for advanced users.

  4. Community: ios_rule_script has a larger community and more active discussions, which can be beneficial for troubleshooting and sharing experiences.

  5. Performance: Script may have a slight edge in performance due to its smaller size and more focused codebase, but this difference is likely negligible for most users.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

TOC

Please note that the scripts or rewrite rules described below may require MITM to be enabled, and the generated root certificate needs to be manually installed and trusted in the system.

Script Overview

Daily-Bonus Script

ApplicationScript nameAvailableMaintenance
京东商城JD_DailyBonus.js❌⚠️
百度贴吧TieBa.js✅ (2023/08/17)❌
吾爱破解52pojie.js❌❌
爱奇艺iQIYI.js✅ (2023/08/17)✅
快看漫画KKMH.js✅ (2023/08/17)✅
哔哩哔哩漫画Manga.js✅ (2023/08/17)✅
巴哈姆特BahamutDailyBonus.js✅ (2023/08/17)✅

Functionality-enhancing Script

Script nameDescription
PolicySwitch.jsSwitch QX,Surge,Loon policy groups using ios shortcut.
DataQuery.jsServer(VPN) traffic query based on Sub-Store.
Bili_Auto_Regions.jsBilibili anime auto switch region & show douban rating.
ExchangePoints.jsBilibili Comics points mall auto snap up.
TestFlightAccount.jsMerge and share TestFlight accounts
Google_CAPTCHA.jsGoogle CAPTCHA solution(Surge only)

Other Script

ApplicationScript nameDescriptionAvailable
HTTPBotvsco.jsUnlock membership✅ (2023/08/17)
VSCOvsco.jsUnlock membership✅ (2023/08/17)
1Blockervsco.jsUnlock membership✅ (2023/08/17)
JibJabjibjab.jsUnlock membership✅ (2023/08/17)
美易PicsartPicsArt.jsUnlock membership✅ (2023/08/17)
MIX滤镜大师MIX.jsUnlock in-app purchases✅ (2023/08/17)
Polarr 泼辣Polarr.jsUnlock in-app purchases✅ (2023/08/17)
小影VivaVideovivavideo.jsUnlock membership✅ (2023/08/17)
CamScannerCamScanner.jsUnlock some benefits✅ (2023/08/17)
知音漫客Zymh.jsUnlock vip chapters✅ (2023/08/17)
香蕉视频xjsp.jsUnlock membership✅ (2023/08/17)
网易蜗牛读书wnyd.jsUnlock membership✅ (2023/08/17)
陆琪讲故事luqi.jsUnlock radio✅ (2023/08/17)
百度网盘BaiduCloud.jsUnlock video speed✅ (2023/08/17)
WeChatWechat.jsRemove Ads✅ (2023/08/17)
動畫瘋BahamutAnimeAds.jsRemove Ads✅ (2023/08/17)

Surge File Overview

File nameDescriptionType
HuiJuDongManAds.sgmoduleRemove APP AdsModule
IPA_install.sgmoduleUse Surge to assist in install IPA (signed version)Module
TestFlightDownload.sgmoduleRemove TestFlight region restrictionsModule
TestFlightAccount.sgmoduleMerge and share TestFlight accountsModule
GetCookie.sgmoduleDaily bonus script relatedModule
BahamutAnimeAds.sgmoduleRemove Bahamut anime AdsModule

QuantumultX File Overview

File nameDescriptionType
Js.confRemote script subscription.Rewrite Resources
Js_Remote_Cookie.confDaily bonus script relatedRewrite Resources
TestFlightDownload.confRemove TestFlight region restrictionsRewrite Resources
IPA-Installer.snippetUse QX to assist in install IPA (signed version)Rewrite Resources

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 Overview

File nameDescriptionType
Loon_GetCookie.pluginDaily bonus script relatedPlugin
Loon_TF_Download.pluginRemove TestFlight region restrictionsPlugin
Loon_TF_Account.pluginMerge and share TestFlight accountsPlugin
Loon_Bahamut_ADS.pluginRemove Bahamut anime AdsPlugin
Loon_IPA_Installer.pluginUse Loon to assist in install IPA (signed version)Plugin

Stash File Overview

File nameDescriptionType
IPA-Installer.stoverrideUse Stash to assist in install IPA (signed version)Override

Disclaimer

Please note that in the following disclaimer, the term "Script-project" specifically refers to the open source scripts and rules available at "https://github.com/NobyDa/Script", while the term "NobyDa" specifically refers to the author and owner of these scripts and rules.

Decrypt

  • Any scripts involved in unlocking and decrypting in the Script-project are intended for resource sharing and study purposes only. The legality, accuracy, completeness, and validity of these scripts cannot be guaranteed. Therefore, please use your own judgment based on the actual situation.

  • You are required to delete the decryption scripts from your computer or phone completely within 24 hours of downloading them.

Privacy

  • NobyDa is not responsible for any privacy breaches or other consequences arising from the direct or indirect use of any of the scripts in the Script-project, including but not limited to violating relevant laws and regulations or establishing VPS for spreading purposes.

Commercial

  • Do not use any scripts from the Script-project for commercial or illegal purposes, otherwise, you will be responsible for the consequences that may arise.

Infringement

  • If any company or individual believes that any script in the Script-project may infringe on their rights, they should promptly notify us and provide proof of ownership and identity. We will delete the relevant scripts upon receipt of the necessary documents.

Liability

  • NobyDa is not responsible for any scripts problems, including but not limited to any loss or damage caused by any scripting errors.

Change

  • Anyone who views or uses the scripts in the Script-project, whether directly or indirectly, should carefully read this disclaimer. NobyDa reserves the right to change or supplement this disclaimer at any time.

  • By viewing, using, or copying any of the related scripts in the Script-project, you will be deemed to have accepted this disclaimer.

Acknowledgment

License

GPLv3