SEARCH

How-To Geek

Hide Flash Animations in Google Chrome

Looking for an easy way to deal with those annoying flash elements in webpages while browsing with Chrome? Now you can with the BlockFlash2 User Script.

Prepare Chrome for User Scripts

To add user scripts to Chrome, you will need to do a little bit of prep work to get everything ready. Locate the shortcut(s) for Chrome and right click on them. Select “Properties”.

chrome-flashblock-01

Once you have clicked through, you will see the “Properties” window with the “Shortcut” tab displayed.

chrome-flashblock-02

In the address area for “Target:” you will need to add the following command to the end of the target path making certain to leave a single space in between the final quote mark and the enable user scripts command.

chrome-flashblock-03

Here is an example of what the the target path should look like…

chrome-flashblock-04

Once you have that finished, click “Apply”, then “OK”.

Place the User Script in the Appropriate Location

Now that you have all of your shortcuts ready, it is time to place your new user script in the User Scripts Folder. First, you will need to locate the Google folder in your AppData Directory.

Work through the following folder hierarchy: AppData –> Local –> Google –> Chrome –> User Data –> Default

If you do not have a folder named “User Scripts” in the Default Folder, then you will need to create one. Make certain to include the “s” at the end. All that you need to do after that is add your new user script to the folder.

Note: When you download the user script, it will have the following name: “45343.user.js”. We have replaced “45343” with “blockflash2” to make it easier to tell different user scripts apart as we add in additional scripts later.

chrome-flashblock-05

BlockFlash2 in Action

How does it look after setting up the user script? We decided to visit NBC’s Merlin website for our example. As you can see, two flash elements are displaying as hidden and are designated by the yellow text boxes. To access a hidden flash element click on “[Play Flash]”…

chrome-flashblock-06

And there is our hidden flash element displaying without any problems. To re-hide a flash element, simply click on “[Stop Flash]”.

chrome-flashblock-07

Conclusion

BlockFlash2 makes a nice addition to Google Chrome…access what you want and hide the rest!

Links

Download the BlockFlash2 User Script

Installed On: Windows Vista (32 bit), Service Pack 2

Akemi Iwaya (Asian Angel) is our very own Firefox Fangirl who enjoys working with multiple browsers and loves 'old school' role-playing games. Visit her on Twitter and .

  • Published 09/24/09

Comments (9)

  1. Noam Gal

    Thanks for all your chrome tips, but I am just wondering –

    Why do you insist on writing the commands to be added to the chrome command line as a picture, instead of normal text, which would be oh-so-much-easier to copy/paste into the properties window?

  2. bassmadrigal

    I have done a similar thing a little while back. I was looking for a way to block troublesome flash based ads in linux, because on my old laptop, some of those make the browser stop responding, or at least causes substantial slowdown to the system. In doing a bunch of research, I found an extension for Chrome that will block ads. It isn’t nearly as featureful as Adblock+ for Firefox (ability to whitelist or only block certain things), in fact there are no options at all. But it was the only solution I could find for linux, although I wasn’t looking for any userscripts.

    Anyway, here it is for those who want to check it out.
    http://www.adsweep.org/

    I had to add –enable-extensions to my chrome launcher (same as adding the userscript option that Asian Angel mentioned). Then on the later windows version you can probably just click on that crx file and it will install it, but on linux, I had to save the file to ~/.configs/chrome/extensions or something similar (laptop is at home, and I am at work) and then restart chrome. You can verify it is running by going to about:extensions

  3. ablevins

    How does the changing the Target Path from –enable-sync to –enable-user-scripts affect google bookmark sync through Chrome?

  4. Asian Angel

    @ablevins – You should be able to run both command switches at the same time…I myself have four command switches set up for my Chrome install. ^__^ Just make certain to have a single-space in between your command switches. ^__^

  5. Eight_Bit

    Where is the .js file ? I must be missing something here, the linked page indicates Greasemonkey is needed to install. I don’t see a .js file available on the userscripts.org page.

  6. Greg

    @Eight_Bit: Right-click the Install link on the userscripts.org page and Save As…

    Is there a different path for XP? I don’t have an AppData folder, so I put this in “C:\Documents and Settings\Greg\Local Settings\Application Data\Google\Chrome\User Data\User Scripts” and it seems to have no effect. Is there a way to tell if the script has been loaded or not?

  7. Asian Angel

    @Greg – Here is the official XP path from Google…hope this helps. ^__^

    Google Chrome: C:\Documents and Settings\\Local Settings\Application Data\Google\Chrome\User Data\Default

    Chromium: C:\Documents and Settings\\Local Settings\Application Data\Chromium\User Data\Default

    Listings for all O.S.s can be found here:
    http://dev.chromium.org/user-experience/user-data-directory

  8. Ju

    Hi,

    Searched the forums but couldn’t find anything on this. Running the latest stable version of Chrome, and can’t find the Chrome folder inside the Google folder in Appdata. I’m running Vista, unsure if it’s service pack 2 or not. The folders that show up are ‘Fast Search’ and ‘Google Gears for Internet Explorer’ (which I don’t use, but is installed). Any suggestions?

    Ju.

  9. Asian Angel

    @Ju – It sounds like you are looking in the “LocalLow” folder instead of the “Local” folder (should be right above the “LocalLow” folder) …

    AppData –> Local –> Google –> Chrome –> User Data –> Default –> “add a new folder named User Scripts”

    Hope that helps. ^__^

Enter Your Email Here to Get Access for Free:

Go check your email!