Mozzarella

Home

NoEval - Disable Eval()

NoEval add-on disables window.eval() function on all webpages. Moreover, it also disables similar approached to eval() when the input argument's type is String:

1. eval('')
2. (new Function(''))()
3. window.setTimeout('', delay)
4. window.setInterval('', delay)

When eval or similar methods are used in websites, users might be at risk in terms of security. Please visit the below page to get more info about eval and why it is a dangerous function:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval#Never_use_eval!

If you found a bug, or have a feature request in mind, please fill the bug report form in the add-on's homepage.

Install