4 ms·
I use JavaScript obfuscation[1] on my website and get very low amount of spam. However I am confident that some modern scrapers are using headless browsers and
by acylia 3y ago
I use JavaScript obfuscation[1] on my website and get very low amount of spam.
However I am confident that some modern scrapers are using headless browsers and wait for the DOM to be fully loaded before extracting the email from the text data.
[1]: https://ianisbernard.com/contact/ https://ianisbernard.com/contact/
- aragonite 3y agoA similar but CSS based method: put each character of the email address in a separate div, place the divs in the DOM in random order, but use CSS absolute positioning to make them appear in the right order to the user. Probably not straightforwardly scrapable by reading the DOM, would mess up text selection though.