"Add to Home screen" Script for Mobile Sites

Started by Biology Forums, November 16, 2018, 01:37:32 AM

Previous topic - Next topic

Biology Forums

Has anyone successfully managed to add the "Add ______ to Home screen" prompt when using the website on mobile?

Websites are starting to behave more like apps these days, and I've seen this popup several times on different sites using Chrome (on Android).

I tried adding a manifest.json information via the link: https://biology-forums.com/favicons/manifest.json though it doesn't seem to work.


SychO

Reading through this, It seems simple to do with chrome, idk about other browsers, they're probably similar though
https://developers.google.com/web/fundamentals/app-install-banners/

Also It doesn't just create an app for mobile, but also for desktop
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze


SychO

Not really, haven't had the chance to try this yet.
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

Advertisement: