Live data from Hacker News

Sample Google Chrome Extensions ‎(Chromium Developer Documentation)‎

dev.chromium.org

11–20 of 21 posts

Re: Sample Google Chrome Extensions ‎(Chromium Developer Documentation)‎

#12
post #4

I'll ask the question on everyone's minds. Can an ad-blocking extension be made?

Privoxy is pretty easy to set up, and works with any browser. http://www.privoxy.org/

Is it me, or does nobody seem to quite understand why Adblock Plus is such a good solution for blocking ads?

Let me list a few.

Automatic updates - a requirement for me. Ads are removed as the page loads, rather than after loading. Element Hiding Helper lets me pick DOM elements to remove and create filtering rules based on that. And all of this is wrapped up in a nice UI too!

Yes, yes, Adblock Plus doesn't block as much as Adsweep by default, but I don't care because I don't just use the default blocklist. I add my own on top. And I can see no way of doing that in Adsweep, so Chrome + Adsweep remains a no-go for me until they sort that out!

Re: Sample Google Chrome Extensions ‎(Chromium Developer Documentation)‎

#13
post #8

Earlier quoted context omitted.

Thanks. I took a look and the Chrome extension is basically the same as the greasemonkey script. Does anyone know if this is less efficient than the way Adblock Plus does it? If so, is it possible to do it more efficiently with a Chrome extension?

Yes, AdBlock is more efficient because it doesn't load the ads at all while Chrome/greasemonkey load and hide them. No, I don't think it can be more efficient because chrome extensions like greasemonkey scripts cannot modify the page before it is loaded. I may be wrong, I had only a cursory look at the technology.

"No, I don't think it can be more efficient because chrome extensions like greasemonkey scripts cannot modify the page before it is loaded."

Thus guaranteeing I will never use Chrome.

Re: Sample Google Chrome Extensions ‎(Chromium Developer Documentation)‎

#14
post #8

Earlier quoted context omitted.

Yes, AdBlock is more efficient because it doesn't load the ads at all while Chrome/greasemonkey load and hide them. No, I don't think it can be more efficient because chrome extensions like greasemonkey scripts cannot modify the page before it is loaded. I may be wrong, I had only a cursory look at the technology.

"No, I don't think it can be more efficient because chrome extensions like greasemonkey scripts cannot modify the page before it is loaded." Thus guaranteeing I will never use Chrome.

Plain Chrome feels faster than FF with AdBlock even on relatively ad-heavy sites.

Re: Sample Google Chrome Extensions ‎(Chromium Developer Documentation)‎

#16
post #14

Earlier quoted context omitted.

"No, I don't think it can be more efficient because chrome extensions like greasemonkey scripts cannot modify the page before it is loaded." Thus guaranteeing I will never use Chrome.

Plain Chrome feels faster than FF with AdBlock even on relatively ad-heavy sites.

[deleted]

Re: Sample Google Chrome Extensions ‎(Chromium Developer Documentation)‎

#17
post #14

Earlier quoted context omitted.

"No, I don't think it can be more efficient because chrome extensions like greasemonkey scripts cannot modify the page before it is loaded." Thus guaranteeing I will never use Chrome.

Plain Chrome feels faster than FF with AdBlock even on relatively ad-heavy sites.

I agree. Chrome is just incredibly fast, and Firefox, on the three major OS's in my life, feels slow after a couple hours of use.

In practice, I always have at least 2 different browsers open, one of them usually Firefox, but Chrome is the fastest one, used for surfing, while FF for web-dev/management-y stuff.

Re: Sample Google Chrome Extensions ‎(Chromium Developer Documentation)‎

#18
post #3

Who else thinks they should get the Mac version out before spending time on this stuff...

The obvious answer to that is "probably Mac users, and nobody else."

As a non-Mac user (at least lately) -- I'd MUCH rather they work on everything but that, really. And yes, I do realize how selfish that is, but it's probably not that much more selfish than your wants.

Re: Sample Google Chrome Extensions ‎(Chromium Developer Documentation)‎

#19
post #8

Earlier quoted context omitted.

Thanks. I took a look and the Chrome extension is basically the same as the greasemonkey script. Does anyone know if this is less efficient than the way Adblock Plus does it? If so, is it possible to do it more efficiently with a Chrome extension?

Yes, AdBlock is more efficient because it doesn't load the ads at all while Chrome/greasemonkey load and hide them. No, I don't think it can be more efficient because chrome extensions like greasemonkey scripts cannot modify the page before it is loaded. I may be wrong, I had only a cursory look at the technology.

What about "@run-at document-start"?

http://code.google.com/p/chromium/issues/detail?id=4478#c5

Re: Sample Google Chrome Extensions ‎(Chromium Developer Documentation)‎

#20
post #3

Who else thinks they should get the Mac version out before spending time on this stuff...

Aaron Boodman (the creator of Greasemonkey) and others are working on this part of chrome. Aaron had initially tried to get his idea for extensions as greasemonkey scripts into Firefox between 1.5 and 2.0.

Google isn't a small startup. Even if Mac is more important than their extension story, it makes no sense having non-Mac developers working on it. They aren't simply building a GUI, they are doing hard "OS level" work of building the security sandboxes for processes - something that is requiring trail blazing work.

Post reply on HN