News for hackers. Stuff that matters.
Re:jQuery Lock Plugin – prevent some users from changing con... by steego on Friday April 15, 2016 @02:22PM (#11506502)
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?

Re:jQuery Lock Plugin – prevent some users from changing con... by adamrwexler on Friday April 15, 2016 @02:55PM (#11506729)
I'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')