Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Sesquipedalian on March 19, 2019, 07:27:08 AM

Title: Email Obfuscator
Post by: Sesquipedalian on March 19, 2019, 07:27:08 AM
Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=4220)

Email Obfuscator

A modification for Simple Machines Forum verion 2.1 that obfuscates email addresses in order to protect them from being harvested by spammers. Real humans accessing your site with a normal browser will see the email address just like normal, but harvesting bots will see only some inline JavaScript filled with random characters.

This should not be relied on as absolute, 100% protection against harvesting bots, but it will help a great deal.


Settings

There is one setting, "Show a fallback version of obfuscated email addresses to users without JavaScript", which is disabled by default. When this option is disabled, users without JavaScript enabled will only see a message telling them that they must enable it to see the hidden content. When this option is enabled, they will see a fallback that uses various HTML and CSS tricks to make the email address illegible to a machine while still appearing to a human like a normal, readable address.


License

Email Obfuscator is released under the MIT License. A full copy of this license is included in the package file.

Email Obfuscator includes a copy of Base64.js, which is released under the BSD 3-clause License. Please see https://github.com/dankogai/js-base64 for details.


Changelog

Version 1.1:

Version 1.0:
Title: Re: Email Obfuscator
Post by: Rock Lee on March 19, 2019, 02:20:11 PM
Actually the logic seems very good, could you apply to the 2.0 branch this? I think it's very useful. Also I leave the translation to Latin Spanish @Sesquipedalian!


Regards!
Title: Re: Email Obfuscator
Post by: Arantor on March 19, 2019, 03:21:17 PM
Or it could be incentive to upgrade to 2.1.
Title: Re: Email Obfuscator
Post by: Biology Forums on March 19, 2019, 05:42:42 PM
This is well overdue! Excellent idea and mod.
Title: Re: Email Obfuscator
Post by: Sesquipedalian on March 23, 2019, 05:07:15 PM
Also I leave the translation to Latin Spanish @Sesquipedalian!

Thank you. I have added your translation in version 1.1. :)
Title: Re: Email Obfuscator
Post by: Sesquipedalian on March 26, 2019, 02:06:58 AM
could you apply to the 2.0 branch this?

This mod uses several integration hooks that only exist in 2.1. That doesn't mean it would be impossible to backport this to 2.0, but it would be awkward and messy.

Or it could be incentive to upgrade to 2.1.

↑ Words of wisdom.
Title: Re: Email Obfuscator
Post by: Rock Lee on March 26, 2019, 09:04:21 AM
This mod uses several integration hooks that only exist in 2.1. That doesn't mean it would be impossible to backport this to 2.0, but it would be awkward and messy.

I suspect a little, well it would be another reason to upgrade to 2.1 although I'll wait until the gold version comes out. Thanks for taking the time to respond!


Regards!
Title: Re: Email Obfuscator
Post by: SugarD-x on April 08, 2021, 01:00:59 AM
Is this still working 100% in 2.1 RC3?

This mod is an amazing idea. If anything, this should be integrated directly into SMF as a core feature for security purposes.
Title: Re: Email Obfuscator
Post by: Kindred on April 08, 2021, 12:13:47 PM
??? ??

security?

If someone posts their email address, how is that an SMF security problem?

Email addresses for USERS in their profile are already not exposed at all....