O
O
ortsuev332018-08-25 14:41:04
Web development
ortsuev33, 2018-08-25 14:41:04

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

2 answer(s)
D
Dimonchik, 2018-08-25
@ortsuev33

it is enough if there are additional checks on the server side

S
Semyon Kuznetsov, 2021-11-04
@zloy_kot_developer

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 question

Ask a Question

731 491 924 answers to any question