AI
This commit is contained in:
1 parent
e61c34bc0d
commit
1911d55d5e
13 files changed
+539
-10
No files matched your search
@@ -0,0 +1,30 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
console.log(window.location.search);
|
||||
try {
|
||||
console.log(
|
||||
Array.from(new URLSearchParams(location.search).entries())
|
||||
); // [["https://ldlda.com", ""]]
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
}
|
||||
const cuhwuhfduhs = window.location.search.replace(/^\?/g, "");
|
||||
if (cuhwuhfduhs) {
|
||||
const bbugsbg = new URL(cuhwuhfduhs);
|
||||
const hweriwehr = new URL(location);
|
||||
hweriwehr.search = "";
|
||||
if (bbugsbg != hweriwehr) {
|
||||
// window.location.href = cuhwuhfduhs;
|
||||
alert(`redir to ${bbugsbg}`);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user