9
0
mirror of https://github.com/donlon/cloudflare-error-page.git synced 2026-01-06 15:41:45 +00:00

miscellaneous updates

This commit is contained in:
Anthony Donlon
2025-11-22 00:22:45 +08:00
parent 5c18dfb930
commit 68b1d35ac4
3 changed files with 2 additions and 5 deletions

View File

@@ -139,9 +139,6 @@
"what_can_i_do": "Visit the site before it crashes someday."
},
};
if (window.location.search == '') {
window.history.pushState('sss', '', '?s');
}
function extractUrlParam(str, key) {
const urlParams = new URLSearchParams(str)