3 ms·
New Yorker has wised up to content blockers, and appears to be postfixing their class IDs with random gibberish. This is a common trend; I can't say I'm terribl
by zeta0134 8y ago
New Yorker has wised up to content blockers, and appears to be postfixing their class IDs with random gibberish. This is a common trend; I can't say I'm terribly surprised by it.
Fortunately their prefixes are relatively sane, and CSS supports wildcard matches. I like to block the sidebars on article sites like these because they usually contain the bulk of the distracting content, and this rule works wonderfully:
www.newyorker.com##div[class*=ArticlePageSidebar]
Just thought I'd share.
- y4mi 8y agoYou might want to look at your adblock subscriptions if you're manually creating rules. There are very dedicated and helpful people doing that already :)
- delinka 8y agoI’m out if touch with HTML & CSS, and I use something like umatrix instead of an ad blocker so I’m curious... How is it that the entire web isn’t already obfuscated to make this as thorny as possible? If we’re passing our JS through minifiers, why aren’t we doing similar to HTML such that element IDs are randomized/hashed every time the page is generated?
- deleted 8y ago[deleted]
- fredsted 8y agoIt's been happening for a while, but it makes it harder for developers to debug their sites. We'll see full minification of css soon, but of course we'll probably also see machine learning systems for blocking ads, too.