Files
StudyDiary/20-我的收藏夹/21-浏览器收藏/开发网站/webplayer/手机浏览器通过Scheme跳转APP,兼容各种手机浏览器_scheme 浏览器_generallizhong的博客-CSDN博客.md
CrazyJasonwell fb40c9b109 add all
2025-10-25 20:35:10 +08:00

17 lines
1010 B
Markdown
Executable File
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
raindrop_id: 670472431
created: 2025-08-30T11:44
updated: 2025-09-22T13:26
---
# Metadata
Source URL:: https://blog.csdn.net/generallizhong/article/details/115461284
---
# 手机浏览器通过Scheme跳转APP,兼容各种手机浏览器_scheme 浏览器_generallizhong的博客-CSDN博客
文章浏览阅读3.6k次。 一个比较完整的产品线,必定有APP和网站,另外还有微信公众号网页和小程序。那么有一个比较常见的需求就是在手机浏览器内打开APP,实现起来也比较简单,只要APP配置的有URLScheme即可。但是因为无法判断是否安装APP,所有只能尝试去打开APP,如果打不开则跳转到APP下载页面。另外手机浏览器的类型很多,各个浏览器显示的效果也不一样,一直无法找到一个完全兼容所有浏览器的方法,没有完美的解决方案。  打开APP的操作就是链接打开 location.href = "scheme://",APP未安装的时_scheme 浏览器
## Highlights