XBL for User Style Sheets

XBL bindings combine the power of bookmarklets with the set-up-and-forget simplicity of user style sheets.

To use these XBL bindings, copy the CSS code in your Mozilla user style sheet (Instructions).

For better speed, you can run a local web server and copy the .xml file there to load using a http://localhost/ URL, but you can't load the .xml file using a file:/// URL because of bug 204140.

Flash Click-to-View
/* Prevent flash animations from playing until you click on them. */
object[classid$=":D27CDB6E-AE6D-11cf-96B8-444553540000"],
object[codebase*="swflash.cab"],
object[type="application/x-shockwave-flash"],
embed[type="application/x-shockwave-flash"],
embed[src$=".swf"]
{ -moz-binding: url("http://www.squarefree.com/turing/clickToView.xml#ctv"); }

Update October 2004: Ted Mielczarek and Theodore Drake have incorporated the Flash Click-to-View XBL into a Firefox extension called Flashblock.


© 2003-2004 Jesse Ruderman (jruderman@hmc.edu). Any type of feedback is welcome.
Last modified June 15, 2004.