This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Martin Ottenwaelter (author)
Thu Aug 27 09:51:35 -0700 2009
commit 435135f70628d5a39b99f2e2fa9648aeab37f87a
tree a36396d934edf858c51fb457b67da52c9b6999f5
parent 259e847791aa15b92a66ac5d7db05028590b184c
tree a36396d934edf858c51fb457b67da52c9b6999f5
parent 259e847791aa15b92a66ac5d7db05028590b184c
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
COPYING | Mon Mar 16 07:20:05 -0700 2009 | |
| |
Installer/ | Mon Mar 16 07:03:49 -0700 2009 | |
| |
README | Mon Mar 16 07:13:34 -0700 2009 | |
| |
Resources/ | ||
| |
Safari AdBlock.xcodeproj/ | ||
| |
Scripts/ | Mon Mar 16 07:03:49 -0700 2009 | |
| |
Sources/ | ||
| |
THANKS | Mon Mar 16 07:28:42 -0700 2009 | |
| |
Third-party/ |
README
Safari AdBlock http://burgersoftware.com/safariadblock INTRODUCTION ================== Safari AdBlock blocks ads in Safari. It works as an InputManager to inject code in Safari and uses the Adblock Plus <http://adblockplus.org> filters. BUILD INSTRUCTIONS ================== The following command sudo xcodebuild install builds Safari AdBlock and produces an installer located at build/Release/Safari AdBlock x.x.x.pkg Alternatively, you can open the Xcode project "Safari AdBlock.xcodeproj" and build it from within Xcode. Note that this method will not produce the installer. FRAMEWORKS ================== If you want to build yourself the third-party frameworks, you need to change the dynamic shared library install names recorded in the Mach-O binary. A quick an easy way to do it is to first build the framework without altering the build settings and then work on the executable file. We will take Sparkle as an example. Start by doing otool -L Sparkle.framework/Sparkle The output should be something like @executable_path/../Frameworks/Sparkle.framework/Versions/A/Sparkle (compatibility version 1.5.0, current version 1.5.0) ... What we need to do is change @"executable_path" to "@loader_path" so that when Safari AdBlock is loaded, it looks for the framework inside its bundle and not inside Safari's bundle. It is done with the command install_name_tool -id "@loader_path/../Frameworks/Sparkle.framework/Versions/A/Sparkle" Sparkle.framework/Sparkle Finally, verify that it worked: otool -L Sparkle.framework/Sparkle now outputs @loader_path/../Frameworks/Sparkle.framework/Versions/A/Sparkle (compatibility version 1.5.0, current version 1.5.0) ... ...








