As we’ve seen with hacking cases time and again, the Javascript in Web apps can be vulnerable to attacks that, as a developer, you want to do your best to avoid. JScrambler, a tool for making your code harder to read and manipulate, has today been updated with a self-protection feature.

“It is a combination of anti-tampering and anti-debugging,” says JScrambler’s Pedro Fortuna. “The former transforms the JavaScript into a form where if someone tries to change it – which is usually the case with most attacks – even if is just a single character, the code will detect that and stops working. And it does so on its own. It doesn’t check with a server or anything.”

As for the anti-debugging, that restricts the ability for others to analyze code. “In most cases the simple act of popping up the browser debugger is enough for the code to detect that and to stop working,” says Fortuna.

Jscrambler iMac and iPad 730x471 JScrambler gives Javascript self defence skills to fight off exploits

Today’s update also adds the ability to lock your code to a particular browser or OS, and to block Jscrambler from specific parts of code that you want to keep visible and unprotected. The tool costs between $35 and $95 per month, depending on your needs.

JScrambler

Don’t miss: 9 lessons learned from redesigning an e-commerce app for growth