开发者

How do you add an android bookmark for a webapp using javascript?

开发者 https://www.devze.com 2023-02-12 02:44 出处:网络
Is there a way to create an \"Add to homepage\" from within an Android web app using JavaScript? The standard way to do this is complicated:

Is there a way to create an "Add to homepage" from within an Android web app using JavaScript?

The standard way to do this is complicated:

  • Bookmark the page
  • 开发者_如何学Python
  • Go to the home screen
  • Long-press in an empty space to bring up the “Add to Home Screen” menu
  • select “Shortcuts”
  • select “Bookmark”
  • choose your bookmark

Thanks-


There is no way you can add a shortcut to your webpage from your webpage as the browser does not recognise the intent scheme which is necessary to perform this.

0

精彩评论

暂无评论...
验证码 换一张
取 消