mirror of
https://github.com/DidiDidi129/Website.git
synced 2026-04-05 12:04:38 +00:00
SD
This commit is contained in:
11
index.html
11
index.html
@@ -6,17 +6,6 @@
|
||||
-->
|
||||
<html>
|
||||
<head>
|
||||
<script>
|
||||
const path = window.location.pathname; // e.g., "/moderation"
|
||||
const query = window.location.search; // e.g., "?user=123"
|
||||
|
||||
// Only redirect if we're not already on the homepage with a fragment
|
||||
if (path !== '/' && !path.startsWith('/#')) {
|
||||
// Redirect to homepage with fragment + original query string
|
||||
window.location.replace('/#' + path.slice(1) + query);
|
||||
}
|
||||
</script>
|
||||
|
||||
<title>DidiDidi129</title>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
||||
|
||||
Reference in New Issue
Block a user