6 ms·
I read it somewhere that Chinese websites are taking this kind of obfuscations to the next level. The simple ones are randomly ordered divs re-layouted by JS at
by b123400 8y ago
I read it somewhere that Chinese websites are taking this kind of obfuscations to the next level. The simple ones are randomly ordered divs re-layouted by JS at runtime. The complicated ones include custom font files which characters and glyph don't match, so for example <div style="font-family:custom-font">abc</div> would look like "123".
- MiddleEndian 8y agoThe font one seems like it's pushing it too far even for regular users since it breaks copy and paste. Also this all seems like it would break accessibility regulations.
- jandrese 8y agoChina has accessibility regulations?
- davb 8y agoYes. See https://www.w3.org/WAI/policies/ https://www.w3.org/WAI/policies/ I know it's currently trendy to make digs at China (increasingly common in HN comments) but it's a huge country with plenty of talented engineers and accessibility advocates. With an aging population [0], such accommodations are becoming increasingly important. [0] https://www.bbc.co.uk/news/world-asia-19630110 https://www.bbc.co.uk/news/world-asia-19630110
- b123400 8y agoYou are right, but I don't think companies care about accessibility. Facebook using the divs is already breaking screen reader.