How to prevent links to open in Gmail's integrated mini-browser

柔情痞子 提交于 2020-08-01 09:18:09

问题


On Android, when the user opens a mail with Gmail and clicks a link contained in the mail, then this URL is opened in sort-of a "mini browser", with a special bar at the top.

In my case the URL is a Portable Web Application (PWA) and should be opened in the Chrome browser itself (giving the user the possibility to manually add the URL to the home screen).

Is there a way to tell Gmail to always open the URL in the normal Chrome Mobile browser (or the standard browser)?

target="_blank" doesn't seem to help...


回答1:


In Gmail go to settings --) General, and uncheck the option to open links in gmail.




回答2:


Users have an expectation of consistency when they interact with apps, sites, and browsers. You should let the browser defaults and user configuration control this behaviour. Surprised users will just be annoyed with your apps confusing differences with every other site they use.



来源:https://stackoverflow.com/questions/42586028/how-to-prevent-links-to-open-in-gmails-integrated-mini-browser

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!