Advertisement:

Author Topic: Email Obfuscator  (Read 1544 times)

Offline Sesquipedalian

  • The Mad Doctor
  • On Hiatus
  • Sophist Member
  • *
  • Posts: 1,160
  • Gender: Male
  • It works! ... in theory.
    • Sesquipedalian on GitHub
Email Obfuscator
« on: March 19, 2019, 07:27:08 AM »
Link to Mod

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:
  • Added Latin Spanish translation

Version 1.0:
  • Initial release
I promise you nothing.

Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

Offline Rock Lee

  • Native Language Support Specialist
  • SMF Hero
  • *
  • Posts: 3,900
  • Gender: Male
  • Learning more every day!
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: Email Obfuscator
« Reply #1 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!
¡Regresando como cual Fenix! ~ Bomber Code © 2020
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: Email Obfuscator
« Reply #2 on: March 19, 2019, 03:21:17 PM »
Or it could be incentive to upgrade to 2.1.
No good deed goes unpunished
All helpful urges should be circumvented

Offline Biology Forums

  • SMF Hero
  • ******
  • Posts: 3,781
    • StudyForcePS on Facebook
    • @studyforceps on Twitter
Re: Email Obfuscator
« Reply #3 on: March 19, 2019, 05:42:42 PM »
This is well overdue! Excellent idea and mod.

Offline Sesquipedalian

  • The Mad Doctor
  • On Hiatus
  • Sophist Member
  • *
  • Posts: 1,160
  • Gender: Male
  • It works! ... in theory.
    • Sesquipedalian on GitHub
Re: Email Obfuscator
« Reply #4 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. :)
I promise you nothing.

Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

Offline Sesquipedalian

  • The Mad Doctor
  • On Hiatus
  • Sophist Member
  • *
  • Posts: 1,160
  • Gender: Male
  • It works! ... in theory.
    • Sesquipedalian on GitHub
Re: Email Obfuscator
« Reply #5 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.
I promise you nothing.

Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

Offline Rock Lee

  • Native Language Support Specialist
  • SMF Hero
  • *
  • Posts: 3,900
  • Gender: Male
  • Learning more every day!
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: Email Obfuscator
« Reply #6 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!
¡Regresando como cual Fenix! ~ Bomber Code © 2020
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

Offline SugarD-x

  • Full Member
  • ***
  • Posts: 414
  • Gender: Male
  • SMF and PHPBB Fan
    • SugarDx on Facebook
    • SugarD-x on GitHub
    • sugardx on LinkedIn
    • @SugarDx on Twitter
    • Clan Xperience
Re: Email Obfuscator
« Reply #7 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.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 60,355
  • Gender: Male
    • Kindred-999 on GitHub
Re: Email Obfuscator
« Reply #8 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....
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Offline Sesquipedalian

  • The Mad Doctor
  • On Hiatus
  • Sophist Member
  • *
  • Posts: 1,160
  • Gender: Male
  • It works! ... in theory.
    • Sesquipedalian on GitHub
Re: Email Obfuscator
« Reply #9 on: May 27, 2021, 03:06:05 PM »
Is this still working 100% in 2.1 RC3?

Sorry for the late reply. In answer to your question, yes.
I promise you nothing.

Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

Offline SugarD-x

  • Full Member
  • ***
  • Posts: 414
  • Gender: Male
  • SMF and PHPBB Fan
    • SugarDx on Facebook
    • SugarD-x on GitHub
    • sugardx on LinkedIn
    • @SugarDx on Twitter
    • Clan Xperience
Re: Email Obfuscator
« Reply #10 on: May 28, 2021, 11:08:28 AM »
Is this still working 100% in 2.1 RC3?

Sorry for the late reply. In answer to your question, yes.
Thank you!