Live data from Hacker News

Show HN: Where Adblock+ injects 20K CSS rules, HTTPSB injects one

github.com

131–140 of 183 posts

Re: Show HN: Where Adblock+ injects 20K CSS rules, HTTPSB injects one

#131

Adblock+ has been fine for me. Has anyone had any problems? Personally, Adblock+ has earned my trust over a long period of time, so it's hard to see myself switching to something else unless the reason was dire.

You don't have to switch. The code is GPLv3, rather modular, and if they decline to import it, the idea behind it can be easily implemented.

Re: Show HN: Where Adblock+ injects 20K CSS rules, HTTPSB injects one

#132
post #76

Earlier quoted context omitted.

Fine, we'll go back to the 1996 internet with far fewer ads. I note HN seems to be doing just fine without them.

HN is a YC marketing tool, it pays for itself quite easily.

Well there is one option for funding websites. I'm sure ingenious people will come up with dozens more. Instead of how it is now where they are forced to squander their creativity making sites that are ad-funded.

Not all of the web is ad-funded, and it's just a matter of us giving that part of the web a chance.

Re: Show HN: Where Adblock+ injects 20K CSS rules, HTTPSB injects one

#133
post #15

The thing with all these plugins, I shouldn't care as a user, I should be informed about these issues. If you use http://www.sublimetext.com/ you will get a dialog when scripts are running slow, as in, "Script XYZ took more than 1 second to process this file, you can disable it" All I want in FF or Chrome is the same. "Adblock blocked the UI for 4 seconds" "Adblock increased memory consumption by double" Or they coul…

Doesn't the new Internet Explorer do this? I don't really use it that much, but I remember seeing a message suggesting I disable a plugin that was causing slow load times.

Re: Show HN: Where Adblock+ injects 20K CSS rules, HTTPSB injects one

#134

Earlier quoted context omitted.

Nice. Just sourcing that: http://www.goodreads.com/quotes/461383-people-are-taking-the...

But how does it apply? A website is hardly a "public space". This quote makes no sense in the virtual world where everyone can build his own planet without ads if he wants to. Space is not limited here.

I think that the quote works for Internet advertising because the similarity is that the bus company or building owner, like a web site owner, chooses to take money from advertising companies because they offer the best return vs effort return. For their money the ad companies try to jam their message into your brain.

Re: Show HN: Where Adblock+ injects 20K CSS rules, HTTPSB injects one

#135
post #63

Earlier quoted context omitted.

Then HTTPSB is not the right extension for you.

Then it should not be compared to adblock.

I don't follow this logic. Both do generally the same thing, but with different approaches. This to me would make a comparison of the two different approaches very valid.

Re: Show HN: Where Adblock+ injects 20K CSS rules, HTTPSB injects one

#136
Apples and oranges.

ABP filters out (or, more correctly, modifies by styling them to not display) DOM elements, HTTPSB filters out HTTP requests. That's two completely different approaches, each with its own pros and cons, but neither is a real replacement for the other one (although both apples and oranges are suitable for eating).

On an unrelated note, a fun approach to fix ABP would be to introduce non-cascading style sheets, possibly with limited styling capabilities, specifically for adblocking. Those could be well-precompiled and run extremly fast while taking much less memory. But that would require hacking browser internals, so that's not gonna happen.

Re: Show HN: Where Adblock+ injects 20K CSS rules, HTTPSB injects one

#137

Given that advertising pays for a lot of the services we all use, the use of Adblock and similar programs constitutes defection in game theory terms - the more people who do it, the worse off we all are - which means even if you choose to do it yourself (I personally don't), it is against your interests to encourage other people to do it. Also, given that computing is one of very few areas of technology in which our…

I disagree with your basic assumption - that we want to preserve a web where services are paid for by advertising revenue. And so I actively encourage others to defect because I want to see that model come crashing down. The more people who do it, the better off we all are.

Re: Show HN: Where Adblock+ injects 20K CSS rules, HTTPSB injects one

#138

Could someone explain why Adblock injects CSS rules into the document? I presume it's to hide the ads, but what I don't understand is why that's the way it hides the ads. Why not simply remove the element containing the ad¹ instead? Additionally, presuming my earlier assumption is correct, if you hide the element with CSS, doesn't the browser still need to fetch the ad? ¹Get rid of as much crap ad HTML as possible. A…

What other options do you see? Searching and manipulating DOM in JavaScript wouldn't be faster than a single CSS stylesheet. Remember that there are >20K rules in play.

20K rules probably isn't that big, when you compile that to an automata. Most nodes are probably behind the edges that never traversed.

If there would be an option for a extension to hook into DOM element creation (i.e. when browser parses HTML and builds a tree, it'd call some user-defined predicate function) - that would possibly solve the issue.

I believe CSS is slow because of cascading nature - it requires re-compiling it from the very plaintext source on every page view, to combine ad-blocking rules with others - this certainly could be optimized (if browser side would provide tools for that). No idea about horrendous memory usage, though.

Re: Show HN: Where Adblock+ injects 20K CSS rules, HTTPSB injects one

#139
post #63
post #48

Earlier quoted context omitted.

But I don't want to use a strategy, I want to click a button and have adverts blocked.

Then HTTPSB is not the right extension for you.

You are calling HTTPSB an alternative for Adblock Plus.

One of the major use cases of Adblock Plus is effectively "Fire and Forget" mode - enable it and then don't worry about it.

You are saying HTTPSB does not support this use case.

As such, I don't see why you can call it an alternative to Adblock Plus.

Re: Show HN: Where Adblock+ injects 20K CSS rules, HTTPSB injects one

#140
Why bother installing an ad blocker if your brain already has an ad ignorer plugin? Furthermore, this ad ignorer software is quite good at learning: the advertirzers may shift place and shape but it will only fool you once, or none. Hence the need of massive user bases on 'free' online services, because only a tiny percentage of brains fall for the ads and even a tinier chunk of these clickers turn into buyers.
Post reply on HN