Paul Philippov

Comments (4)

Wouter to Why JavaScript email obfuscation does not work

That depends on how you implement it. I pondered on this for a while and in the end decided to use a fake link that triggers a piece of JS that injects the proper e-mail mailto: link into the DOM tree. That works. I tried the above script and it fails for brainbaking.com ;-) Cheers!

8 months ago

Paul Philippov to Why JavaScript email obfuscation does not work

Well, you do not publish your email on the page, you dynamically create it upon interaction with the content. That falls out of the test cases. Although, as a visitor, I appreciate the elegance of the approach. This exact form acts somewhat similar and successfully prevents spam comments from bots. But again, it's a dynamic content creation _upon interaction_.

8 months ago

Jim Gagnon to Why JavaScript email obfuscation does not work

Should state the version of python and libraries needed to run your code. It's far from trivial to install requests_html and invoke without error.

6 months ago

Paul Philippov to Why JavaScript email obfuscation does not work

Jim, Python 2 is deprecated, so it is Python 3. Installation is quite simple: $pip install requests-html

6 months ago