Home > Article > Backend Development > How to use JavaScript to set a shortcut to the mobile homepage?
It is required to use a mobile browser to open a website and click the "Add to Desktop" button in the lower right corner. This page will generate a shortcut to the mobile desktop with the website's logo! Click the icon on the desktop to go directly to the home page!
Please give me some advice! ! ! Thank you very much in advance!
html code is:
<code><span id="todesk"><a href="http://www.baidu.com">加到桌面</a></span></code>
This is known on Baidu; it feels hard to understand! !
https://zhidao.baidu.com/ques...
Mobile home page:
Add shortcut to desktop:
It is required to use a mobile browser to open a website and click the "Add to Desktop" button in the lower right corner. This page will generate a shortcut to the mobile desktop with the website's logo! Click the icon on the desktop to go directly to the home page!
Please give me some advice! ! ! Thank you very much in advance!
html code is:
<code><span id="todesk"><a href="http://www.baidu.com">加到桌面</a></span></code>
This is known on Baidu; it feels hard to understand! !
https://zhidao.baidu.com/ques...
Mobile home page:
Add shortcut to desktop: