remove FileSystemAPI request on MMRL

This commit is contained in:
KOWX712
2025-02-15 03:34:10 +08:00
parent edfe2986e7
commit bf8fdb8419
2 changed files with 16 additions and 17 deletions

View File

@@ -272,7 +272,7 @@
</div>
</div>
<!-- Permission Check Popup -->
<!-- MMRL Permission Request Overlay -->
<div id="permission-popup" class="permission-popup hidden">
<div class="permission-content">
<h2 id="permission-title">Please allow JavaScript API in MMRL settings</h2>
@@ -281,19 +281,11 @@
<p>2. Security</p>
<p>3. Allow JavaScript API</p>
<p>4. Tricky Store</p>
<p>5. Enable both options</p>
<p>5. Enable Allow Advanced KernelSU API</p>
</div>
</div>
</div>
<!-- Footer -->
<div class="footer">
<div class="uninstall-container hidden-uninstall">
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#FFFFFF"><path d="M280-120q-33 0-56.5-23.5T200-200v-520h-40v-80h200v-40h240v40h200v80h-40v520q0 33-23.5 56.5T680-120H280Zm400-600H280v520h400v-520ZM360-280h80v-360h-80v360Zm160 0h80v-360h-80v360ZM280-720v520-520Z" /></svg>
<span data-i18n="functional_button.uninstall_webui"></span>
</div>
</div>
<!-- Security Patch Overlay -->
<div id="security-patch-overlay" class="security-patch-overlay"></div>
<div id="security-patch-card" class="security-patch-card">
@@ -339,6 +331,14 @@
</div>
</div>
</div>
<!-- Footer -->
<div class="footer">
<div class="uninstall-container hidden-uninstall">
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#FFFFFF"><path d="M280-120q-33 0-56.5-23.5T200-200v-520h-40v-80h200v-40h240v40h200v80h-40v520q0 33-23.5 56.5T680-120H280Zm400-600H280v520h400v-520ZM360-280h80v-360h-80v360Zm160 0h80v-360h-80v360ZM280-720v520-520Z" /></svg>
<span data-i18n="functional_button.uninstall_webui"></span>
</div>
</div>
</body>
</html>

View File

@@ -198,7 +198,6 @@ async function checkMMRL() {
// Request API permission, supported version: 33045+
try {
$tricky_store.requestAdvancedKernelSUAPI();
$tricky_store.requestFileSystemAPI();
} catch (error) {
console.log("Error requesting API:", error);
}