ios_rule_script/script/obsolete/10010
blackmatrix7 39d58edee5 Last updated 2022-02-17 02:11:28
Last updated 2022-03-11 10:29:49

Last updated 2022-03-12 02:13:44

Last updated 2022-03-13 02:12:42

Last updated 2022-03-14 02:11:30

Last updated 2022-03-15 02:13:26

Last updated 2022-03-16 02:12:31

Last updated 2022-03-17 02:12:30
2022-03-17 09:48:18 +08:00
..
images Last updated 2022-02-17 02:11:28 2022-03-17 09:48:18 +08:00
10010.png Last updated 2022-02-17 02:11:28 2022-03-17 09:48:18 +08:00
README.md Last updated 2022-02-17 02:11:28 2022-03-17 09:48:18 +08:00
unicom_signin.js Last updated 2022-02-17 02:11:28 2022-03-17 09:48:18 +08:00
unicom_signin.lnscript Last updated 2022-02-17 02:11:28 2022-03-17 09:48:18 +08:00
unicom_signin.min.js Last updated 2022-02-17 02:11:28 2022-03-17 09:48:18 +08:00
unicom_signin.qxrewrite Last updated 2022-02-17 02:11:28 2022-03-17 09:48:18 +08:00
unicom_signin.sgmodule Last updated 2022-02-17 02:11:28 2022-03-17 09:48:18 +08:00

README.md

联通每日签到与抽奖

每日自动签到显示已用流量、语音、剩余话费、可用积分每日抽奖4次。

活动期间,每日必得一张30-3的美团外卖优惠券,送到和当前签到同手机号的美团账号上,活动到什么时候结束我也不知道。

目前还是有的,实打实的优惠,别错过。

配置说明

Surge

使用模块,地址

https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/10010/unicom_signin.sgmodule

Quantumult X

[rewrite_remote]
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/10010/unicom_signin.qxrewrite, tag=联通_获取cookie, update-interval=86400, opt-parser=false, enabled=true

[task_local]
20 0 * * * https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/10010/unicom_signin.js, tag=联通_签到与抽奖, enabled=true

Loon

[Remote Script]
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/10010/unicom_signin.lnscript, tag=联通_签到与抽奖, enabled=true

获取Cookie

联通手机营业厅APP经常修改“天天抽奖”入口位置比较稳定的方法是在联通手机营业厅中搜索“天天抽奖”直接通过搜索结果进入。

签到效果图

统一推送

MagicJS利用Bark实现了跨设备的统一推送能力将多个iOS设备的脚本执行结果统一推送到一个设备上。

执行效果图,以饿了么为例:

开启统一推送

你需要安装Bark这个APP打开后可以得到类似这样的链接

https://api.day.app/VXTWvaQ18N29bsQAg7DgkT

在Surge、Loon、QuantumultX中执行以下代码将链接写入(如何执行代码请自己动手解决)。

Surge、Loon

# 开启所有脚本统一推送
$persistentStore.write("https://api.day.app/VXTWvaQ18N29bsQAg7DgkT", "magicjs_unified_push_url");

Quantumult X

# 开启所有脚本统一推送
$prefs.setValueForKey("https://api.day.app/VXTWvaQ18N29bsQAg7DgkT", "magicjs_unified_push_url");

关闭统一推送

Surge、Loon

# 关闭所有脚本统一推送
$persistentStore.write("", "magicjs_unified_push_url");

Quantumult X

# 关闭所有脚本统一推送
$prefs.setValueForKey("", "magicjs_unified_push_url");

其他

  1. 统一推送能力仅对支持的脚本有效。
  2. 开启统一推送后,所有支持统一推送的脚本,都会把通知推送到目标设备上。
  3. 限于Bark的功能统一推送中的多媒体和链接不可用。
  4. 统一推送需要使用Bark的服务器推送成功与否与Bark服务器的可用性有关。
  5. 统一推送不会关闭APP的本地推送即两个iOS设备都会有推送。
  6. 如有隐私考虑可以参考Bark的服务端文档自建服务端。