Skip to content

Commit

Permalink
boohahahhaha
Browse files Browse the repository at this point in the history
  • Loading branch information
ThakshilaDamsak committed Sep 27, 2023
1 parent 15e0e99 commit 1e7648f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
2 changes: 1 addition & 1 deletion common/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
</script>

<div id="site-info" class="hidden">
<p>v23.15 | <a href="https://github.com/ThakshilaDamsak/ThakshilaDamsak.github.io" target="_blank">GitHub Repository</a></p>
<p>v23.16 | <a href="https://github.com/ThakshilaDamsak/ThakshilaDamsak.github.io" target="_blank">GitHub Repository</a></p>
</div>

<script>
Expand Down
20 changes: 1 addition & 19 deletions human/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,22 +46,4 @@ Promise.all(imagePromises).then(() => {
document.body.appendChild(newScript);
});
});
});



window.onload = function() {
var currentURL = window.location.href;
if (!currentURL.endsWith("#Oh-ma-Gaad-Noo-Wayyyayyaayyy")) {
var newURL = currentURL + "#Oh-ma-Gaad-Noo-Wayyyayyaayyy";
history.replaceState({}, null, newURL);
}
};

window.onpopstate = function(event) {
var currentURL = window.location.href;
if (currentURL.endsWith("##Oh-ma-Gaad-Noo-Wayyyayyaayyy")) {
var newURL = currentURL.replace("##Oh-ma-Gaad-Noo-Wayyyayyaayyy", "");
history.replaceState({}, null, newURL);
}
};
});

0 comments on commit 1e7648f

Please sign in to comment.