This is a no-brainer for Firefox,
Flock, Seamonkey and others Mozilla-based browsers. This free add-on
allows JavaScript, Java, Flash and other plugins to be executed only by
trusted web sites, providing powerful anti-XSS protection directly in
the browser.
Download link: http://noscript.net/