Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Possible new extension - Email obfuscator
Stash
✭
Is there interest in an extension that takes email addresses and obfuscates them so that spam bots have a harder time harvesting them? I was thinking about doing something like this and wondered if anyone else thinks it's a good idea.
0
This discussion has been closed.
Comments
$EmailReplace = '5';
and$EmailReplace = '5';
and all the options for the EO_HOOK_WHICH_FORMATTER eg:
default
andall
andHtml
In fact, when I set it to 5 and Html I end up with my email address being replaced with:
<a href="mailto:5">5<a/>
Edit: why is my text coming out bold here?
Is something ballsed up with the code above? Has some essential stuff been stripped out? Is that what's causing my text above to be bold and for the extension to not work?
$EmailReplace = '<a href="mailto:\\2@\\5">clicky</a>';
I'm not sure why it's coming out bold, though, I'll look into that...Ah, I see what happened. You misspelled one of your <strong> tags as <stong>, so the html formatter though you had an unclosed <stong> and an orphaned </strong> :-P
Rock on me with the typos :P (that hasn't been the only one to cause trouble today)
<a href="mailto:\\2@\\5">\\2@\\5</a>
And this:
<a href="mailto:email@server.com">email@server.com<a/>
Gives me this:
<a href="mailto:<a href="mailto:email@server.com">email@server.com</a>"><a href="mailto:email@server.com">email@server.com</a><a/>
$EmailReplace = '\\2 AT \\5';