After you choose to add a shortcut to the home screen, its “run shortcut” URL scheme is assigned a specific link ID in the HTML code of the web app. Using JavaScript and MouseEvents, the web app then ...