Enable 'Click to Play' for Flash in Omniweb and Camino

Mar 16, '05 09:54:00AM

Contributed by: Fuzzle

Because of the sorry state of Flash on the Mac (its unnerving ability to bring any computer to its knees), I love Firefox's "Click to Play" extension for Flash. OmniWeb has nothing like this for Flash (although it does for Java). The following is straight from the horse's mouth (OmniGroup) on how to enable Click to Play for Flash in Omniweb:

  1. Launch OmniWeb
  2. Open up the preferences and select the ad blocking panel.
  3. Check the box next to "From blocked URLs"
  4. Click on the "Edit Blocked URLs List..." button.
  5. In the "Don't Load anything from sites matching these expressions" list add this line: swf
  6. Click Done and go to a site with flash. Flash should be blocked, and you should be able to load it by clicking on the placeholder.
For Camino, add this to your userContent.css file in ~/Library/Application Support/Camino/chrome/:
/* 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.floppymoose.com/clickToView.xml#ctv"); }
[robg adds: An earlier hint described another way to add Flash blocking to Camino...]

Comments (10)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20050313224837662