最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - When was S.browser_fallback_url introduced in Chrome? - Stack Overflow

programmeradmin5浏览0评论

I'm writing a web application (JavaScript, angularJS, etc) that runs better on Chrome, so it tries to launch it when, it's running on Android and it's opened on the default Android Browser. If Chrome isn't installed, I want it to go back to the Android Browser (instead of the Google Play store).

So I'm using an intent of this form: intent://localhost:3011/#Intent;scheme=http;package=.android.chrome;S.browser_fallback_url=http://localhost:3011/?intent=no;end

My problem is that when I run this on my android tablet (no-name, Lollipop 5.1.1, Default browser: Chrome 39) it doesn't work. When I use the separately installed Chrome (trying to load, e.g. firefox which isn't installed) it works.

So in order to proceed I need to know if I'm doing something wrong, or if there's some other reason. My question really boils down to this: should the browser_fallback_url work in the old default browser, or is it a newer feature in Chrome (so it's useless to my use-case).

Thanks.

I'm writing a web application (JavaScript, angularJS, etc) that runs better on Chrome, so it tries to launch it when, it's running on Android and it's opened on the default Android Browser. If Chrome isn't installed, I want it to go back to the Android Browser (instead of the Google Play store).

So I'm using an intent of this form: intent://localhost:3011/#Intent;scheme=http;package=.android.chrome;S.browser_fallback_url=http://localhost:3011/?intent=no;end

My problem is that when I run this on my android tablet (no-name, Lollipop 5.1.1, Default browser: Chrome 39) it doesn't work. When I use the separately installed Chrome (trying to load, e.g. firefox which isn't installed) it works.

So in order to proceed I need to know if I'm doing something wrong, or if there's some other reason. My question really boils down to this: should the browser_fallback_url work in the old default browser, or is it a newer feature in Chrome (so it's useless to my use-case).

Thanks.

Share Improve this question edited Dec 11, 2015 at 14:25 Kinlan 16.6k5 gold badges58 silver badges88 bronze badges asked Dec 8, 2015 at 14:37 iovariovar 531 silver badge4 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 16

I worked on this and wrote about it and updated the official documentation it was introduced in Chrome 40.

发布评论

评论列表(0)

  1. 暂无评论