This commit is contained in:
void-57 2025-12-02 16:02:30 +05:30
parent b0cc129d1f
commit e9ae32759b
2 changed files with 3 additions and 8 deletions

View File

@ -38404,20 +38404,15 @@ ${f.stack}` : o;
window.updateURL = Kit; window.updateURL = Kit;
window.clearURL = Yit; window.clearURL = Yit;
window.searchTransactions = Ko; window.searchTransactions = Ko;
console.log("[DeepLink] main.js loaded, URL:", window.location.href);
console.log("[DeepLink] URL search params:", window.location.search);
console.log("[DeepLink] document.readyState:", document.readyState);
function dv() { function dv() {
setTimeout(() => { setTimeout(() => {
try { try {
const f = new URLSearchParams(window.location.search); const f = new URLSearchParams(window.location.search);
(f.get("address") || f.get("tx")) && (console.log("[DeepLink] Processing URL parameters after full page load"), console.log("[DeepLink] window.searchTransactions available:", typeof window.searchTransactions), console.log("[DeepLink] window.cardanoCrypto available:", typeof window.cardanoCrypto), Qit()); (f.get("address") || f.get("tx")) && Qit();
} catch (f) { } catch (f) {
console.error("[DeepLink] Error processing URL parameters:", f); console.error("[DeepLink] Error processing URL parameters:", f);
} }
}, 1e3); }, 1e3);
} }
document.readyState === "complete" ? (console.log("[DeepLink] Page already loaded, processing immediately"), dv()) : (console.log("[DeepLink] Waiting for load event"), window.addEventListener("load", () => { document.readyState === "complete" ? dv() : window.addEventListener("load", dv);
console.log("[DeepLink] Load event fired"), dv();
}));
})(); })();

View File

@ -8,7 +8,7 @@
rel="stylesheet" rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
/> />
<script type="module" crossorigin src="./assets/index-BFhbB-yj.js"></script> <script type="module" crossorigin src="./assets/index-C-eUqJV6.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-C4oHu9vm.css"> <link rel="stylesheet" crossorigin href="./assets/index-C4oHu9vm.css">
</head> </head>
<body> <body>