diff options
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." |