On a web page being viewed on an iOS device, I would like to use JavaScript to determine if the address bar is currently displayed. Or if I could detect if the page was launched from the main screen or not.
The main goal I have is to add instructions on how to add to the main screen if they did not start the page, and then hide the instructions.
source share