Skip to main content
100%

Email CSS direction obfuscation -- with progressive enhancement

✓ Published0🌍 Public
Aabernier
Last edited Nov 22, 2013
Created on Aug 11, 2013

This example demonstrates email address obfuscation through CSS direction manipulation, with a hover interaction that reveals the original text. The code uses inline styles with `unicode-bidi: bidi-override` and `direction: rtl` to render the address backwards, while an `onmouseover` handler reverses the string via `split('').reverse().join('')` and clears the styling attributes. The HTML source contains a single hardcoded email address, `moc.liamg@reinreb.eniotna`, and relies entirely on vanilla browser APIs without external libraries. Progressive enhancement is evident as the address remains readable when CSS or JavaScript is disabled, though the reversal effect requires both.

AI-generated description

Similar vizzes