BlockFlash2

By varanasi Last update Nov 12, 2011 — Installed 30,074 times.

problem at telegraph.co.uk

in
Subscribe to problem at telegraph.co.uk 3 posts, 2 voices



ekbworldwide Scriptwright
FirefoxWindows

example

Britain at War: Readers' Memories
http://www.telegraph.co.uk/news/newstopics/brit...

If I put...
http://*.telegraph.co.uk/*
http://www.telegraph.co.uk/*
...as excludes - blockflash still blocks the flash and replaces it with the "[Play Flash]" div.

 
varanasi Script's Author
FirefoxX11

Now this is a curious one! Let me work on this a bit. Thanks!

BTW, the stuff at the link is fascinating. Some of those stories . . . !

 
varanasi Script's Author
FirefoxX11

Here's the deal. The telegraph page uses an iframe (remember the old framed websites? This is a newer, floating version.) The iframe imports a different webpage from a different site: brightcove. The greasemonkey exclude works by url, so when you exclude the telegraph page, all the content from telegraph is not run through BlockFlash2. That's what we want. The problem is that the brightcove content is not excluded so BlockFlash2 goes to work on that. One could exclude brightcove, but brightcove provides mucho flash content on the web, and excluding it would vitiate part of the BlockFlash goodness because brightcove would be excluded across the web not just from the telegraph site.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel