Content Blocking by CSS in Safari 44
ahknight writes "There's a nice summary of how to get various kinds of content, in this case ads, blocked from being displayed via a custom stylesheet you add to your browser. This is mainly for Gecko-based browsers and rather old news, but the good news is that it also appears to work in the ... umm ... latest version of Safari."
nice ! (Score:1)
Keep editing your HOSTS file (Score:2, Insightful)
Re:Keep editing your HOSTS file (Score:1)
Ad blocking Good (Score:4, Insightful)
Re:Ad blocking Good (Score:1)
There's a limit (Score:5, Insightful)
read
text
that
looks
like
this.
Tragedy of the commons and all that. The people whose ads are being blocked should get angry at the idiots who force us to block ads by making their ads so huge, obnoxious and badly-placed.
Stupid layout (Score:5, Insightful)
So, if you are running a 1600x1200 window and larger fonts (anti-aliasing? I need no anti-aliasing!)
you
get
an
article
like
thi
If the morons would either
then there wouldn't be a problem - large browser users like me would either get an article that spans the available space (the width option) or could at least override the setting on the article text in our CSS (the common class option).
I've contacted several sites about this. For example, PBS (hosters of the Cringely articles) responded saying "Some people don't like long lines of text, so there!" (OK, then they can resize their windows to get the line length they want.)
Unfortunately, since every site uses a slightly different "width=", and since CSS does not allow you to say "width=[400..800]" or something like that, you have to have a seperate entry for each site, and when the webmaster(bater) changes the layout you have to update your CSS and restart your browser.
I do wish people would realise that HTML is about giving enough info to my browser to render the page, not about being pixel-exact.
Re:Stupid layout (Score:2)
Yes, there are limits, a vertical line of single words is also hard to read. Text is easiest to read when the column is 2.5 to 6 inches wide. Limiting the width is a good idea because of this.
It w
Re:Stupid layout (Score:2)
The webmaster(bater) does not know what my comfort threshold is.
Let me decide what I want to read.
Re:Stupid layout (Score:3, Insightful)
But then agin, the whole thing is irritating. Web designers forget, unlike TV, surfing isn't passive. You piss of a viewer, they walk.
Ciao!
Re:Stupid layout (Score:1)
Re:Stupid layout (Score:2)
Re:Stupid layout (Score:2)
Have you tried:
body > table {width: 100%;
}
Re:Stupid layout (Score:2)
Re:Stupid layout (Score:1)
Re:Stupid layout (Score:1)
The site isn't using CSS, the user is.
Re:Stupid layout (Score:1)
More stupid layout things (Score:2)
Web designers who INSIST on using fixed width for news sites (while wasting screen real estate) should be bloody well fired.
It's really quite simply wank - C|net do it, CNN do it, the BBC do it - and Wired do it too (with the actual articles). It's MORONIC and the ONLY justification they have is that they are too lazy/stupid to work out how to make things scale p
Re:More stupid layout things (Score:2)
Web designers who insist on making websites that are browser friendly WILL be bloody well fired.
As a web designer/developer -- and, let me clarify -- one who has to do it for a LIVING, and not by having a website that makes ME money, but rather making websites for OTHERS -- you have little to no control over how you design the website. The client wants to have blue columns on each s
Re:More stupid layout things (Score:1)
Re:Stupid layout (Score:2)
You mean like the CSS min-width and max-width attributes [w3.org]?
--Dan
Re:Stupid layout (Score:2)
Try this: (Score:2)
If you click on this bookmark in Mozilla, it will zoom through the currently
Re:Ad blocking Good (Score:2, Insightful)
Better ROI than ads, I'd say, and the site looks cleaner for it.
Solves half the problem (Score:4, Interesting)
Now I hardly ever see ads, and the ads I don't see never get loaded in the first place, saving my bandwidth. Of course, that means that the web sites I visit never record a hits on their ad servers from me, whereas using the style sheet alone is completely transparent to the server.
Oh, and both the Proxy Auto Config and the Style Sheet hacks should work just fine with most web browsers, not just Mozilla and Safari.
Re:Solves half the problem (Score:2)
Perhaps. It depends which browser you use. Some browsers (including mozilla, I believe) don't load images that are hidden using { display: none; }.
Re:Solves half the problem (Score:2)
*cough* (Score:3, Informative)
The latest version of Safari? (Score:3, Informative)
Re:The latest version of Safari? (Score:1)
Hmmmm? (Score:2)
http://www.apple.com/safari/download/
Now lets play with these CSS sheets!
Junkbuster? (Score:3, Interesting)
Anyone know of a source for fresh blocklists, or a program that's updated more regularly? I'd prefer to keep it Junkbuster if possible.
Re:Junkbuster? (Score:1)
Re:Junkbuster? (Score:2)
In the meantime though, I did find a relatively new [neilvandyke.org] blocklist for Junkbuster, if anyone's interested.
by the way... (Score:2, Informative)
Privoxy (Score:2)
http://www.privoxy.org/ [privoxy.org]
Re:Privoxy (Score:1)
Ok, this works fairly well, but... (Score:2)
Blocks Flash ads! (Score:3, Informative)
For those not aware of this, it is possible to use this CSS method of blocking ads to block Flash advertisements .. arguably, the most annoying. Try something like so:
As you find Flash ads that aren't blocked, just add another entry for the size of ad you're seeing ... in my CSS, I have at least 8-10 such entries. Common sizes are:
Re:Blocks Flash ads! (Score:1)
Looks like another thing we'll have to wait for in Safari...
hosts is still the easy way to go (Score:2, Informative)
Re:hosts is still the easy way to go (Score:2)
% bbedit
Also, I like the regex-like way you can block ads with style sheets, but since I still have to load them (they're just not displayed), this isn't going to be an option for me. I see banner ads as massive wastes of bandwidth.
-/-
OmniWeb blocks ads with no effort (Score:1, Informative)