Maximum protection for your browser: NoScript allows active content only for trusted domains of your choice to prevent exploitation.
Winner of the "PC World World Class Award" and bundled with the Tor Browser, NoScript gives you with the best available protection on the web.
It protects your "trust boundaries" against cross-site scripting attacks (XSS), cross-zone DNS rebinding / CSRF attacks (router hacking), and Clickjacking attempts.
Such a preemptive approach prevents exploitation of security vulnerabilities (known and even unknown!) with no loss of functionality where you need it.
Experts do agree: your browser is really safer with NoScript ;-)
Source code: https://github.com/hackademix/noscript/