Skip to content

WebKit plug-in to prevent automatic loading of Adobe Flash content

Notifications You must be signed in to change notification settings

0xced/clicktoflash

 
 

Repository files navigation

#ClickToFlash

Note: if you have trouble installing or have had trouble in the past installing ClickToFlash, you'll need to issue this Terminal command once to work-around an Installer bug:

sudo pkgutil --forget com.github.rentzsch.clicktoflash.pkg

Download ClickToFlash 1.4fc6 here.

Currently requires Mac OS X 10.5 Leopard.

ClickToFlash is a WebKit plug-in that prevents automatic loading of Adobe Flash content. If you want to see the content, you can opt-in by clicking on it or adding an entire site to the whitelist.

Try control-clicking (or right-clicking) on an unloaded Flash box to access ClickToFlash's contextual menu which allows you to do advanced things like edit its whitelist, specify settings, and load all Flash on the page.

Please report bugs and request features on the Lighthouse ClickToFlash project site.

Want to chip in? Here's what needs to be done.

##Version History

  • 1.4fc6 download

    • If you've been using any of the 1.4fcX releases, you'll need to issue this Terminal command once to work-around an Installer bug: sudo pkgutil --forget com.github.rentzsch.clicktoflash.pkg

    • [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. (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 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 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

About

WebKit plug-in to prevent automatic loading of Adobe Flash content

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Objective-C 97.7%
  • JavaScript 2.3%