In the Windows version of the Firefox browser there is an add-on available called QuickJava. With it you can put on/off buttons on the toolbar for Java, Javascript, Cookies, Image Animations, Flash, Silverlight, Images, Stylesheets and Proxy.
It's very handy. Dunno if it's available in other OS X or other OSs.