mirror of
https://github.com/blackmatrix7/ios_rule_script.git
synced 2025-01-24 07:19:23 +08:00
[FindMy] 隐藏查找APP中无法移除的异常设备
This commit is contained in:
parent
510886274c
commit
2707839dae
@ -723,6 +723,30 @@
|
|||||||
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/testflight/icon/testflight.png",
|
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/testflight/icon/testflight.png",
|
||||||
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/testflight/icon/testflight.png"
|
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/testflight/icon/testflight.png"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "blackmatrix7.findmy",
|
||||||
|
"name": "Find My",
|
||||||
|
"keys": [
|
||||||
|
"find_my_device_discovery_id"
|
||||||
|
],
|
||||||
|
"author": "@blackmatrix7",
|
||||||
|
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/findmy",
|
||||||
|
"icons": [
|
||||||
|
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/findmy/icon/findmy_gray.jpg",
|
||||||
|
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/findmy/icon/findmy.jpg"
|
||||||
|
],
|
||||||
|
"settings": [
|
||||||
|
{
|
||||||
|
"id": "find_my_device_discovery_id",
|
||||||
|
"name": "Find My设备ID",
|
||||||
|
"val": "",
|
||||||
|
"type": "textarea",
|
||||||
|
"placeholder": "",
|
||||||
|
"autoGrow": true,
|
||||||
|
"desc": "Find My设备ID,多个设备以;分隔"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
27
script/findmy/README.md
Normal file
27
script/findmy/README.md
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
# Find My
|
||||||
|
|
||||||
|
如果你在维修AirPods时,忘了将耳机解绑,并且初次绑定耳机的手机或平板也不存在了,那你在”查找“APP中将永久获得一个无法删除的无效AirPods。
|
||||||
|
|
||||||
|
维修几次,就多几台AirPods。
|
||||||
|
|
||||||
|
这个脚本就是用来解决这个问题的,用于隐藏”查找“APP中,无法移除的无效设备。
|
||||||
|
|
||||||
|
希望苹果早点解决这个Bug,那这脚本也就不需要存在了。
|
||||||
|
|
||||||
|
## 部署
|
||||||
|
|
||||||
|
在不同的客户端,安装模块、重写、插件、覆写。
|
||||||
|
|
||||||
|
## 使用
|
||||||
|
|
||||||
|
启用脚本后,在”查找“APP中,再移除一次之前无法移除的设备即可。
|
||||||
|
|
||||||
|
如果误操作导致移除了正常设备,需要在BoxJS中删除记录的数据。
|
||||||
|
|
||||||
|
## 其他
|
||||||
|
|
||||||
|
脚本并不能真正的帮你从苹果的服务器移除无效的设备,而是将移除过程的设备Id记录下来,再下次请求设备时,将对应设备隐藏起来。
|
||||||
|
|
||||||
|
隐藏这个操作只对当前使用脚本的设备有效,如果有多个设备,需要每个设备都操作一次。
|
||||||
|
|
||||||
|
在iCloud网页端依旧会显示那些无法移除的无效设备。
|
84
script/findmy/findmy.js
Normal file
84
script/findmy/findmy.js
Normal file
File diff suppressed because one or more lines are too long
12
script/findmy/findmy.lnplugin
Normal file
12
script/findmy/findmy.lnplugin
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#!name=Find My
|
||||||
|
#!desc=移除“查找”中无效的设备
|
||||||
|
#!author=blackmatrix7
|
||||||
|
#!homepage=https://github.com/blackmatrix7/ios_rule_script
|
||||||
|
#!icon=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/findmy/icon/findmy.jpg
|
||||||
|
|
||||||
|
[Script]
|
||||||
|
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
|
||||||
|
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=查找_移除无效设备
|
||||||
|
|
||||||
|
[MITM]
|
||||||
|
hostname = p222-fmipmobile.icloud.com.cn
|
13
script/findmy/findmy.sgmodule
Normal file
13
script/findmy/findmy.sgmodule
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
#!name=Find My
|
||||||
|
#!desc=移除“查找”中无效的设备
|
||||||
|
#!author=blackmatrix7
|
||||||
|
#!homepage=https://github.com/blackmatrix7/ios_rule_script
|
||||||
|
#!category=blackmatrix7
|
||||||
|
|
||||||
|
|
||||||
|
[Script]
|
||||||
|
查找_获取无效设备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
|
||||||
|
查找_移除无效设备 = 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
|
||||||
|
|
||||||
|
[MITM]
|
||||||
|
hostname = p222-fmipmobile.icloud.com.cn
|
10
script/findmy/findmy.snippet
Normal file
10
script/findmy/findmy.snippet
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Find My
|
||||||
|
# 移除“查找”中无效的设备
|
||||||
|
|
||||||
|
# 查找_获取无效设备Id
|
||||||
|
^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
|
||||||
|
|
||||||
|
# 查找_移除无效设备
|
||||||
|
^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
|
||||||
|
|
||||||
|
hostname = p222-fmipmobile.icloud.com.cn
|
BIN
script/findmy/icon/findmy.jpg
Normal file
BIN
script/findmy/icon/findmy.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 58 KiB |
BIN
script/findmy/icon/findmy_gray.jpg
Normal file
BIN
script/findmy/icon/findmy_gray.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 43 KiB |
Loading…
Reference in New Issue
Block a user