Skip to content

Commit 2707839

Browse files
committed
[FindMy] 隐藏查找APP中无法移除的异常设备
1 parent 5108862 commit 2707839

File tree

8 files changed

+170
-0
lines changed

8 files changed

+170
-0
lines changed

Diff for: script/boxjs.json

+24
Original file line numberDiff line numberDiff line change
@@ -723,6 +723,30 @@
723723
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/testflight/icon/testflight.png",
724724
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/testflight/icon/testflight.png"
725725
]
726+
},
727+
{
728+
"id": "blackmatrix7.findmy",
729+
"name": "Find My",
730+
"keys": [
731+
"find_my_device_discovery_id"
732+
],
733+
"author": "@blackmatrix7",
734+
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/findmy",
735+
"icons": [
736+
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/findmy/icon/findmy_gray.jpg",
737+
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/findmy/icon/findmy.jpg"
738+
],
739+
"settings": [
740+
{
741+
"id": "find_my_device_discovery_id",
742+
"name": "Find My设备ID",
743+
"val": "",
744+
"type": "textarea",
745+
"placeholder": "",
746+
"autoGrow": true,
747+
"desc": "Find My设备ID,多个设备以;分隔"
748+
}
749+
]
726750
}
727751
]
728752
}

Diff for: script/findmy/README.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Find My
2+
3+
如果你在维修AirPods时,忘了将耳机解绑,并且初次绑定耳机的手机或平板也不存在了,那你在”查找“APP中将永久获得一个无法删除的无效AirPods。
4+
5+
维修几次,就多几台AirPods。
6+
7+
这个脚本就是用来解决这个问题的,用于隐藏”查找“APP中,无法移除的无效设备。
8+
9+
希望苹果早点解决这个Bug,那这脚本也就不需要存在了。
10+
11+
## 部署
12+
13+
在不同的客户端,安装模块、重写、插件、覆写。
14+
15+
## 使用
16+
17+
启用脚本后,在”查找“APP中,再移除一次之前无法移除的设备即可。
18+
19+
如果误操作导致移除了正常设备,需要在BoxJS中删除记录的数据。
20+
21+
## 其他
22+
23+
脚本并不能真正的帮你从苹果的服务器移除无效的设备,而是将移除过程的设备Id记录下来,再下次请求设备时,将对应设备隐藏起来。
24+
25+
隐藏这个操作只对当前使用脚本的设备有效,如果有多个设备,需要每个设备都操作一次。
26+
27+
在iCloud网页端依旧会显示那些无法移除的无效设备。

Diff for: script/findmy/findmy.js

+84
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: script/findmy/findmy.lnplugin

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!name=Find My
2+
#!desc=移除“查找”中无效的设备
3+
#!author=blackmatrix7
4+
#!homepage=https://github.com/blackmatrix7/ios_rule_script
5+
#!icon=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/findmy/icon/findmy.jpg
6+
7+
[Script]
8+
http-request ^https:\/\/p222-fmipmobile\.icloud\.com\.cn\/fmipservice\/device\/\d+\/remove$ requires-body=1,timeout=30,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/findmy/findmy.js,tag=查找_获取无效设备Id
9+
http-response ^https?:\/\/p222-fmipmobile\.icloud\.com\.cn\/fmipservice\/device\/\d+\/(initClient|refreshClient)$ requires-body=1,timeout=30,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/findmy/findmy.js,tag=查找_移除无效设备
10+
11+
[MITM]
12+
hostname = p222-fmipmobile.icloud.com.cn

Diff for: script/findmy/findmy.sgmodule

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!name=Find My
2+
#!desc=移除“查找”中无效的设备
3+
#!author=blackmatrix7
4+
#!homepage=https://github.com/blackmatrix7/ios_rule_script
5+
#!category=blackmatrix7
6+
7+
8+
[Script]
9+
查找_获取无效设备Id = type=http-request,requires-body=1,max-size=0,pattern=^https:\/\/p222-fmipmobile\.icloud\.com\.cn\/fmipservice\/device\/\d+\/remove$,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/findmy/findmy.js,script-update-interval=86400
10+
查找_移除无效设备 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/p222-fmipmobile\.icloud\.com\.cn\/fmipservice\/device\/\d+\/(initClient|refreshClient)$,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/findmy/findmy.js,script-update-interval=86400
11+
12+
[MITM]
13+
hostname = p222-fmipmobile.icloud.com.cn

Diff for: script/findmy/findmy.snippet

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Find My
2+
# 移除“查找”中无效的设备
3+
4+
# 查找_获取无效设备Id
5+
^https:\/\/p222-fmipmobile\.icloud\.com\.cn\/fmipservice\/device\/\d+\/remove$ url script-request-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/findmy/findmy.js
6+
7+
# 查找_移除无效设备
8+
^https?:\/\/p222-fmipmobile\.icloud\.com\.cn\/fmipservice\/device\/\d+\/(initClient|refreshClient)$ url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/findmy/findmy.js
9+
10+
hostname = p222-fmipmobile.icloud.com.cn

Diff for: script/findmy/icon/findmy.jpg

58.2 KB
Loading

Diff for: script/findmy/icon/findmy_gray.jpg

43.2 KB
Loading

0 commit comments

Comments
 (0)