4 ms·
Visited the page and ran this in the console: $("code.locked").after($("<code class=\"locked\">I circumvent you!</code>")).remove() Clearly this doesn't p
by steego 11y ago
Visited the page and ran this in the console:
$("code.locked").after($("<code class=\"locked\">I circumvent you!</code>")).remove()
Clearly this doesn't prevent scripts from changing it, nor does it prevent users from deleting the locked elements and replacing it with something else.
What's the point of this cat and mouse game?
- adamrwexler 11y agoI'd agree that this provide a false sense of security to the developer. Here's another example of how to modify the text: $('h1.locked').clone().replaceAll('h1.locked').text('sucka')