Link to the mod (https://custom.simplemachines.org/index.php?mod=4220)
Email ObfuscatorA 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.
SettingsThere 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.
LicenseEmail 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.
ChangelogVersion 1.3:
- Fixes a bug on the Profile page when the "Require reactivation after email change" setting was enabled.
Version 1.2:
- More aggressively prevents search engines from indexing email addresses
Version 1.1:
- Added Latin Spanish translation
Version 1.0:
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!
Or it could be incentive to upgrade to 2.1.
This is well overdue! Excellent idea and mod.
Quote from: Rock Lee on March 19, 2019, 02:20:11 PM
Also I leave the translation to Latin Spanish @Sesquipedalian!
Thank you. I have added your translation in version 1.1. :)
Quote from: Rock Lee on March 19, 2019, 02:20:11 PM
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.
Quote from: Arantor on March 19, 2019, 03:21:17 PM
Or it could be incentive to upgrade to 2.1.
↑ Words of wisdom.
Quote from: Sesquipedalian on March 26, 2019, 02:06:58 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!
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.
??? ??
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....
Quote from: SugarD-x on April 08, 2021, 01:00:59 AM
Is this still working 100% in 2.1 RC3?
Sorry for the late reply. In answer to your question, yes.
Quote from: Sesquipedalian on May 27, 2021, 03:06:05 PM
Quote from: SugarD-x on April 08, 2021, 01:00:59 AM
Is this still working 100% in 2.1 RC3?
Sorry for the late reply. In answer to your question, yes.
Thank you!
Any reason the mod page hasn't been updated w/ v1.2?
Package says it's 1.2
I'll update the mod page for him since Sesq is not around atm. Done
Hello there, found quite the bug in this one...
Upon installing it shows black on white PHP at the end of the page in Profile Settings, specifically this:
") { alert('Since you decided to change your email, you will need to reactivate your account. You will now be logged out.'); return true; } }, false); var user_menus = new smc_PopupMenu(); user_menus.add("profile", "https://site/index.php?action=profile;area=popup"); user_menus.add("alerts", "https://site/index.php?action=profile;area=alerts_popup;u=33070"); user_menus.add("pm", "https://site/index.php?action=pm;sa=popup"); });
No errors in the error log, upon uninstalling the error disappears.
Regards
What version of SMF, and what theme are you using?
2.1.4, theme is irrelevant, happens on default as well but I'm on NameX.
I found the problem. This occurs when the "Require reactivation after email change" setting is enabled.
I have published version 1.3 to fix it.
Thanks for reporting the issue,
@Ninja ZX-10RR! :)
Fix confirmed to be working as intended, thanks a lot! :D
Excellent