diff options
author | metamuffin <metamuffin@yandex.com> | 2022-01-01 14:25:35 +0100 |
---|---|---|
committer | metamuffin <metamuffin@yandex.com> | 2022-01-01 14:25:35 +0100 |
commit | a8c6fd847873ae521276a256d05fe160883d6649 (patch) | |
tree | c187feb246b41c39a54e306d0605af39034e9ad9 /views/disable.js | |
parent | 382808301ffb28397a7e2c18f27c09adc42b3c4e (diff) | |
download | metamuffin-website-a8c6fd847873ae521276a256d05fe160883d6649.tar metamuffin-website-a8c6fd847873ae521276a256d05fe160883d6649.tar.bz2 metamuffin-website-a8c6fd847873ae521276a256d05fe160883d6649.tar.zst |
js reminder simplified
Diffstat (limited to 'views/disable.js')
-rw-r--r-- | views/disable.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/views/disable.js b/views/disable.js index eb846eb..a34aead 100644 --- a/views/disable.js +++ b/views/disable.js @@ -1,10 +1,5 @@ // This piece of javascript reminds you to disable javascript. -// If you *really* want to view this page with javascript, append `?with-evil-javascript-enabled` eval("") // make librejs block this -window.onload = function () { - if (window.location.search.includes("?with-evil-javascript-enabled")) return - document.body.textContent = "Please disable JavaScript to view this site." - -} +document.body.textContent = "Please disable JavaScript to view this site." |