Feeds

Google discovers Chrome can (really) block ads

AdBlock add-on of Firefox proportions

Build a business case: developing custom apps

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. ®

Bridging the IT gap between rising business demands and ageing tools

More from The Register

next story
NO MORE ALL CAPS and other pleasures of Visual Studio 14
Unpicking a packed preview that breaks down ASP.NET
DARPA-derived secure microkernel goes open source tomorrow
Hacker-repelling, drone-protecting code will soon be yours to tweak as you see fit
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
Put down that Oracle database patch: It could cost $23,000 per CPU
On-by-default INMEMORY tech a boon for developers ... as long as they can afford it
Google shows off new Chrome OS look
Athena springs full-grown from Chromium project's head
Apple: We'll unleash OS X Yosemite beta on the MASSES on 24 July
Starting today, regular fanbois will be guinea pigs, it tells Reg
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
prev story

Whitepapers

Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
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.
Seven Steps to Software Security
Seven practical steps you can begin to take today to secure your applications and prevent the damages a successful cyber-attack can cause.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.