Hacker News new | ask | show | jobs
by sinaa 4114 days ago
Great idea. You could even generate a random mapping of the letters -> CSS classes on each load, making it very difficult for bots to decipher.
1 comments

Would it really though? Bots can beat CAPTCHA.
Obviously it won't make it impossible to decipher, just harder (and perhaps not worth the effort). If the line order of each statement is also randomized and useless attributes are added, they'd have to pretty much compile the CSS and compare the attributes.

The alternative way to beat all email obfuscation techniques is of course taking a snapshot and running OCR on it, but certainly not worth the effort/CPU time.

Not as much effort as you might think. Command-line rendering of html (including css and js) and taking a screenshot is not very difficult. If a site used this method, and someone is highly motivated to break that captcha, the effort put in would be nothing compared to the benefit of bypassing the "security".
They could just make a map of the class attributes. It would be easy.