mobile - to check with JavaScript whether the page is displayed in a browser? -
can check javascript whether page displayed in browser or bookmark shortcut on homescreen?
almost not. reasonable way implement bookmark on home screen use snapshot stored locally. think it: device isn't going visit of pages every time go home screen; eat data transfer allowance, slow, , irritate people. instead, remember snapshot of page of last time visited, store locally, , use that. (for instance, that's how chrome desktop's new tab page works showing popular destinations. that's not exact same thing, it's same use case — , on desktop browser data transfer isn't issue.)
Comments
Post a Comment