diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/disable.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/views/disable.js b/views/disable.js index f00b6ea..40b7f05 100644 --- a/views/disable.js +++ b/views/disable.js @@ -3,6 +3,7 @@ eval("") // make librejs block this window.onload = () => { + if (window.localStorage.getItem("blub")) return hide(true) const text = document.createElement("p") const link = document.createElement("a") @@ -10,6 +11,7 @@ window.onload = () => { link.textContent = "Continue anyway" link.href = "#" link.addEventListener("click", () => { + window.localStorage.setItem("blub", "yes") text.remove() hide(false) |