简体   繁体   中英

How is the prompt to add site as an application for tel links triggered?

A customer sent me a link to check something in an online switchboard. After logging in with Firefox I saw this prompt:

提示将站点添加为电话链接的应用程序

Checking the source I could not find how this is triggered. How is it done?

Navigator.registerProtocolHandler does registration. And browser asks user for confirmation then.

Beware not all the browsers support this, so check for method's existence

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM