mirror of https://github.com/NobyDa/Script.git
Compare commits
5 Commits
f7a1e8c63a
...
89e4dc6524
Author | SHA1 | Date |
---|---|---|
NobyDa | 89e4dc6524 | |
NobyDa | efa8b87995 | |
NobyDa | be5185e08c | |
NobyDa | 592c63af4d | |
NobyDa | 5de8bd5311 |
|
@ -0,0 +1,144 @@
|
|||
/*
|
||||
* IPA-installer JSBox script. This script is not available stand alone, checkout the demo from TG channel @NobyDa
|
||||
*
|
||||
* Modified from https://github.com/axelburks/JSBox/blob/master/IPA%20Installer.js by @NobyDa
|
||||
*/
|
||||
|
||||
var port_number = 8070
|
||||
var plist_url = `itms-services://?action=download-manifest&url=https://nobyda.app/install%3Fclient%3Djsbox%26url%3Dhttp%253A%252F%252F127.0.0.1%253A${port_number}%252Fdownload%253Fpath%253D%25252Fapp.ipa`
|
||||
|
||||
$app.strings = {
|
||||
"en": {
|
||||
"starterror": "Not support running in this way",
|
||||
"ftypeerror": " is not ipa file",
|
||||
"installtitle": "Installing...",
|
||||
"installmsg": "\n\nYou can check on Homescreen.\nPlease tap \"Done\" button after finished",
|
||||
"inerrtitle": "IPA file import error",
|
||||
"inerrmsg": "Please rerun the script"
|
||||
},
|
||||
"zh-Hans": {
|
||||
"starterror": "不支持此方式运行!",
|
||||
"ftypeerror": " 非 ipa 文件!",
|
||||
"installtitle": "正在安装…",
|
||||
"installmsg": "\n\n可前往桌面查看安装进度\n完成后请点击\"Done\"按钮",
|
||||
"inerrtitle": "IPA文件导入失败",
|
||||
"inerrmsg": "请重新运行此脚本"
|
||||
}
|
||||
}
|
||||
|
||||
// 从应用内启动
|
||||
if ($app.env == $env.app) {
|
||||
$drive.open({
|
||||
handler: function(data) {
|
||||
fileCheck(data)
|
||||
}
|
||||
})
|
||||
}
|
||||
// 从 Action Entension 启动
|
||||
else if ($app.env == $env.action) {
|
||||
fileCheck($context.data)
|
||||
}
|
||||
|
||||
else {
|
||||
$ui.error($l10n("starterror"))
|
||||
delayClose(2)
|
||||
}
|
||||
|
||||
|
||||
function startServer(port) {
|
||||
$http.startServer({
|
||||
port: port,
|
||||
path: "",
|
||||
handler: function(result) {
|
||||
console.info(result.url)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
function fileCheck(data) {
|
||||
if (data && data.fileName) {
|
||||
var fileName = data.fileName;
|
||||
if (fileName.indexOf(".ipa") == -1) {
|
||||
$ui.error(fileName + $l10n("ftypeerror"))
|
||||
delayClose(2)
|
||||
} else {
|
||||
install(fileName, data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function install(fileName, file) {
|
||||
var result = $file.write({
|
||||
data: file,
|
||||
path: "app.ipa"
|
||||
})
|
||||
if (result) {
|
||||
startServer(port_number)
|
||||
$location.startUpdates({
|
||||
handler: function(resp) {
|
||||
console.info(resp.lat + " " + resp.lng + " " + resp.alt)
|
||||
}
|
||||
})
|
||||
var preResult = $app.openURL(plist_url);
|
||||
if (preResult) {
|
||||
$ui.alert({
|
||||
title: $l10n("installtitle"),
|
||||
message: "\n" + fileName + $l10n("installmsg"),
|
||||
actions: [{
|
||||
title: "Cancel",
|
||||
style: "Cancel",
|
||||
handler: function() {
|
||||
$http.stopServer()
|
||||
$file.delete("app.ipa")
|
||||
delayClose(0.2)
|
||||
}
|
||||
},
|
||||
{
|
||||
title: "Done",
|
||||
handler: function() {
|
||||
$http.stopServer()
|
||||
$file.delete("app.ipa")
|
||||
delayClose(0.2)
|
||||
}
|
||||
}]
|
||||
})
|
||||
} else {
|
||||
$ui.alert({
|
||||
title: "Open itms-services scheme failed",
|
||||
message: "Please rerun the script or restart device",
|
||||
actions: [
|
||||
{
|
||||
title: "OK",
|
||||
handler: function() {
|
||||
delayClose(0.2)
|
||||
}
|
||||
}]
|
||||
})
|
||||
}
|
||||
} else {
|
||||
$ui.alert({
|
||||
title: $l10n("inerrtitle"),
|
||||
message: $l10n("inerrmsg"),
|
||||
actions: [{
|
||||
title: "OK",
|
||||
style: "Cancel",
|
||||
handler: function() {
|
||||
delayClose(0.2)
|
||||
}
|
||||
}]
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
function delayClose(time) {
|
||||
$location.stopUpdates()
|
||||
$thread.main({
|
||||
delay: time,
|
||||
handler: function() {
|
||||
if ($app.env == $env.action || $app.env == $env.safari) {
|
||||
$context.close()
|
||||
}
|
||||
$app.close()
|
||||
}
|
||||
})
|
||||
}
|
|
@ -0,0 +1,74 @@
|
|||
# IPA-installer pythonista script. This script is not available stand alone, checkout the demo from TG channel @NobyDa
|
||||
#
|
||||
# Modified from https://github.com/axelburks/Pythonista/blob/master/IPA%20Installer.py by @NobyDa
|
||||
|
||||
import os, appex, console, shutil, http.server, webbrowser, time
|
||||
from os import path
|
||||
from threading import Thread
|
||||
|
||||
port_number = 8090
|
||||
plist_url = f'itms-services://?action=download-manifest&url=https://nobyda.app/install%3Fclient%3Dpythonista%26url%3Dhttp%253A%252F%252F127.0.0.1%253A{port_number}%252Fipa%252Fapp.ipa'
|
||||
save_dir = path.expanduser('./ipa')
|
||||
if not path.exists(save_dir):
|
||||
os.makedirs(save_dir)
|
||||
|
||||
httpd = None
|
||||
def startServer(port):
|
||||
Handler = http.server.SimpleHTTPRequestHandler
|
||||
|
||||
global httpd
|
||||
httpd = http.server.HTTPServer(("", port), Handler)
|
||||
|
||||
print("Start server at port", port)
|
||||
httpd.serve_forever()
|
||||
|
||||
def start(port):
|
||||
thread = Thread(target=startServer, args=[port])
|
||||
thread.start()
|
||||
|
||||
startTime = int(time.time())
|
||||
while not httpd:
|
||||
if int(time.time()) > startTime + 60:
|
||||
print("Time out")
|
||||
break
|
||||
return httpd
|
||||
|
||||
def stop():
|
||||
if httpd:
|
||||
httpd.shutdown()
|
||||
|
||||
def main():
|
||||
if appex.is_running_extension():
|
||||
get_path = appex.get_file_path()
|
||||
file_name = path.basename(get_path)
|
||||
file_ext = path.splitext(file_name)[-1]
|
||||
if file_ext == '.ipa':
|
||||
dstpath = path.join(save_dir, 'app.ipa')
|
||||
try:
|
||||
shutil.copy(get_path, dstpath)
|
||||
|
||||
except Exception as eer:
|
||||
print(eer)
|
||||
console.hud_alert('导入失败!','error',1)
|
||||
start(port_number)
|
||||
if httpd:
|
||||
webbrowser.open(plist_url)
|
||||
try:
|
||||
finish = console.alert(file_name, '\n正在安装...请返回桌面查看进度...\n\n安装完成后请返回点击已完成','已完成', hide_cancel_button=False)
|
||||
if finish == 1:
|
||||
stop()
|
||||
shutil.rmtree('./ipa')
|
||||
print("Server stopped")
|
||||
except:
|
||||
stop()
|
||||
shutil.rmtree('./ipa')
|
||||
print("Cancelled")
|
||||
appex.finish()
|
||||
else:
|
||||
console.hud_alert('非 ipa 文件无法导入安装', 'error', 2)
|
||||
appex.finish()
|
||||
else:
|
||||
console.hud_alert('请在分享扩展中打开本脚本','error',2)
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
|
@ -0,0 +1,146 @@
|
|||
/*
|
||||
* iOS IPA应用辅助安装脚本.
|
||||
*
|
||||
* 兼容: QuantumultX、Surge5,Loon、Shadowrocket、Stash
|
||||
* 作者: @NobyDa
|
||||
*
|
||||
* 快捷指令 + Shu配合安装:
|
||||
* 导入IPA文件至Shu -> Shu长按IPA文件 -> 导出文件 -> WiFi传输 -> 本机 -> 系统共享 -> 分享至IPA-Installer快捷指令
|
||||
*
|
||||
* 快捷指令 + JSBox/Pythonista配合安装:
|
||||
* IPA文件长按分享至IPA-Installer快捷指令,完成后再分享至Jsbox/pythonista分享扩展.
|
||||
*
|
||||
*
|
||||
* QuanX重写: https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/IPA-Installer.snippet
|
||||
*
|
||||
* Surge模块: https://raw.githubusercontent.com/NobyDa/Script/master/Surge/Module/IPA_install.sgmodule
|
||||
*
|
||||
* loon插件: https://raw.githubusercontent.com/NobyDa/Script/master/Loon/Loon_IPA_Installer.plugin
|
||||
*
|
||||
* Stash覆写: https://raw.githubusercontent.com/NobyDa/Script/master/Stash/IPA-Installer.stoverride
|
||||
*
|
||||
* 快捷指令: https://www.icloud.com/shortcuts/d8b2b49ae05141f892e6122c9084c67a
|
||||
*
|
||||
* JSBox脚本: https://xteko.com/redir?url=https%3A%2F%2Fraw.githubusercontent.com%2FNobyDa%2FScript%2Fmaster%2FIPA-Installer%2FIPA-Installer-JSBox.js&name=IPA%20Installer%20%28NobyDa%29
|
||||
*
|
||||
* Pythonista脚本: https://github.com/NobyDa/Script/blob/master/IPA-Installer/IPA-Installer-Pythonista.py
|
||||
*/
|
||||
|
||||
const $ = new compatible_tool();
|
||||
|
||||
(async function () {
|
||||
const args = urlArgs($request.url);
|
||||
const plist = `<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>items</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>assets</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>kind</key>
|
||||
<string>software-package</string>
|
||||
<key>url</key>
|
||||
<string>https://nobyda.app/download?url=${encodeURIComponent(args.url)}</string>
|
||||
</dict>
|
||||
</array>
|
||||
<key>metadata</key>
|
||||
<dict>
|
||||
<key>bundle-identifier</key>
|
||||
<string>${args.bundleId || $.read("nobyda_ipa_bundle_id") || "*"}</string>
|
||||
<key>bundle-version</key>
|
||||
<string>1.0</string>
|
||||
<key>kind</key>
|
||||
<string>software</string>
|
||||
<key>title</key>
|
||||
<string>IPA</string>
|
||||
</dict>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>`;
|
||||
if ($request.url.includes("/install?")) {
|
||||
if (args.bundleId) {
|
||||
$.write(args.bundleId, "nobyda_ipa_bundle_id");
|
||||
};
|
||||
$.resp = { response: { status: 200, body: args.client && plist || "{}" } };
|
||||
} else {
|
||||
if ($request.method == "GET") {
|
||||
const size = await ipaSize(args.url);
|
||||
$.notify(`IPA Installer`, ``, size && `Installing IPA, Size: ${size} MB` || `HTTP local server read failed!`);
|
||||
}
|
||||
$.resp = { response: { status: 307, headers: { Location: args.url }, body: "{}" } };
|
||||
}
|
||||
})()
|
||||
.catch((e) => $.notify(`IPA Installer`, ``, `ERROR: ${e.message || e}\nPATH: ${e.stack}`))
|
||||
.finally(() => $.done($.resp))
|
||||
|
||||
|
||||
function ipaSize(url) {
|
||||
return new Promise((r, e) => {
|
||||
$.http({ method: "head", url: url, policy: "DIRECT", }, (e, h, d) => {
|
||||
r(h && h.status == 200 && `${((h.headers["Content-Length"] || 0) / 1000 / 1000).toFixed(2)}`)
|
||||
});
|
||||
setTimeout(() => r(), 1000)
|
||||
});
|
||||
}
|
||||
|
||||
function urlArgs(str) {
|
||||
return Object.fromEntries(
|
||||
(str.startsWith("http") && str.split("?")[1] || str).split("&")
|
||||
.map((item) => item.split("="))
|
||||
.map(([k, v]) => [k, decodeURIComponent(v)])
|
||||
);
|
||||
}
|
||||
|
||||
function compatible_tool() {
|
||||
const isSurge = typeof $httpClient != "undefined";
|
||||
const isQuanX = typeof $task != "undefined";
|
||||
const isStash = typeof $environment == "object" && $environment["stash-version"];
|
||||
const adapterStatus = (response) => {
|
||||
if (response && response.statusCode) {
|
||||
response.status = response.statusCode;
|
||||
}
|
||||
return response
|
||||
};
|
||||
this.read = (key) => {
|
||||
if (isQuanX) return $prefs.valueForKey(key);
|
||||
if (isSurge) return $persistentStore.read(key);
|
||||
};
|
||||
this.write = (value, key) => {
|
||||
if (isQuanX) return $prefs.setValueForKey(value, key);
|
||||
if (isSurge) return $persistentStore.write(value, key);
|
||||
};
|
||||
this.notify = (title, subtitle, message) => {
|
||||
if (isQuanX) $notify(title, subtitle, message);
|
||||
if (isSurge) $notification.post(title, subtitle, message);
|
||||
};
|
||||
this.http = (options, callback) => {
|
||||
if (options.policy) {
|
||||
options.node = options.policy;
|
||||
options.opts = { policy: options.policy };
|
||||
if (isStash) options.headers = {
|
||||
...options.headers,
|
||||
...{ "X-Stash-Selected-Proxy": encodeURIComponent(options.policy) }
|
||||
};
|
||||
}
|
||||
if (isQuanX) {
|
||||
$task.fetch(options).then(response => {
|
||||
callback(null, adapterStatus(response), response.body)
|
||||
}, reason => callback(reason.error, null, null))
|
||||
}
|
||||
if (isSurge) {
|
||||
$httpClient[options.method](options, (error, response, body) => {
|
||||
callback(error, adapterStatus(response), body)
|
||||
})
|
||||
}
|
||||
};
|
||||
this.done = (value = {}) => {
|
||||
if (value.response && isQuanX) {
|
||||
value.response.status = `HTTP/1.1 ${value.response.status}`;
|
||||
}
|
||||
$done((value.response && isQuanX) ? value.response : value)
|
||||
}
|
||||
};
|
|
@ -0,0 +1,12 @@
|
|||
#!name=IPA应用辅助安装器
|
||||
#!desc=该模块可在iOS端辅助安装商店版或已签名IPA(需使用快捷指令 + Shu/Jsbox/pythonista), 查看脚本注释以了解具体方法; 安装演示可查看TG频道 @NobyDa
|
||||
#!author=NobyDa
|
||||
#!homepage=https://github.com/NobyDa/Script/tree/master
|
||||
#!icon=https://cdn.jsdelivr.net/gh/NobyDa/mini@master/Color/Apple.png
|
||||
|
||||
|
||||
[Script]
|
||||
http-request ^https:\/\/nobyda.app/(install|download) requires-body=true, script-path=https://raw.githubusercontent.com/NobyDa/Script/master/IPA-Installer/IPA-Installer.js, timeout=10, tag=IPA-Installer
|
||||
|
||||
[MITM]
|
||||
hostname = nobyda.app
|
|
@ -1,11 +0,0 @@
|
|||
#!name= TestFlight区域限制解除
|
||||
#!desc= ‼️‼️‼️‼️‼️ 该URL已弃用,将在一段时间后删除;请把URL后缀 .conf 更换为 .plugin
|
||||
|
||||
[General]
|
||||
skip-proxy = iosapps.itunes.apple.com
|
||||
|
||||
[Script]
|
||||
http-request ^https?:\/\/testflight\.apple\.com\/v\d\/accounts\/.+?\/install$ requires-body=1,max-size=0,script-path=https://gist.githubusercontent.com/NobyDa/9be418b93afc5e9c8a8f4d28ae403cf2/raw/TF_Download.js, tag=TF区域限制解除
|
||||
|
||||
[MITM]
|
||||
hostname = testflight.apple.com
|
|
@ -1,77 +0,0 @@
|
|||
/*
|
||||
爱美剧 解锁部分功能
|
||||
官网: https://www.mjapp.cc
|
||||
脚本原作者: 灰灰
|
||||
|
||||
可自行添加启动广告/弹窗规则, REGEX:
|
||||
^https?://api.bjxkhc.com/index.php/app/ios/ads/index
|
||||
^https?://api.bjxkhc.com/index.php/app/ios/ver/index_ios$
|
||||
^https?://api.bjxkhc.com/index.php/app/ios/pay/ok$
|
||||
|
||||
***************************
|
||||
QuantumultX:
|
||||
|
||||
[rewrite_local]
|
||||
^https?:\/\/api.bjxkhc.com\/index\.php\/app\/ios\/(vod\/show|(user|vod|topic|type)\/index) url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/aimeiju.js
|
||||
|
||||
[mitm]
|
||||
hostname = api.bjxkhc.com
|
||||
|
||||
***************************
|
||||
Surge4 or Loon:
|
||||
|
||||
[Script]
|
||||
http-response ^https?:\/\/api.bjxkhc.com\/index\.php\/app\/ios\/(vod\/show|(user|vod|topic|type)\/index) requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/aimeiju.js
|
||||
|
||||
[MITM]
|
||||
hostname = api.bjxkhc.com
|
||||
|
||||
**************************/
|
||||
|
||||
var url = $request.url;
|
||||
var obj = JSON.parse($response.body || '{}');
|
||||
const user = "/index.php/app/ios/user/index"; //用户信息
|
||||
const show = "/index.php/app/ios/vod/show"; //视频播放页面
|
||||
const banner = "/index.php/app/ios/vod/index";//首页轮播广告
|
||||
const topic = "/index.php/app/ios/topic/index";//豆瓣热榜中间广告
|
||||
const type = "/index.php/app/ios/type/index"//综合专区,美剧专区中间广告
|
||||
|
||||
if (obj.data && obj.data.user && url.indexOf(user) != -1) {
|
||||
obj.data.user.viptime = "2088-08-08 08:08:08";
|
||||
obj.data.user.cion = "88888";
|
||||
obj.data.user.vip = "1";
|
||||
}
|
||||
|
||||
if (obj.data && url.indexOf(show) != -1) {
|
||||
obj.data.looktime = -1;
|
||||
obj.data.vip = "4";
|
||||
delete obj.data.advertising;//视频下方轮播,删掉也不能清除广告占位
|
||||
obj.data.CT_App_Show_Pic1 = "";//联系客服图片
|
||||
obj.data.CT_App_Show_Url1 = "";//联系客服链接
|
||||
obj.data.CT_App_Show_Vod1 = "https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=1519044039,3175177225&fm=26&gp=0.jpg";//片头广告,留空的话不会自动播放
|
||||
obj.data.CT_App_Show_Vod_Time1 = "0";//片头广告显示时间(0秒也短暂显示)
|
||||
obj.data.CT_App_Show_Vod_Url1 = "";//片头广告链接
|
||||
obj.data.CT_App_Show_Vod_Type1 = "2";//片头广告显示类型,0一直显示,1暂停播放显示,2显示后自动播放
|
||||
obj.data.CT_App_Show_Vod_must_Time1 = "0";//片头联系客服图片显示时间,前面改VIP这里自动变0
|
||||
obj.data.CT_Pic_url1_pause = "";//暂停联系客服图片
|
||||
obj.data.CT_Pic_url1_pause_skip = "";//暂停联系客服链接
|
||||
}
|
||||
|
||||
if (obj.data && url.indexOf(banner) != -1) {
|
||||
for (var i = obj.data.length - 1; i >= 0; i--) {
|
||||
if (obj.data[i].ad == 1) {
|
||||
obj.data.splice(i, 1)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (obj.data && (url.indexOf(topic) != -1 || url.indexOf(type) != -1)) {
|
||||
for (var i = obj.data.length - 1; i >= 0; i--) {
|
||||
if (obj.data[i].ad == 1) {
|
||||
obj.data[i].ad = 0;
|
||||
obj.data[i].pic = "";
|
||||
delete obj.data[i].url
|
||||
}
|
||||
}
|
||||
}
|
||||
$done({ body: JSON.stringify(obj) });
|
|
@ -1,32 +0,0 @@
|
|||
/*
|
||||
Bigshot 解锁高级特权(需登录)
|
||||
|
||||
***************************
|
||||
QuantumultX:
|
||||
|
||||
[rewrite_local]
|
||||
^https:\/\/vni\.kwaiying\.com\/api\/v1\/user\/profile url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/dapian.js
|
||||
|
||||
[mitm]
|
||||
hostname = vni.kwaiying.com
|
||||
|
||||
***************************
|
||||
Surge4 or Loon:
|
||||
|
||||
[Script]
|
||||
http-response ^https:\/\/vni\.kwaiying\.com\/api\/v1\/user\/profile requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/dapian.js
|
||||
|
||||
[MITM]
|
||||
hostname = vni.kwaiying.com
|
||||
**************************/
|
||||
|
||||
var obj = JSON.parse($response.body);
|
||||
|
||||
if (obj.data && obj.data.userInfo) {
|
||||
obj.data.userInfo.isVip = 1;
|
||||
obj.data.userInfo.memberId = 666
|
||||
obj.data.userInfo.vipStartTime = 1591430766000;
|
||||
obj.data.userInfo.vipEndTime = 3043037166000;
|
||||
}
|
||||
|
||||
$done({ body: JSON.stringify(obj) });
|
|
@ -0,0 +1,6 @@
|
|||
# 该文件为 "IPA应用辅助安装脚本" QuantumultX远端重写资源.
|
||||
# 该资源可在iOS端辅助安装商店版或已签名IPA(需使用快捷指令 + Shu/Jsbox/pythonista), 查看脚本注释以了解具体方法; 安装演示可查看TG频道 @NobyDa
|
||||
|
||||
^https:\/\/nobyda.app/(install|download) url script-analyze-echo-response https://raw.githubusercontent.com/NobyDa/Script/master/IPA-Installer/IPA-Installer.js
|
||||
|
||||
hostname = nobyda.app
|
|
@ -1,11 +1,8 @@
|
|||
hostname = api.weibo.cn, mapi.weibo.com, *.uve.weibo.com, mp.weixin.qq.com, api.zhihu.com, vip1.kuwo.cn, p.du.163.com, apigate.zymk.cn, www.luqijianggushi.com, *account.wps.com, *account.wps.cn, origin-prod-phoenix.jibjab.com, xy-viva.kakalili.com, ap*.intsig.net, ios.fuliapps.com, apple.fuliapps.com, *.pipiapps.com, ios.xiangjiaoapps.com, apple.xiangjiaoapps.com, *.xiangxiangapps.com, api.m.jd.com, ios*.prod.ftl.netflix.com, api.revenuecat.com, pan.baidu.com, bmall.camera360.com, api-chn.rthdo.com
|
||||
hostname = api.weibo.cn, mapi.weibo.com, *.uve.weibo.com, mp.weixin.qq.com, api.zhihu.com, p.du.163.com, apigate.zymk.cn, www.luqijianggushi.com, origin-prod-phoenix.jibjab.com, xy-viva.kakalili.com, ap*.intsig.net, ios.fuliapps.com, apple.fuliapps.com, *.pipiapps.com, ios.xiangjiaoapps.com, apple.xiangjiaoapps.com, *.xiangxiangapps.com, api.m.jd.com, ios*.prod.ftl.netflix.com, api.revenuecat.com, pan.baidu.com, bmall.camera360.com, api-chn.rthdo.com
|
||||
|
||||
# 去微信公众号广告 (By Choler)
|
||||
^https?:\/\/mp\.weixin\.qq\.com\/mp\/getappmsgad url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/Wechat.js
|
||||
|
||||
# 酷我音乐SVIP (By yxiaocai)
|
||||
^https?:\/\/vip1\.kuwo\.cn\/(vip\/v2\/user\/vip|vip\/spi/mservice) url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/Kuwo.js
|
||||
|
||||
# 网易蜗牛读书VIP (By yxiaocai and JO2EY)
|
||||
^https?://p\.du\.163\.com/readtime/info.json url reject
|
||||
^https?:\/\/p\.du\.163\.com\/gain\/readtime\/info\.json url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/wnyd.js
|
||||
|
@ -23,9 +20,6 @@ hostname = api.weibo.cn, mapi.weibo.com, *.uve.weibo.com, mp.weixin.qq.com, api.
|
|||
# 陆琪讲故事
|
||||
^https:\/\/www\.luqijianggushi\.com\/api\/v2\/user\/get url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/luqi.js
|
||||
|
||||
# WPS (By eHpo)
|
||||
^https?:\/\/[a-z-]*account\.wps\.c(n|om)(:\d+|)\/api\/users url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/Wps.js
|
||||
|
||||
# JibJab解锁pro
|
||||
^https:\/\/origin-prod-phoenix\.jibjab\.com\/v1\/user url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/jibjab.js
|
||||
|
||||
|
@ -52,10 +46,6 @@ hostname = api.weibo.cn, mapi.weibo.com, *.uve.weibo.com, mp.weixin.qq.com, api.
|
|||
# 知乎去广告 (onewayticket255)
|
||||
https://api.zhihu.com/(ad|drama|fringe|commercial|market/popover|search/(top|preset|tab)|.*featured-comment-ad) url reject-200
|
||||
|
||||
# 哔哩哔哩动画去广告 (onewayticket255)
|
||||
https://app.bilibili.com/x/v2/(splash|search/square) url reject-200
|
||||
https://api.bilibili.com/x/v2/dm/ad url reject-200
|
||||
|
||||
# 京东比价
|
||||
^https?://api\.m\.jd\.com/client\.action\?functionId=(wareBusiness|serverConfig|basicConfig) url script-response-body https://service.2ti.st/QuanX/Script/jd_tb_price/main.js
|
||||
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
# Unlock browser restrictions for new bing AI search.
|
||||
|
||||
^https:\/\/www\.bing\.com\/(search|new) url request-header (\r\nUser-Agent:.+?)\w+\/[\d\.]+(\r\n) request-header $1AppleWebKit/537.36 Chrome/110.0 Safari/537.36 Edg/110.0$2
|
||||
|
||||
hostname = www.bing.com
|
118
README.md
118
README.md
|
@ -26,53 +26,51 @@
|
|||
|
||||
### Daily-Bonus Script
|
||||
|
||||
| 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) | ❌ | ⚠️ |
|
||||
| [百度贴吧](https://apps.apple.com/app/id477927812) | [TieBa.js](https://github.com/NobyDa/Script/blob/master/BDTieBa-DailyBonus/TieBa.js) | ✅(2023/03/14) | ❌ |
|
||||
| [吾爱破解](https://www.52pojie.cn/) | [52pojie.js](https://github.com/NobyDa/Script/blob/master/52pojie-DailyBonus/52pojie.js) | ❌ | ❌ |
|
||||
| [爱奇艺](https://apps.apple.com/cn/app/id393765873) | [iQIYI.js](https://github.com/NobyDa/Script/blob/master/iQIYI-DailyBonus/iQIYI.js) | ✅(2023/03/14) | ✅ |
|
||||
| [快看漫画](https://apps.apple.com/app/id906936224) | [KKMH.js](https://github.com/NobyDa/Script/blob/master/KuaiKan-DailyBonus/KKMH.js) | ✅(2023/03/14) | ✅ |
|
||||
| [哔哩哔哩漫画](https://apps.apple.com/app/id1426252715) | [Manga.js](https://github.com/NobyDa/Script/blob/master/Bilibili-DailyBonus/Manga.js) | ✅(2023/03/14) | ✅ |
|
||||
| [巴哈姆特](https://www.gamer.com.tw/) | [BahamutDailyBonus.js](https://github.com/NobyDa/Script/blob/master/Bahamut/BahamutDailyBonus.js) | ✅(2023/03/14) | ✅ |
|
||||
| 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) | ❌ | ⚠️ |
|
||||
| [百度贴吧](https://apps.apple.com/app/id477927812) | [TieBa.js](https://github.com/NobyDa/Script/blob/master/BDTieBa-DailyBonus/TieBa.js) | ✅(2023/03/14) | ❌ |
|
||||
| [吾爱破解](https://www.52pojie.cn/) | [52pojie.js](https://github.com/NobyDa/Script/blob/master/52pojie-DailyBonus/52pojie.js) | ❌ | ❌ |
|
||||
| [爱奇艺](https://apps.apple.com/cn/app/id393765873) | [iQIYI.js](https://github.com/NobyDa/Script/blob/master/iQIYI-DailyBonus/iQIYI.js) | ✅(2023/03/14) | ✅ |
|
||||
| [快看漫画](https://apps.apple.com/app/id906936224) | [KKMH.js](https://github.com/NobyDa/Script/blob/master/KuaiKan-DailyBonus/KKMH.js) | ✅(2023/03/14) | ✅ |
|
||||
| [哔哩哔哩漫画](https://apps.apple.com/app/id1426252715) | [Manga.js](https://github.com/NobyDa/Script/blob/master/Bilibili-DailyBonus/Manga.js) | ✅(2023/03/14) | ✅ |
|
||||
| [巴哈姆特](https://www.gamer.com.tw/) | [BahamutDailyBonus.js](https://github.com/NobyDa/Script/blob/master/Bahamut/BahamutDailyBonus.js) | ✅(2023/03/14) | ✅ |
|
||||
|
||||
------
|
||||
|
||||
### Functionality-enhancing Script
|
||||
|
||||
| Script name | Description |
|
||||
| :----------------------------------------------------------: | :----------------------------------------------------------: |
|
||||
| [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). |
|
||||
| [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. |
|
||||
| [ExchangePoints.js](https://github.com/NobyDa/Script/blob/master/Bilibili-DailyBonus/ExchangePoints.js) | [Bilibili Comics](https://apps.apple.com/app/id1426252715) points mall auto snap up. |
|
||||
| [TestFlightAccount.js](https://github.com/NobyDa/Script/blob/master/TestFlight/TestFlightAccount.js) | Merge and share [TestFlight](https://apps.apple.com/app/id899247664) accounts |
|
||||
| [Google_CAPTCHA.js](https://github.com/NobyDa/Script/blob/master/Surge/JS/Google_CAPTCHA.js) | Google CAPTCHA solution(Surge only) |
|
||||
| Script name | Description |
|
||||
|:-------------------------------------------------------------------------------------------------------:|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
|
||||
| [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). |
|
||||
| [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. |
|
||||
| [ExchangePoints.js](https://github.com/NobyDa/Script/blob/master/Bilibili-DailyBonus/ExchangePoints.js) | [Bilibili Comics](https://apps.apple.com/app/id1426252715) points mall auto snap up. |
|
||||
| [TestFlightAccount.js](https://github.com/NobyDa/Script/blob/master/TestFlight/TestFlightAccount.js) | Merge and share [TestFlight](https://apps.apple.com/app/id899247664) accounts |
|
||||
| [Google_CAPTCHA.js](https://github.com/NobyDa/Script/blob/master/Surge/JS/Google_CAPTCHA.js) | Google CAPTCHA solution(Surge only) |
|
||||
|
||||
---
|
||||
|
||||
### Other Script
|
||||
|
||||
| Application | Script name | Description | Available |
|
||||
| :----------------------------------------------------------: | :----------------------------------------------------------: | :---------------------: | :---------------------: |
|
||||
| [VSCO](https://apps.apple.com/app/id588013838) | [vsco.js](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/vsco.js) | Unlock membership | ✅ (2023/03/14) |
|
||||
| [1Blocker](https://apps.apple.com/app/id1365531024) | [vsco.js](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/vsco.js) | Unlock membership | ✅ (2023/03/14) |
|
||||
| [JibJab](https://apps.apple.com/app/id875561136) | [jibjab.js](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/jibjab.js) | Unlock membership | ✅ (2023/03/14) |
|
||||
| [美易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 | ❌ |
|
||||
| [MIX滤镜大师](https://apps.apple.com/app/id913947918) | [MIX.js](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/MIX.js) | Unlock in-app purchases | ✅ (2023/03/14) |
|
||||
| [Polarr 泼辣](https://apps.apple.com/app/id988173374) | [Polarr.js](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/Polarr.js) | Unlock in-app purchases | ❌ |
|
||||
| [小影VivaVideo](https://apps.apple.com/app/id738897668) | [vivavideo.js](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/vivavideo.js) | Unlock membership | ⚠️ (Not tested recently) |
|
||||
| [CamScanner](https://apps.apple.com/app/id388627783) | [CamScanner.js](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/CamScanner.js) | Unlock some benefits | ⚠️ (Not tested recently) |
|
||||
| [酷我音乐](https://apps.apple.com/cn/app/id588673713) | [Kuwo.js](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/Kuwo.js) | Unlock vip listen | ⚠️ (Not tested recently) |
|
||||
| [知音漫客](https://apps.apple.com/app/id1012491820) | [Zymh.js](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/Zymh.js) | Unlock vip chapters | ⚠️ (Not tested recently) |
|
||||
| [香蕉视频](https://www.aa2.app) | [xjsp.js](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/xjsp.js) | Unlock membership | ⚠️ (Not tested recently) |
|
||||
| [网易蜗牛读书](https://apps.apple.com/app/id1127249355) | [wnyd.js](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/wnyd.js) | Unlock membership | ✅ (2023/03/14) |
|
||||
| [陆琪讲故事](https://apps.apple.com/app/id1435575842) | [luqi.js](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/luqi.js) | Unlock radio | ✅ (2023/03/14) |
|
||||
| [WPS Office](https://apps.apple.com/app/id1491101673) | [Wps.js](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/Wps.js) | Unlock membership | ⚠️ (Not tested recently) |
|
||||
| [百度网盘](https://apps.apple.com/app/id547166701) | [BaiduCloud.js](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/BaiduCloud.js) | Unlock video speed | ✅ (2023/03/14) |
|
||||
| [WeChat](https://apps.apple.com/app/id414478124) | [Wechat.js](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/Wechat.js) | Remove Ads | ✅ (2023/03/14) |
|
||||
| [皮皮虾](https://apps.apple.com/cn/app/id1393912676) | [Super.js](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/Super.js) | Remove Ads | ❌ |
|
||||
| [動畫瘋](https://apps.apple.com/tw/app/id1102650114) | [BahamutAnimeAds.js](https://raw.githubusercontent.com/NobyDa/Script/master/Bahamut/BahamutAnimeAds.js) | Remove Ads | ✅ (2023/03/14) |
|
||||
| Application | Script name | Description | Available |
|
||||
|:---------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------:|:-----------------------:|:------------------------:|
|
||||
| [VSCO](https://apps.apple.com/app/id588013838) | [vsco.js](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/vsco.js) | Unlock membership | ✅ (2023/03/14) |
|
||||
| [1Blocker](https://apps.apple.com/app/id1365531024) | [vsco.js](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/vsco.js) | Unlock membership | ✅ (2023/03/14) |
|
||||
| [JibJab](https://apps.apple.com/app/id875561136) | [jibjab.js](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/jibjab.js) | Unlock membership | ✅ (2023/03/14) |
|
||||
| [美易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 | ❌ |
|
||||
| [MIX滤镜大师](https://apps.apple.com/app/id913947918) | [MIX.js](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/MIX.js) | Unlock in-app purchases | ✅ (2023/03/14) |
|
||||
| [Polarr 泼辣](https://apps.apple.com/app/id988173374) | [Polarr.js](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/Polarr.js) | Unlock in-app purchases | ❌ |
|
||||
| [小影VivaVideo](https://apps.apple.com/app/id738897668) | [vivavideo.js](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/vivavideo.js) | Unlock membership | ⚠️ (Not tested recently) |
|
||||
| [CamScanner](https://apps.apple.com/app/id388627783) | [CamScanner.js](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/CamScanner.js) | Unlock some benefits | ⚠️ (Not tested recently) |
|
||||
| [知音漫客](https://apps.apple.com/app/id1012491820) | [Zymh.js](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/Zymh.js) | Unlock vip chapters | ⚠️ (Not tested recently) |
|
||||
| [香蕉视频](https://www.aa2.app) | [xjsp.js](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/xjsp.js) | Unlock membership | ⚠️ (Not tested recently) |
|
||||
| [网易蜗牛读书](https://apps.apple.com/app/id1127249355) | [wnyd.js](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/wnyd.js) | Unlock membership | ✅ (2023/03/14) |
|
||||
| [陆琪讲故事](https://apps.apple.com/app/id1435575842) | [luqi.js](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/luqi.js) | Unlock radio | ✅ (2023/03/14) |
|
||||
| [百度网盘](https://apps.apple.com/app/id547166701) | [BaiduCloud.js](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/BaiduCloud.js) | Unlock video speed | ✅ (2023/03/14) |
|
||||
| [WeChat](https://apps.apple.com/app/id414478124) | [Wechat.js](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/Wechat.js) | Remove Ads | ✅ (2023/03/14) |
|
||||
| [皮皮虾](https://apps.apple.com/cn/app/id1393912676) | [Super.js](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/Super.js) | Remove Ads | ❌ |
|
||||
| [動畫瘋](https://apps.apple.com/tw/app/id1102650114) | [BahamutAnimeAds.js](https://raw.githubusercontent.com/NobyDa/Script/master/Bahamut/BahamutAnimeAds.js) | Remove Ads | ✅ (2023/03/14) |
|
||||
|
||||
---
|
||||
|
||||
|
@ -88,26 +86,25 @@
|
|||
|
||||
### Surge Module
|
||||
|
||||
| Module name | Description |
|
||||
| :----------------------------------------------------------: | :----------------------------------------------------------: |
|
||||
| [HuiJuDongManAds.sgmodule](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/Module/HuiJuDongManAds.sgmodule) | Remove [APP](https://apps.apple.com/app/id1451949669) Ads |
|
||||
| [IPA_install.sgmodule](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/Module/IPA_install.sgmodule) | Use Surge to assist in install IPA (signed version) |
|
||||
| Module name | Description |
|
||||
|:------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------:|
|
||||
| [HuiJuDongManAds.sgmodule](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/Module/HuiJuDongManAds.sgmodule) | Remove [APP](https://apps.apple.com/app/id1451949669) Ads |
|
||||
| [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) | Remove [TestFlight](https://apps.apple.com/app/id899247664) region restrictions |
|
||||
| [TestFlightAccount.sgmodule](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/Module/TestFlightAccount.sgmodule) | Merge and share [TestFlight](https://apps.apple.com/app/id899247664) accounts |
|
||||
| [GetCookie.sgmodule](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/Module/GetCookie.sgmodule) | Daily bonus script related |
|
||||
| [BahamutAnimeAds.sgmodule](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/Module/BahamutAnimeAds.sgmodule) | Remove [Bahamut anime](https://apps.apple.com/tw/app/id1102650114) Ads |
|
||||
| [NewBing.sgmodule](https://github.com/NobyDa/Script/blob/master/Surge/Module/NewBing.sgmodule) | Unlock browser restrictions for new bing AI search. |
|
||||
| [TestFlightAccount.sgmodule](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/Module/TestFlightAccount.sgmodule) | Merge and share [TestFlight](https://apps.apple.com/app/id899247664) accounts |
|
||||
| [GetCookie.sgmodule](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/Module/GetCookie.sgmodule) | Daily bonus script related |
|
||||
| [BahamutAnimeAds.sgmodule](https://raw.githubusercontent.com/NobyDa/Script/master/Surge/Module/BahamutAnimeAds.sgmodule) | Remove [Bahamut anime](https://apps.apple.com/tw/app/id1102650114) Ads |
|
||||
|
||||
---
|
||||
|
||||
## QuantumultX File Overview
|
||||
|
||||
| File name | Description | Type |
|
||||
| :----------------------------------------------------------: | :----------------------------------------------------------: | :---------------: |
|
||||
| [Js.conf](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/Js.conf) | Remote script subscription. | Rewrite Resources |
|
||||
| [Js_Remote_Cookie.conf](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/Js_Remote_Cookie.conf) | Daily bonus script related | Rewrite Resources |
|
||||
| File name | Description | Type |
|
||||
|:---------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------:|:-----------------:|
|
||||
| [Js.conf](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/Js.conf) | Remote script subscription. | Rewrite Resources |
|
||||
| [Js_Remote_Cookie.conf](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/Js_Remote_Cookie.conf) | Daily bonus script related | Rewrite Resources |
|
||||
| [TestFlightDownload.conf](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/TestFlightDownload.conf) | Remove [TestFlight](https://apps.apple.com/app/id899247664) region restrictions | Rewrite Resources |
|
||||
| [NewBing.snippet](https://github.com/NobyDa/Script/blob/master/QuantumultX/Sinppet/NewBing.snippet) | Unlock browser restrictions for new bing AI search. | Rewrite Resources |
|
||||
| [IPA-Installer.snippet](https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/IPA-Installer.snippe) | Use QX to assist in install IPA (signed version) | Rewrite Resources |
|
||||
|
||||
Rules of type "Rule" include only ad hosts. Please select the REJECT policy.
|
||||
|
||||
|
@ -153,12 +150,21 @@ The above random generated device ID can be found at the bottom of Quantumult X
|
|||
|
||||
## Loon File Overview
|
||||
|
||||
| File name | Description | Type |
|
||||
|:--------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------:|:------:|
|
||||
| [Loon_GetCookie.plugin](https://raw.githubusercontent.com/NobyDa/Script/master/Loon/Loon_GetCookie.plugin) | Daily bonus script related | Plugin |
|
||||
| [Loon_TF_Download.plugin](https://raw.githubusercontent.com/NobyDa/Script/master/Loon/Loon_TF_Download.plugin) | Remove [TestFlight](https://apps.apple.com/app/id899247664) region restrictions | Plugin |
|
||||
| [Loon_TF_Account.plugin](https://raw.githubusercontent.com/NobyDa/Script/master/Loon/Loon_TF_Account.plugin) | Merge and share [TestFlight](https://apps.apple.com/app/id899247664) accounts | Plugin |
|
||||
| [Loon_Bahamut_ADS.plugin](https://raw.githubusercontent.com/NobyDa/Script/master/Loon/Loon_Bahamut_ADS.plugin) | Remove [Bahamut anime](https://apps.apple.com/tw/app/id1102650114) Ads | Plugin |
|
||||
| File name | Description | Type |
|
||||
|:-------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------:|:------:|
|
||||
| [Loon_GetCookie.plugin](https://raw.githubusercontent.com/NobyDa/Script/master/Loon/Loon_GetCookie.plugin) | Daily bonus script related | Plugin |
|
||||
| [Loon_TF_Download.plugin](https://raw.githubusercontent.com/NobyDa/Script/master/Loon/Loon_TF_Download.plugin) | Remove [TestFlight](https://apps.apple.com/app/id899247664) region restrictions | Plugin |
|
||||
| [Loon_TF_Account.plugin](https://raw.githubusercontent.com/NobyDa/Script/master/Loon/Loon_TF_Account.plugin) | Merge and share [TestFlight](https://apps.apple.com/app/id899247664) accounts | Plugin |
|
||||
| [Loon_Bahamut_ADS.plugin](https://raw.githubusercontent.com/NobyDa/Script/master/Loon/Loon_Bahamut_ADS.plugin) | Remove [Bahamut anime](https://apps.apple.com/tw/app/id1102650114) Ads | Plugin |
|
||||
| [Loon_IPA_Installer.plugin]((https://raw.githubusercontent.com/NobyDa/Script/master/Loon/Loon_IPA_Installer.plugin) | Use Loon to assist in install IPA (signed version) | Plugin |
|
||||
|
||||
---
|
||||
|
||||
## Stash File Overview
|
||||
|
||||
| File name | Description | Type |
|
||||
|:-----------------------------------------------------------------------------------------------------------------:|:---------------------------------------------------:|:--------:|
|
||||
| [IPA-Installer.stoverride](https://raw.githubusercontent.com/NobyDa/Script/master/Stash/IPA-Installer.stoverride) | Use Stash to assist in install IPA (signed version) | Override |
|
||||
|
||||
---
|
||||
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
name: IPA应用辅助安装器
|
||||
desc: 该模块可在iOS端辅助安装商店版或已签名IPA(需使用快捷指令 + Shu/Jsbox/pythonista), 查看脚本注释以了解具体方法; 安装演示可查看TG频道 @NobyDa
|
||||
|
||||
http:
|
||||
mitm:
|
||||
- nobyda.app
|
||||
script:
|
||||
- match: ^https:\/\/nobyda.app/(install|download)
|
||||
name: IPA-Installer
|
||||
type: request
|
||||
require-body: true
|
||||
timeout: 10
|
||||
script-providers:
|
||||
IPA-Installer:
|
||||
url: https://raw.githubusercontent.com/NobyDa/Script/master/IPA-Installer/IPA-Installer.js
|
||||
interval: 86400
|
|
@ -1,81 +0,0 @@
|
|||
/*
|
||||
* iOS14 IPA辅助安装脚本.
|
||||
*
|
||||
* 该脚本仅兼容Surge4.0+, 可解决iOS14或IPadOS14无法在移动端安装IPA的问题.
|
||||
* 注: 该脚本需要使用"Shu+捷径"或"Jsbox"辅助安装. 具体安装演示请移步TG频道 @NobyDa 查看.
|
||||
*
|
||||
* 作者: @NobyDa
|
||||
*
|
||||
* Surge模块地址: https://raw.githubusercontent.com/NobyDa/Script/master/Surge/Module/IPA_install.sgmodule
|
||||
*
|
||||
* Jsbox辅助安装脚本: https://gist.githubusercontent.com/NobyDa/2489e84ca833a9ae559c2cf534b9cdc8/raw/IPA_Jsbox.js
|
||||
*
|
||||
* 捷径地址: https://www.icloud.com/shortcuts/53a7dad769c6453ca2ee54fa2a021ea2
|
||||
*
|
||||
*/
|
||||
|
||||
const eva = $request;
|
||||
const ipaUrl = eva.url.match(/\/jsbox/) ? "http://localhost:8080/download?path=%2Fapp.ipa" : "http://localhost/";
|
||||
if (eva.url.match(/install/)) {
|
||||
$httpClient.head(ipaUrl, (err, resp, data) => {
|
||||
if (resp && resp.headers && JSON.stringify(resp.headers).match(/UTF-8''.+?\.ipa/) && resp.status == 200) {
|
||||
const plist = `<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>items</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>assets</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>kind</key>
|
||||
<string>software-package</string>
|
||||
<key>url</key>
|
||||
<string>https://nobyda/download${eva.url.match(/jsbox/)?"/jsbox":""}</string>
|
||||
</dict>
|
||||
</array>
|
||||
<key>metadata</key>
|
||||
<dict>
|
||||
<key>bundle-identifier</key>
|
||||
<string>*</string>
|
||||
<key>bundle-version</key>
|
||||
<string>1.0</string>
|
||||
<key>kind</key>
|
||||
<string>software</string>
|
||||
<key>title</key>
|
||||
<string>${decodeURIComponent(JSON.stringify(resp.headers).match(/UTF-8''(.+?)\.ipa/)[1])}</string>
|
||||
</dict>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>`;
|
||||
$done({
|
||||
response: {
|
||||
status: 200,
|
||||
body: plist
|
||||
}
|
||||
});
|
||||
} else {
|
||||
$notification.post('APP安装失败', '', '无法读取IPA安装包');
|
||||
$done()
|
||||
}
|
||||
})
|
||||
} else if (eva.method == "GET") {
|
||||
$httpClient.head(ipaUrl, (err, resp, data) => {
|
||||
if (resp && resp.headers && resp.status == 200) {
|
||||
const name = `正在安装: ${JSON.stringify(resp.headers).match(/UTF-8''(.+?)\.ipa/)[1]} ...`
|
||||
const size = `应用大小: ${(resp.headers['Content-Length'] / 1000 / 1000).toFixed(2)} MB`
|
||||
$notification.post(decodeURIComponent(name), size, '');
|
||||
} else {
|
||||
$notification.post('APP安装失败', '', `无法下载IPA安装包`);
|
||||
}
|
||||
$done({
|
||||
url: ipaUrl
|
||||
});
|
||||
})
|
||||
} else {
|
||||
$done({
|
||||
url: ipaUrl
|
||||
});
|
||||
}
|
|
@ -1,8 +1,9 @@
|
|||
#!name=iOS14 IPA应用安装
|
||||
#!desc=该模块可解决iOS14或IPadOS14无法在移动端安装IPA的问题. 注: 需要使用Shu+捷径或Jsbox辅助安装.
|
||||
#!name=IPA应用辅助安装器
|
||||
#!desc=该模块可在iOS端辅助安装商店版或已签名IPA(需使用快捷指令 + Shu/Jsbox/pythonista), 查看脚本注释以了解具体方法; 安装演示可查看TG频道 @NobyDa
|
||||
|
||||
|
||||
[Script]
|
||||
IPA应用安装 = type=http-request,pattern=^https:\/\/nobyda/(install|download)(\/jsbox)?$,requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/IPA_install.js
|
||||
IPA Installer = type=http-request,pattern=^https:\/\/nobyda.app/(install|download),requires-body=1,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/IPA-Installer/IPA-Installer.js
|
||||
|
||||
[MITM]
|
||||
hostname = %APPEND% nobyda
|
||||
hostname = %APPEND% nobyda.app
|
|
@ -1,8 +0,0 @@
|
|||
#!name=New Bing for other browsers
|
||||
#!desc=Unlock browser restrictions for new bing AI search.
|
||||
|
||||
[Header Rewrite]
|
||||
^https:\/\/www\.bing\.com\/(search|new) header-replace-regex User-Agent \w+\/[\d\.]+$ "AppleWebKit/537.36 Chrome/110.0 Safari/537.36 Edg/110.0"
|
||||
|
||||
[MITM]
|
||||
hostname = %APPEND% www.bing.com
|
Loading…
Reference in New Issue