chadselph/OOptOut-Chrome-Extension — pull request #7 by lazerwalker (2011-11-29 21:18:20+00:00)
Title: Support for use as a Safari Extension

Thanks for making this! Love it so much in Chrome I wanted to get it working on Safari.

The JS worked perfectly without any modifications, but the CSS needed some very minor tweaking; Safari gives a site's default stylesheets precedence over injected stylesheets, and FB happens to already define style behavior for elements. I also threw some instructions into the README to help folks get it up and running.

(Just tagging !important onto the CSS selectors overwritten by FB's stylesheet might seem like a dirty hack, but it's actually the behavior recommended by Apple: http://developer.apple.com/library/safari/#documentation/Tools/Conceptual/SafariExtensionGuide/AddingStyles/AddingStyles.html)