aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorecho <91651232+exhq@users.noreply.github.com>2022-10-31 18:50:22 +0330
committerecho <91651232+exhq@users.noreply.github.com>2022-10-31 18:50:22 +0330
commitb589b5d7acdcc5a021faf49478e68b94138c4972 (patch)
tree7961b00916e6b4b6544dc198e464c6edf63f913d
parent47ad46c0e5765715a428989ce5081ffde02bd8c4 (diff)
downloadexhq.github.io-b589b5d7acdcc5a021faf49478e68b94138c4972.tar.gz
exhq.github.io-b589b5d7acdcc5a021faf49478e68b94138c4972.tar.bz2
exhq.github.io-b589b5d7acdcc5a021faf49478e68b94138c4972.zip
what the fuck is security smh that is so cringe
-rw-r--r--static/fuck/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/static/fuck/index.html b/static/fuck/index.html
index d1601a5..e07f824 100644
--- a/static/fuck/index.html
+++ b/static/fuck/index.html
@@ -25,10 +25,10 @@
<div id="troll">fuck rust</div>
</body>
<script>
-const funny = decodeURIComponent(location.hash.slice(1))
+const funny = decodeURIComponent(location.hash.slice(1))
console.log(funny)
-document.getElementById("troll").innerHTML = "fuck " + funny
-document.getElementById("fuck").innerHTML = "fuck " + funny
+document.getElementById("troll").innerText = "fuck " + funny
+document.getElementById("fuck").innerText = "fuck " + funny
document.title = "fuck " + funny
const section = document.body;
const text = document.getElementById("troll");