Page 1 of 1
Spam protection
Posted: Tue Feb 17, 2026 2:08 pm
by miodrag
I want to leave mail and phone on site visible , any advice on how to protect from bots?
Re: Spam protection
Posted: Tue Feb 17, 2026 2:17 pm
by alan_sh
I'm not sure you can. Use a 'Contact me' form instead.
Alan
Re: Spam protection
Posted: Tue Feb 17, 2026 2:20 pm
by miodrag
Thank you brother

Re: Spam protection
Posted: Sat Feb 21, 2026 12:18 am
by Beth
Is it safe to add an image or icon with a link to the phone number via "smart links"?
Re: Spam protection
Posted: Sat Feb 21, 2026 12:53 am
by miodrag
I think bots cannot read from image just my opinion
Re: Spam protection
Posted: Sat Feb 21, 2026 1:33 am
by BaconFries
At one time displaying a email address in a image was effective but with todays modern bots they use Optical Character Recognition (OCR) technology to convert images into text and extract information making it readable to them.
Also if the telephone number is anywhere in the source of the html then it can be scraped by the bot and read.
There is methods that use obfuscation to hide the likes of emails and telephone numbers with javascript.
See the following example using JS Concatenation insert into the <body></body> of your oage to test
Code: Select all
<script>document.write('m'+'e'+'@'+'e'+'m'+'a'+'i'+'l'+'.'+'t'+'e'+'s'+'t'+'i'+'n'+'g'+'i'+'t'+'o'+'u'+'t'+'t'+'o'+'s'+'e'+'.'+'c'+'o'+'m');</script>
Re: Spam protection
Posted: Sat Feb 21, 2026 1:42 am
by miodrag
Thank you for info, ive tried with encoding and javasrcipt with buttons , in buttons url i have markers and the mail is inserted from javascript when button is clicked, what do you think about this method
Re: Spam protection
Posted: Sat Feb 21, 2026 10:07 am
by BaconFries
That should work