News for hackers. Stuff that matters.
Re:Start with a Website, Not a Mobile App by fermuch on Friday January 04, 2019 @01:13PM (#18826238)
Is there a way to know when a site is loaded from the home screen instead of the browser?
Re:Start with a Website, Not a Mobile App by EmielMols on Friday January 04, 2019 @01:18PM (#18826285)
Yes, window.navigator.standalone
Re:Start with a Website, Not a Mobile App by NightlyDev on Friday January 04, 2019 @03:47PM (#18827449)
As the previous guy said you can check for standalone on iOS. You can also add an parameter to the URL so it opens eg. /?homescreen or something like that.