WebKit plug-in to prevent automatic loading of Adobe Flash content
Objective-C JavaScript
Pull request Compare This branch is 48 commits ahead, 238 commits behind rentzsch:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


This page only hosts the source code for ClickToFlash. To download ClickToFlash, learn how to use it, solve installation problems, fix a PandoraJam incompatibility issue, and more, please visit the ClickToFlash website.

Version History

  • 1.5b4 download

    • [NEW] "Play Fullscreen in QuickTime Player" contextual menu command for viewing YouTube videos in QuickTime Player (which has niceties like supporting the Apple remote). bug 216 (Simone Manganelli)

    • [NEW] Application-wide whitelisting for apps like Hulu Desktop, PandoraJam and Wii Transfer that utilize Flash. bugs 26, 118 and 230 (Simone Manganelli)

    • [NEW] User preferences now are stored in a separate file, allowing them to be shared across application. Parasitic prefs are migrated to the external file and then deleted. bug 73 (Simone Manganelli)

    • [NEW] Uninstall button (with a confirmation sheet) in the settings window. bug 226 (Simone Manganelli)

    • [NEW] Gradient on 10.4 now looks the same as 10.5 and 10.6. (Kevin Hiscott)

  • 1.5b3 download

    • [NEW] Additional executable architechure: x86_64. This addition enables ClickToFlash to work on Safari 4 on Mac OS X 10.6 Snow Leopard. ClickToFlash retains compatiblity with 10.4-and-later on both PowerPC and Intel (the full list: 10.4/ppc, 10.4/i386, 10.5/ppc, 10.5/i386 and 10.6/x86_64). (rentzsch)
  • 1.5b2 download

    • [NEW] Gear icon only appears upon mouse-over (hovering). (Otyr Ugla)

    • [NEW] Add custom gear image (derived from Cocoatron) for 10.4 systems which lack NSActionTemplate. (Michael Baltaks, Math Campbell)

  • 1.5b1

    • [NEW] Restoring 10.4 compatibility. (Michael Baltaks)

    • [NEW] Installer-package-building overhaul. Now creates 10.4-compatible .pkgs. Abandons evil .pmdoc files. (rentzsch)

    • [CHANGE] 10.4 compatiblity: only use -[NSBundle loadAndReturnError:] when it's available. (rentzsch)

    • [FIX] Work-around MATrackingArea 10.4 GC incompatiblity. (rentzsch)

  • 1.4.2 download

    • [CHANGE] Set WebPluginDescription to Shockwave Flash 10.0 r22. We have to bald-face lie in order to tip-toe around various in-the-wild broken Flash version detection scripts. bugs 176, 177, 178, 180, 185, 187, 188, 192 (Jeff Johnson)

    • [DEV] Start restoring 10.4 compatibility. Currently incomplete. (Michael Baltaks)

  • 1.4.1 download

  • 1.4 download

    • [CHANGE] Rename WebPluginDescription from ClickToFlash Flash 9.0 r151 to Shockwave Flash 9.0 r151 (ClickToFlash) to better spoof sites (like CNN video) that check for specific flash versions. (Simone Manganelli)

    • [CHANGE] Version now included in the 'Installed Plug-ins' page; added version number to settings window. (Simone Manganelli)

    • [CHANGE] Removed the installation check for Safari, because it was causing problems for people who had moved it from its standard location, and stupid PackageMaker doesn't have a way to check via bundle identifier. (Simone Manganelli)

    • [CHANGE] ClickToFlash's extension to .webplugin. Activate GC support in both ClickToFlash and Sparkle. (Simone Manganelli)

    • [FIX] Sparkle now correctly relaunches WebKit instead of Safari after installing an update. (Simone Manganelli)

    • [FIX] "Install plugin for user" Xcode target shell script. bug 153 (pom)

    • [CHANGE] Use same version numbering scheme as Flash plugin, because stupid web sites check for this. bug 161 (Jeff Johnson)

    • [FIX] Prevent installation on volumes other than the root volume. (Simone Manganelli)

    • [FIX] Replace use of deprecated methods. (Jacques Vidrine via twitter)

    • [FIX] Confusing installer UI that says it will install for all users and then only installs for the current user. (Simone Manganelli)

    • [FIX] Quote pathnames in installation script. (Cédric Luthi)

  • 1.4fc6 download

    • If you've been using any of the 1.4fcX releases, please issue the following Terminal command. After doing so, again attempt reinstallation of ClickToFlash: sudo pkgutil --forget com.github.rentzsch.clicktoflash.pkg Please note, if you receive this error: No receipt for 'com.github.rentzsch.clicktoflash.pkg' found at '/'., you do not need to worry. If you see this error, then the next time you install ClickToFlash, it should work correctly.

    • [NEW] Option to disable ClickToFlash globally. bug 94 (Patrick McCarron)

    • [NEW] Contextual menu item to download H.264 file from YouTube. (Simone Manganelli)

    • [NEW] Contextual menu item that opens the YouTube.com page for embedded YouTube players. (Simone Manganelli)

    • [NEW] .icns file so the Sparkle update dialog doesn't show the generic document file icon (Simone Manganelli)

    • [NEW] Dynamically loads Sparkle from internally bundled framework when host doesn't already use Sparkle. bug 99 (rentzsch

    • [NEW] Allow host apps that use Sparkle 1.5 or later to update ClickToFlash. (Simone Manganelli)

    • [FIX] Work-around an Installer bug. bugs 95, 96, 113, 122, 125, 126, 128, 133, 144 (Simone Manganelli)

    • [FIX] Sparkle crasher in scheduleNextUpdateCheck. (Jeff Johnson)

    • [FIX] Hang when loading Walmart pages. (Jeff Johnson and Simone Manganelli)

    • [FIX] Gear image was drawn in an incorrect position in rare cases. (Peter Hosey and Simone Manganelli)

    • [FIX] If the gear icon isn't drawn, the contextual menu no longer pops up if you click in the upper-left corner of the view. (Simone Manganelli)

    • [FIX] Correct tooltip on "Enable ClickToFlash" checkbox. (rentzsch)

    • [CHANGE] Opacity changes are now added to the original styles (instead of replacing) so positioning and other attributes remain unaffected. (Simone Manganelli)

  • 1.4fc5 download

    • Removes April Fool's special edition feature, fixes most broken sites.
  • 1.4fc4 download

    • April Fool's special edition. [Simone Manganelli]
  • 1.4fc3 download

    • This update is exactly the same as 1.4fc2 and only exists to test/demonstrate Sparkle updating.
  • 1.4fc2 download

    • [NEW] Added buttons in settings panel to allow for manual update checking. (Simone Manganelli)

    • [NEW] Nil hosts get whitelisted by default. This effectively disables ClickToFlash in Dashboard and other places where it might be desirable to do so. (millenomi)

    • [DEV] Add 1.4fc3 to appcast. It's functionally identical to 1.4fc2 and only exists to test Sparkle updating.

  • 1.4fc1 download

    • [NEW] Menu command to load all flash views -- or just invisible ones -- on a page. This should fix a number of sites that don't at first seem to work with ClickToFlash. (Simone Manganelli, et al.)

    • [NEW] "Click To Flash" menu item(s). Installs automatically into Safari and Vienna under their application menus. (Simone Manganelli, Jeff Johnson, et al.)

    • [NEW] Explicit YouTube support. Built-in support for directly loading higher-quality H.264 versions of videos (contextual menu item "Load H.264"). (Joey Hagedorn, et al.)

    • [NEW] Explicit sIFR support: ignore sIFR, always load it or always suppress it. bug 49 (Ian Wessman, et al.)

    • [NEW] Edit whitelist in Settings panel. bug 25 (Ben Gottlieb 1, 2, et al. 1, 2)

    • [NEW] Old custom installer replaced with a standard Installer.app .pkg. bug 27 (Alexander Brausewetter)

    • [NEW] Automatic plugin updating via Sparkle. bug 28 (rentzsch)

    • [NEW] Whitelisting now takes into account an object's src URL, which should allow embedded videos from whitelisted sites to play (e.g. YouTube). bug 57 (Ian Wessman)

    • [CHANGE] Badge now renders better on a variety of backgrounds.

    • [FIX] Fixed bugs identified by clang static analyzer. (Jeff Johnson)

    • [FIX] Fixed leak that caused all CtF views to not be deallocated by using validateMenuItem to update the Add <site> to Whitelist menu item instead of a binding. (1)

    • [DEV] Fix deprecated use of +stringWithContentsOfFile:. (Chris Parker)

    • [DEV] Clean up build settings. No need to build universal in Debug or link to Carbon. (Jeff Johnson)

    • [DEV] Add build warnings. Fix resulting warnings. Treat warnings as errors. (Jeff Johnson 1, 2)

    • [DEV] Populate CFBundleVersion with ${PRODUCT_VERSION} instead of hard-coding with 700. (Dave Dribin)

  • 1.3+tiger download tiger/leo version

    • [NEW] Universal Tiger/Leo PPC/Intel Compatibility! (Well, its been tested on Tiger/PPC and Leo/Intel, but the plugin is now universal and should work everywhere)
    • [NEW] The installer now also works on Tiger
    • [FIX] Darkened gradient on Tiger for better visibility
    • [FIX] Removed Copy address contextual menu as it was flakey
  • 1.3 download

    • [NEW] Flash badge is now drawn in code (vector image), and draws smaller in smaller flash boxes. bug 12

    • [NEW] Flash badge rotates counter-clockwise for narrow flash boxes. bug 12

    • [NEW] "Add to whitelist" contextual menu item now lists the url that's to be whitelisted. bug 20 (Kevin A. Mitchell)

    • [NEW] Extend coverage to <object> and <embed> tags that lack type or classid attributes by adding swf to the plugin's WebPluginExtensions Info.plist key. bug 19 (fds)

    • [NEW] Kill badge flicker for whitelisted sites (bug 17) and load all flash boxes when whitelisting one (bug 10).

    • [FIX] Remove -menuForEvent: as it already returns the NSResponder's -menu by default. (Dave Dribin)

    • [FIX] Remove CTFInstaller.m from the bare plugin target. bug 44 (Chris Parker)

    • [DEV] Make Rakefile honor build products directory. bug 43 (Chris Parker)

  • 1.2+tiger download tiger version

  • 1.2 download

    • [NEW] Handle <object> and <embed> that are missing a type attribute. That fixes a number of the broken sites. bug #19 (Jason Foreman)

    • [NEW] Activate on mouse-up, instead of mouse-down. Draw as "pressed in" during mouse-down, tracking the mouse like normal button. (Peter Hosey)

    • [NEW] Added a seperator to the context menu.

    • [FIX] Release build-time script that includes the project's entire build directory. (Peter Hosey)

  • 1.1 download

    • [NEW] Tasteful "Flash" icon now drawn on top of the gradient to make it more clear that it's blocked Flash content. (Ricky Romero, Justin Williams)

    • [NEW] Contextual menu and simple whitelist editor. (Dave Dribin)

    • [NEW] Show the Flash box's source as a tooltip. (Jason Foreman)

    • [NEW] Installer can update older versions. (rentzsch)

    • [NEW] Rakefile to compile & upgrade the plugin by running 'rake' in the directory. (Ale Muñoz)

    • [NEW] Localization support. (Eric Czarny)

    • [DEV] Clean-up. Nonatomic properties, remove unused methods, unsigned => NSUInteger. (Jim Correia)

    • [DEV] Change CFBundleIdentifier from com.google.code.p.clicktoflash to com.github.rentzsch.clicktoflash. (rentzsch)

    • [FIX] Installer now quits when canceling. (rentzsch)

    • [FIX] Removed the container image from the installer. (Eric Czarny)

  • original Google code project deleted. This fork takes on official-ish mantle.

  • 1.0+rentzsch download

    • Forked from original Google code project (Jonathan 'Wolf' Rentzsch)

    • [NEW] Site whitelisting by holding down option key when clicking a flash box. (Gus Mueller)

    • [FIX] Use -[NSEvent modifierFlags] instead of Carbon's GetCurrentKeyModifiers(). (Chris Parker)

    • [DEV] Store white-listed sites in an array instead of composite keys. (Jean-Francois Roy)

  • 1.0 original Google Code release