Safari 5 Extension Development
developer.apple.com
developer.apple.com
> Safari 5.0 and later (and other Webkit-based browsers) generates a “beforeload” event before loading each sub-resource belonging to a webpage. The “beforeload” event is generated before loading every script, iframe, image, or stylesheet specified in the webpage, for example.
Isn't this exactly what the NoScript's author says Chrome extension was lacking[2]?
[1]: http://developer.apple.com/safari/library/documentation/Tool...
[2]: http://hackademix.net/2009/12/10/why-chrome-has-no-noscript/
It all seems a bit backwards, to me.
Compared to downloading the ads, the overhead of running a blocker is negligible, no matter how fast your connection is.
I think it's the main reason Chrome (even with the ad blocker) actually feels slower on many sites compared to Firefox with AdBlock. It may win in terms of raw speed, but Firefox actually has to spend less effort loading the resources, which is a larger gain.
I actually like Chrome's "load then hide" version of AdBlock because the ad impression counts. It doesn't do much for PPC ads, but for PPI, the website owner has "made an impression" with the ad unit.
Of course, it's robbing the advertiser at the same time....
Many people install AdBlock without seemingly realizing this difference. What I would like to see a much more discerning ad-blocking solution that punishes scammy, distracting, or otherwise abusive ads, and rewards advertisers that create consumer-friendly ads.
With a load-then-hide system the website owner has fewer effective metrics on whether or not people are actively blocking his ads. Perhaps when his impressions start dropping precipitously he would be much more compelled to act.
Of course, all of this hinges on the existence of a trusted adblock source that takes upon itself great pains to maintain a list that bans only abusive advertisers. I'm not holding my breath.
http://kirindave.tumblr.com/post/675464589/safari-5-port-of-...
My big question is: will these make it to the iPad version of Safari?
I really, really hope so.
Then enable extensions. (Develop → Enable Extensions)
http://kevin.sb.org/2009/09/02/1password-extension-loading-i...
Is it possible for chrome and safari extensions to be interoperable, especially as they both have the same underlying web-kit technology? Surely, we do not want another platform fragmentation and battle. I am sure developers would love do no more work than recompiling the extension they built for Chrome. It will be a win for everyone.
I suppose the core functionality of more advanced extensions could be shared, with only different interface glue, but with simple ones, it won't be worth the bother to try to share.
Good times for add-on developers!