【发布时间】:2025-12-05 06:25:11
【问题描述】:
我有两个问题。
//// 我想要这个 ////
我想使用 javascript 或 html 在其他 android 移动 webapp(例如 naver、firefox 等)上打开带有 url 的 chrome 浏览器
所以例子) 如果用户在移动网络应用程序上单击 MysiteButton,则使用重定向 url(在 chrome 上)打开 android 设备移动 chrome 浏览器。
我该怎么办。
//// 问题列表 ////
-
我发现我应该使用深度链接或意图,但我不知道 android 移动 chromebrower 的意图 url 或方案 url。 什么是 android mobile chromebrower 的意图 url。如何获得。 (我用 window.location.href = "market://detail?id=com.android.chrome"; 但没用)
-
当我使用深度链接或意图时,如何在打开 chrome 的同时重定向 chrome 上的 url
【问题讨论】:
-
重复问题,请查看*.com/a/29673757/3424327
-
谢谢你的回答。但也许它是不同的。我想用 javascript 或 html(如果单击我的主页按钮)从其他浏览器(前 firebox 浏览器不是我的构建应用程序)打开 anroid chrome 浏览器
-
在浏览器(例如 Firefox/Chrome)中运行的 Web 应用程序是沙盒的,并且不与系统交互。例如,您无法通过浏览器打开相机。据我所知,打开 chrome 的唯一方法是成为默认浏览器。
-
谢谢!我以其他方式解决
-
@minsulee 请告诉我们你是怎么做的。我也需要
标签: javascript html google-chrome android-intent deeplink