Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议增加浏览器内打开app功能 #149

Open
misaka72233 opened this issue Mar 9, 2021 · 2 comments
Open

建议增加浏览器内打开app功能 #149

misaka72233 opened this issue Mar 9, 2021 · 2 comments

Comments

@misaka72233
Copy link

misaka72233 commented Mar 9, 2021

背景:个人比较喜欢使用mo.fish浏览信息,在mo.fish的NGA板块内,查看帖子,点击某条帖子后提示,打开app,查看。
其他:据我观察,在NGA官方web端点击按钮可以直接打开app是通过点击a标签,a标签的href属性为nga://?tid=12345678,具体代码如下:
<a href="nga://?tid=12345678">APP阅读</a>
我只是一个前端开发,并不懂安卓相关知识,不能给你提供更过帮助,但我还是希望开源NGA上有这个功能
技术支持:百度/google搜索Android 使用浏览器打开APP

@elrondliu
Copy link
Collaborator

我试试增加一个scheme

@undownding
Copy link
Contributor

试了,无解。这个功能在 Chrome 25 后已经被废弃,换了 FireFox 也拉不起来。

https://stackoverflow.com/questions/33427077/custom-url-scheme-with-google-chrome-in-android

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants