To determine whether Telegram from a web page?

Hello, the task was to determine whether the user of the telegram on the phone? Let's say the user clicks the link, and if it is set it throws telegram on telegram channel, if not set it throws in another place. How to do it?
June 8th 19 at 16:41
2 answers
June 8th 19 at 16:43
It is really possible to do so.
the link leads to the page "to another place".

on this page reproduce the behavior of telegram.me/antson1974
there in a 1 second window.location is assigned
tg:blabla
tg: - this scheme telegram. if selected, the action should be executed.

sorry to hide the page from those who have telegram installed, is impossible.
A window opens to query into the OS
He would not give information ustanovlen whether soft or not - marilyne_Roh commented on June 8th 19 at 16:46
this is not possible to know which programs are the user. and if you figure out how, then the antivirus program it's quickly put an end to. - Thomas.Swi commented on June 8th 19 at 16:49
June 8th 19 at 16:45
Does
You don't need to be doing
Users do not like this

Find more questions by tags Telegram