Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

BlockFlash2

Hides Flash animations until you click on individual [Play Flash] buttons.

Replaces Flash elements with a small orange "button" that says [Play Flash]. Clicking the button displays the Flash animation.

Simpler and less intrusive than Adblock, though certainly not as comprehensive.

A revision of BlockFlash (http://userscripts.org/scripts/show/3204), which was revised by BlockFlash-Revisited (http://userscripts.org/scripts/show/6532).

Version History
0.3 - 2007-10-07 - v - eliminated anonymous function, condensed code
0.2 - 2007-10-06 - v - substituted xpath function for getElement and forEach for for loop






Aug 22, 2008
merriam Scriptwright

It looks like this script needs an update. On youtube and vimeo, for example, videos won't start. Also the placeholder is broken, showing "{div}[Play Flash]".

 
Aug 1, 2008
Andrew- User

This extension blocks flash fine, but when I click play flash, the flash does not play properly.

 
Jun 24, 2008
Darky.ben User

yes sry, im french so scuse my english

i would like a script like this for my website,
Hide all my flash animations
but for everyone ! not only those who have greasemonkey.

because loading many many embeded flash object sux for visitors..

is it possible to have a simple .js file to include in my page ? (<head></head>)

i hope you understand something ^^

 
Jun 20, 2008
themiddleman User

to exclude pages you just make a new line below include and put something like this:

// @exclude *youtube.com*

that will let youtube work

and thanks for the script, works well

 
Jun 18, 2008
varanasi Script's author

Sorry I'm late in replying, but Darky.ben I don't think I understand what you are trying to do.

 
Apr 25, 2008
Darky.ben User

is it possible to make a version for a website ?
that block only the flash on my website ?

 
Apr 25, 2008
Darky.ben User

hi !
i would like to include this script but only in my website ! just fo my visitors.. is it possible ? someone could help me please ?

 
Jan 17, 2008
varanasi Script's author

Doug:

1. I still work on the script from time to time. (I have come around to the idea that I should pretty thoroughly revise it, but since it still works well for me, I haven't had any compelling reason to change it much.)

2. The exclude sites option works on Greasemonkey rather than individual scripts. I have found it easiest to use it this way: A. Go to the site you want to exclude. B. Then do Tools/Greasemonkey/Manage User Scripts/. Confirm that the correct script is highlighted on the left and then hit the Add button. Typically, the popup will have the correct site name displayed. Hit OK and you're done.

For your sites, use: http://youtube.com/*

In your case,

 
Jan 12, 2008
Doug Adams User

Ok, first I would like to say I love this script so far (better than flashblock) ok, now I have 2 questions.

1. Is this still being developed?

2. I have two sites listed on the exclude white list
http://video.google.com/*
and
http://www.youtube.com/*

But when I visit this sites I still have to click "Play Flash"

By adding them to the white list shouldn't that prevent that?

 
Nov 11, 2007
bobielawlintine Scriptwright

Thank you so much much muchy :P

 
Oct 28, 2007
varanasi Script's author

mrnukem - I'm glad it works for you. Thanks for the note.

 
Oct 26, 2007
mrnukem User

Really nice script. Lets me pick and choose what Flash I want to display. Makes pages with flash frames load faster thats for sure

Thank you

 
Oct 12, 2007
varanasi Script's author

notyou - Cool. I'm glad the script is useful.

 
Oct 10, 2007
notyou User

hmm couldnt edit my former post, dunno why,
anyhow im deff keeping this script! Instead of the huge grey field taking up like half the bleeding screen of the (otherwise great) Flashblock, its just a small orange field, and i didnt notice any ads/banners/junkware slip by this ! :-D

 
Oct 9, 2007
notyou User

i havent noticed anything different with this script and my flashblock addon, but having TWICE the amount of protection cannot ever be redundant :) Im gonna test this a lil further and without having flashblock to test it, ill edit this post in a lil while :)

 
Oct 8, 2007
varanasi Script's author

Notyou - I don't know. This script would probably be redundant. What I like about using this script is that, unlike flashblock, it doesn't "preserve" the space that would the flash element would normally fill. In other words, there are none of those big empty spaces with a macromedia icon in the middle of them. I ended up here, because I thought flashblock was too intrusive. I want to read the content of a page as efficiently as possible.

You can disable flashblock (Tools/Add-ons), install this script, and see what you think. I don't think that one size fits all. Uninstalling this script (Tools/Greasemonkey/Manage User Scripts) and enabling flashblock, if you don't like this script is easy.

 
Oct 7, 2007
notyou User

umm i have flashblock, if i install this script will that interfer in any way with flashblock??

 
Sep 29, 2007
varanasi Script's author

Jake - Have you tried Tools/Greasemonkey/Manage User Scripts and then adding the sites to be excluded to the list of Excluded Pages?

 
Sep 28, 2007
JakeWatkins User

I hate how you can't really "exclude" any websites.

 
Sep 28, 2007
varanasi Script's author

This version deals with flash animations inside embed tags, as well as those in object tags. I restructured the code to make it simpler to add other tags if needed. (So far, object and embed searching deals with everything I've seen - probably not as much as you.)

I also included pix's revision to the on/off code, which improved the script's function tremendously.

My testing has been limited, but it seems to catch most things. On a rare occasion the on/off switch doesn't work - mlb.com is an example. I'd be interested if you find other problems.

You could comment on this script if you were logged in.