나의 찾기 기존 HTML 호환 분기 제거
This commit is contained in:
+4
-2
@@ -460,8 +460,6 @@ let langCode = localStorage.getItem("currentLang") || deviceLang,
|
||||
wakeLock = null;
|
||||
|
||||
function ensureFindMyDeviceShell() {
|
||||
if (document.getElementById('mySettingContainer')) return;
|
||||
|
||||
let mount = document.getElementById('findmydevice');
|
||||
if (!mount) {
|
||||
mount = document.createElement('div');
|
||||
@@ -469,6 +467,10 @@ function ensureFindMyDeviceShell() {
|
||||
document.body.prepend(mount);
|
||||
}
|
||||
|
||||
document.querySelectorAll('#mySettingContainer, #ios-pwa-tooltip').forEach(el => {
|
||||
if (!mount.contains(el)) el.remove();
|
||||
});
|
||||
|
||||
mount.innerHTML = `
|
||||
<div id="mySettingContainer" style="user-select: none;">
|
||||
<div id="settingsHeader">
|
||||
|
||||
Reference in New Issue
Block a user