Feeds

Google discovers Chrome can (really) block ads

AdBlock add-on of Firefox proportions

Boost IT visibility and business value

Google Chrome now includes the ability to completely block resources from loading inside the browser, and the latest incarnation of the AdBlock extension for Chrome is using this "beforeload" event to not only hide ads from the user but prevent them from downloading entirely.

This brings the Chrome AdBlock extension in line with its namesake, the popular AdBlock Plus add-on for Firefox.

The Chrome extension — available here — is maintained by independent developer Michael Gundlach, and although the two share a name, it's not related to the popular AdBlock Plus Firefox add-on from coder Wladimir Palant. But as of last month, they also share the ability to block an ad before it downloads.

Google opened up Chrome to extensions in December, but until recently, the AdBlock extension could merely hide ads — not block them. "Firefox has always had support for blocking resources from downloading," Gundlach tells The Reg. "But when Chrome extensions came out, they lacked that ability, so they weren't as powerful as Firefox was. We've been having to hide the ads after downloading them or add CSS rules that say 'don't show these ads' even though they're downloading."

It's unclear when the "beforeload" event was added to Chrome — in part because it wasn't added by Google. Apple added it to the open source WebKit engine used by Chrome, and at some point, it made its way into the Google browser. It's now available in the latest stable version of Chrome, version 5. "Thank Apple," says Googler Aaron Boodman, the man who created the Firefox Greasemonkey extension, in an online discussion recently dug up by a Slashdot reader. "They added it to WebKit. We just inherited it."

In February, Boodman opened an issue at the open source Chromium project saying that ad blocking, flash blocking, and privacy extensions need to "declaratively block external resources like images, plugins, and iframes." Then, on June 15, he announced that beforeload was available. Chrome 5 — which includes beforeload — had been released three weeks earlier.

Boodman also called beforeload a "partial solution" to the resource-blocking problem. "The 'beforeload' feature is considered a good workaround but not a complete solution," he says. Apparently, Google is looking into additional tools.

Meanwhile, Gundlach has also ported his Chrome AdBlock extension to Apple Safari, which also uses the WebKit engine. You can find the Safari version here. The two extensions are free, but if you feel like donating to the developer, you can do so here.

Firefox was able to capture 25 per cent of the browser market in large part because it offered extensions, and many have pinned a large chunk of its success on AdBlock Plus in particular. With Chrome now offering the ability to block ads entirely, Firefoxers may have more reason to switch.

"I hope one day [the ability to block resources] will be added into Chrome," one poster said before he realized that it had been added. "When this becomes true, I can use Chrome as my only browser. But now sadly, in the area of blocking Ads, Chrome is less powerful than Firefox. I'm looking forward this can be changed!" According to online research outfit Net Applications, Firefox controls 23.81 per cent the browser market, while Chrome is at 7.84 per cent and climbing.

Yes, Google is an advertising company. But you can bet that its internal data suggests that even if an ad blocker is available for its browser, most netizens won't bother to install it. ®

Boost IT visibility and business value

More from The Register

next story
HIDDEN packet sniffer spy tech in MILLIONS of iPhones, iPads – expert
Don't panic though – Apple's backdoor is not wide open to all, guru tells us
NO MORE ALL CAPS and other pleasures of Visual Studio 14
Unpicking a packed preview that breaks down ASP.NET
Captain Kirk sets phaser to SLAUGHTER after trying new Facebook app
William Shatner less-than-impressed by Zuck's celebrity-only app
Mozilla fixes CRITICAL security holes in Firefox, urges v31 upgrade
Misc memory hazards 'could be exploited' - and guess what, one's a Javascript vuln
Apple fanbois SCREAM as update BRICKS their Macbook Airs
Ragegasm spills over as firmware upgrade kills machines
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
EU dons gloves, pokes Google's deals with Android mobe makers
El Reg cops a squint at investigatory letters
Chrome browser has been DRAINING PC batteries for YEARS
Google is only now fixing ancient, energy-sapping bug
prev story

Whitepapers

Top three mobile application threats
Prevent sensitive data leakage over insecure channels or stolen mobile devices.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Top 8 considerations to enable and simplify mobility
In this whitepaper learn how to successfully add mobile capabilities simply and cost effectively.
Application security programs and practises
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
The Essential Guide to IT Transformation
ServiceNow discusses three IT transformations that can help CIO's automate IT services to transform IT and the enterprise.