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

Install a Flash-controlling extension in Camino Web Browsers
Flashblock is a useful extension to the Mozilla-based browsers. It doesn't prevent downloading of Flash content, but instead simply doesn't play the content unless you click on it. Which is nice to prevent distractions and such while still keeping the ability to play and view flash content.

But I use Camino. Extensions are not widely supported in Camino for various reasons, but some can work. I found some threads on Mozillazine and the MacOSXHints forums on how to install Flashblock in Camino. But all of the discussions instructions require either a Firefox install or Mozilla install. So I figured out how to do it without needing Firefox or Mozilla. As with anything of this nature, you are at your own risk -- and you might want to backup your Camino profile before starting.

First, you need to visit the Flashblock site and go to the "Installation" section. Control-click on the Firefox install link, and chose 'Save the target as...' from the pop-up. Either rename the file at this step, or after you download it -- but it needs to be renamed from flashblock.xpi to flashblock.zip. This way, you can unzip it normally with the Finder. Go ahead and unzip the file.

In the unzipped folder, you should find another folder called 'chrome,' and in there is the flashblock.jar file. This is what you need. Copy that .jar file to your user's Library -> Application Support -> Camino -> chrome folder. Now you need to make changes to two of the other files in that same Camino chrome folder. Make sure that Camino is not running at this point. You might also want to make backups of these files before editing (for good measure). The first file is userContent.css. Using the text editor of your choice, add the following:
/*flashblock*/
@import url(chrome://flashblock/content/flashblock.css);
/*end flashblock*/
The next file is chrome.rdf. Just before the final you should add the following:
<RDF:Description RDF:about="urn:mozilla:package:flashblock"
  c:baseURL="jar:file:///Users/yourUsername/Library/Application%20Support/
    Camino/chrome/flashblock.jar!/content/flashblock/"
  c:locType="profile"
  c:displayName="Flashblock"
  c:author="The Flashblock team"
  c:authorURL="http://flashblock.mozdev.org/"
  c:name="flashblock"
  c:extension="true"
  c:description="Replaces Flash objects with a button you can click to view them." />
VERY IMPORTANT NOTE: The c:baseURL line has been split into two for a narrower display. Make this one long line with no added spaces, and make sure to change the path to match where you put the .jar file earlier (probably just change the yourUsername part to match your username). Make sure that if you have any spaces in the path that they are "converted" to HTML (such as in Application%20Support) by using the %20 space equivalent.

Save the files, and open Camino. Now, navigate to a site that has Flash, like Homestarrunner, and you should see a neat icon instead of the actual Flash. Click on it and it should play! Your mileage may vary. This might only work with English-US localizations. There are other localizations in the chrome.rdf file that Flashblock installs in Mozilla and Firefox, but I didn't pull them across in my implementation.
    •    
  • Currently 2.50 / 5
  You rated: 4 / 5 (4 votes cast)
 
[31,649 views]  

Install a Flash-controlling extension in Camino | 10 comments | Create New Account
Click here to return to the 'Install a Flash-controlling extension in Camino' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Install a Flash-controlling extension in Camino
Authored by: chanamasala on Dec 20, '04 11:54:52AM
This is easier to do and it does the same. Go to the user "jbzoller" comment posted Jun Fri 4th 2004 6:16pm, it's the 12th comment from the top.

http://forums.mozillazine.org/viewtopic.php?t=80276&postdays=0&postorder=asc&postsperpage=15&start=15

[ Reply to This | # ]
Install a Flash-controlling extension in Camino
Authored by: raider on Dec 20, '04 12:18:35PM
There are a couple differences actually. One is strictly cosmetic. Flashblock just looks better. :)

But the solution you are referring to, I tried first. The problem is that in order to use it, your CSS has to refer to some javascript that is supposedly hosted here:

http://www.cs.hmc.edu/~jruderma/clickToView.xml

But that site actually redirects you to here:

http://www.squarefree.com/turing/clickToView.xml

So I figured, hey - I could just store the xml file (which holds javascript) locally. Nope. There is a bug in the 'zilla browsers (related to security constraints) that you can't refer to a local file in your CSS embedding. So all you could do is locate it on an http server locally, which would be a waste - in my opinion.

Flashblock seems to be a cleaner solution. As far as I can tell (I might have missed something, since I just looked through quickly) Flashblock does everything locally....

[ Reply to This | # ]
Install a Flash-controlling extension in Camino
Authored by: jiclark on Dec 20, '04 04:11:13PM

At the risk of getting flamed, is there anything like this for Safari or OmniWeb? I'm getting awfully frustrated with Flash-based ads these days...

I know about PithHelmet for Safari, but it doesn't seem to play nice with the latest version of Saft. And most importantly, OmniWeb's ad blocking seems to just plain not work very well.



[ Reply to This | # ]
Install a Flash-controlling extension in Camino
Authored by: drauh on Dec 20, '04 07:36:15PM
I use Privoxy, which blocks practically all graphics and Flash ads.

[ Reply to This | # ]
Install a Flash-controlling extension in Camino
Authored by: shavenyak on Dec 21, '04 12:02:33AM

Phooey. Give me the AdBlock extension, and I'd switch to Camino permanently. Well, that and the Developer Tools.



[ Reply to This | # ]
Install a Flash-controlling extension in Camino
Authored by: raider on Dec 21, '04 11:01:29AM
I agree wholeheartedly. Adblock is the 1 main feature lacking, absolutely.

The "Camino Extra Prefs" folks have got *some* of the capability down, but not the extensive regex filtering capability.

That said, don't forget to add sites like Mac OSX Hints to your whitelist - he depends on ad income to offset our use... :)

[ Reply to This | # ]
Install a Flash-controlling extension in Camino
Authored by: shavenyak on Dec 22, '04 05:05:35PM

Eh, well I don't really use a whitelist. I block ad providers based on how annoying they are. Right now there's a Google ads banner - that wouldn't get blocked even if I were at home using AdBlock. My theory is, if a site owner doesn't want me blocking their ads, they need to make sure their ads aren't irritating. Luckily, most sites I care about seem to have decent ads. It's the 'Punch the Monkey' stuff I want to block.



[ Reply to This | # ]
Install a Flash-controlling extension in Camino
Authored by: billbarstad on Dec 21, '04 12:20:20PM

I downloaded Flashblock.xpli (version 1.2.5) as Flashblock.zip. Stuffit Expander won't uncompress it. Which kinda makes sense. What's the trick?



[ Reply to This | # ]
Install a Flash-controlling extension in Camino
Authored by: raider on Dec 21, '04 12:47:46PM
I didn't use Stuffit expander, I just used the "built in" expansion in OSX 10.3 by doubleclicking on the zip file. But if I right click and say open with Stuffit Expander, it also extracts just fine.

Is there a possibility that the download got corrupted or something?

[ Reply to This | # ]
Install a Flash-controlling extension in Camino
Authored by: billbarstad on Dec 22, '04 12:31:45PM

I tried to open the .zip file using Mac OS X first, but it failed. I then tried Stuffit Expander. I've download Flashblock.xpi (as .zip) several times now, and it still won't open.



[ Reply to This | # ]