Prevent links from opening in Safari when using the app as a standalone webapp