Answer the question
In order to leave comments, you need to log in
What is the best way to hide phone numbers from robots?
sites like avito hide numbers and show them on click, as I understand it so that their information is not stolen, how is the theft of numbers from the site? and is it enough to hide them by clicking on the button and through ajax number request?
Answer the question
In order to leave comments, you need to log in
There are a couple of simple methods. But only from bots.
1. Load the phone asynchronously after loading the page
2. Substitute the phone number into the javascript.
Naturally, this will not save you from chelobots. But now it will be impossible to parse.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question