Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Enable 'Click to Play' for Flash in Omniweb and Camino Web Browsers
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...]
    •    
  • Currently 1.00 / 5
  You rated: 1 / 5 (4 votes cast)
 
[11,018 views]  

Enable 'Click to Play' for Flash in Omniweb and Camino | 10 comments | Create New Account
Click here to return to the 'Enable 'Click to Play' for Flash in Omniweb and Camino' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Flashblock for Camino
Authored by: raider on Mar 16, '05 12:13:19PM
The "Click To Play" as described here requires the browser to connect to and download from floppymoose.com for the flash blocking.

Depending on the speed of your network connection, and your browser settings - this can slow your browsing. In addition, you are depending on that server to be up and that file to be in that location - which you cannot control. Also, that site could be blocked by corporate filters and such...

Which is why I took the effort to figure out how to install Flashblock in Camino. It is a 100% local solution. (Rob mentioned it in the addendum to the hint).

Both solutions work as advertised, I just didn't like adding another network connection and download for each Flash that was loaded... And the file cannot be installed locally due to a bug in Mozilla... This is all discussed in the comments for that other hint....

[ Reply to This | # ]
Flashblock for Camino
Authored by: rootpoot on Mar 16, '05 01:19:53PM

You can point to a local copy of the file, but you have to turn on Apache and use a http://localhost uri.

You can't load if from file:// uri, though. (bug 20410)



[ Reply to This | # ]
Flashblock for Camino
Authored by: raider on Mar 16, '05 01:26:28PM
That's not pointing to a local copy of the file. That is pointing to a local webserver. And I mention that in the comments in the other article. If you want to run Apache - that is fine. And many people do run apache. But it would be a waste to run Apache JUST FOR THIS.

Not to mention the security implications of running Apache, there is processor usage (battery usage for laptops) and other reasons that would be a waste...

[ Reply to This | # ]
Flashblock for Camino
Authored by: rootpoot on Mar 16, '05 02:47:27PM

After a request is completed, Apache's four threads on my laptop are each using 0% of my CPU according to Activity Monitor. It's using a little RAM, but that isn't going to affect my iBook's battery life in any significant way.

Anyone concerened about security could disable remote access to port 80 with a couple mouse clicks, so I don't see that as a good reason not to run Apache.



[ Reply to This | # ]
What about Safari?
Authored by: TrumpetPower! on Mar 16, '05 12:33:43PM

I’d love to have the same for Safari. Does anybody know of a way…?

Cheers,

b&



[ Reply to This | # ]
OmniWeb and Regex do the job better
Authored by: gongloo on Mar 16, '05 05:45:39PM
Since OmniWeb supports standard regex for it's blocking list, you might try
\.swf$
If you're a bit more concerned about URLs that happen to have swf in their name (correct me if I'm wrong, but the line given in the hint will also block things like www.somewhere.com/swf, or www.swf.com, won't it?).

[ Reply to This | # ]
OmniWeb and Regex do the job better
Authored by: afb on Mar 16, '05 06:22:19PM

Actually, I found that OmniWeb's blocking didn't work with regex for me—it wouldn't let most of the blacklisted items from taking effect. So I removed the regexes, and then they all worked.

Blocking all .swf files is not a great idea: sites like this one, which unfortunately has flash ads from time to time, I believe, lose out; it blocks all possibly legitimate flash ads; and, in OmniWeb, clicking on a blocked item (stupidly, IMHO) adds it to the whitelist. So if you frequent one of those terrible sites like newgrounds, clicking on many blocked flash files, your whitelist would become filled with all the mind-numbingly dumb animations you watched :-)

Also, in my experience, and correct me if I'm wrong, more and more sites are using javascript (which is annoying to disable, though that is another route) to spawn the flash ads; blocking .swf doesn't seem to work here.

So, block the ad servers or directories instead!

---
now is the time for all good cows to come to the aid of their pasture.



[ Reply to This | # ]
OmniWeb and Regex do the job better
Authored by: Fuzzle on Mar 18, '05 07:38:55PM

Well, you can just disable on a per site basis blacklist blocking for those sites you want to see flash ads on.

---
___
This space intentionally left blank.



[ Reply to This | # ]
CamiFlash: 'Click to Play' for Camino
Authored by: ecco on Jun 24, '05 07:04:27AM
If you're using Camino then you can simply install the free CamiFlash. It's Flashblock for Camino. No need to configure anything.

[ Reply to This | # ]
Enable 'Click to Play' for Flash in Omniweb and Camino
Authored by: Saminthemiddle on Jun 22, '07 06:39:14AM

Also, with OmniWeb I find it useful to add to the whitelist websites that contain legitimate, non-ad flash content. Be aware, however, that many such websites store their flash content on an external server so you should look in the page info pane to see where the content is being stored and add that server to the whitelist.



[ Reply to This | # ]