Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

I think CSS is probably good enough that we can live without UA sniffing for this.


sort by: page size:

Half the time the UA sniffing has nothing to do with capabilities and just has to do with people only wanting to test in one browser and use only one set of prefixed CSS properties...

Right, but maybe later versions of CSS won't be indistinguishable from malware for basic web browsing purposes.

If they're rewriting html, I guess sanitizing css won't be beyond them.

I'll happily agree. I was only pointing out that obfuscation of CSS was not happening.

Yes, if CSS starts becoming powerful enough to do become a security hole, it will become imperative to selectively disable it, or at least its new, unsafe features.

Many people have that concern. What we don't want is to take away CSS maintenance from non-developer designers.

I hope it’s a sign that more designers / front-end people are adopting good development practices! CSS is already a nightmare to maintain so using source control can only be a good thing.

At some point we need to ask who's asking for these CSS features?

Unless it's coming from the NSA who just wants more attack surface, I don't see the point...


The thought of a backend technology knowing about my site's CSS theme makes me shudder.

You might also not need CSS.

Doesn't mean you should bruteforce everything with just one tech. CSS is hard to maintain.


It's better to reject a 3MB boilerplate CSS file out of hand. Some things are better left untried.

If a user turns off CSS then virtually no websites will render correctly for them. Adding a specific detection for that fail state is really just unnecessary bloat.

The cohort concerned about tracking, one would think, would not be deterred by broken CSS considering they already live in a JS-free world and might be used to some visual-compromise when browsing.

Building a powerful sandbox that maintains anonymity is a difficult problem. The statement that CSS is overpowered is clickbait for a different argument.

I really hope that's sarcasm. Otherwise we will have people ripping out CSS, like how some people don't optimize because premature optimization is evil. I also don't want to go back to font tags.

Validating css (or html, rss for that matter) is a bit more than idealistic bullshit. It is testability and professionalism.

Right because dealing with CSS hacks transpilation to target older browser versions is both simple & pleasant.

If you're desperate for new features, you might not care if the CSS is a little wonky.

Does it? I don't think you can reliably identify whether something is visible if the other site, which controls the CSS, does not want you to. It's a classical arms race situation.
next

Legal | privacy