Last active
September 26, 2020 06:05
-
-
Save heyalexchoi/bb8f459ce3e2bacb79554670e88b8e36 to your computer and use it in GitHub Desktop.
protect the user
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var scr = document.createElement("script"); | |
scr.src = "https://code.jquery.com/jquery-3.5.1.slim.min.js"; | |
document.body.appendChild(scr); | |
$(document.body).click(function(event){ | |
event.preventDefault(); | |
alert("i'm sorry but you can't do that. better luck next time") | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment