v2ex 可以支持 android chrome web app?

2015-05-02 17:02:20 +08:00
 nocwat

Android上的Chrome支持添加到主屏幕的Web App了,访问 v2ex.com 添加到主屏幕后点击就可以显示成单独App应用的形式,v2ex 没有做相应处理出来会有地址栏之类的(改过之后点击应用图标出来的就是一个单独的全屏Web应用了,基本看不出来是访问网页的),这样就不用安装客户端的了。

现在我的Android手机的淘宝、微博都是这样搞的,实在受不了这两个官方App的渣体验了。

参考这里:
https://developer.chrome.com/multidevice/android/installtohomescreen

3658 次点击
所在节点    V2EX
8 条回复
Septembers
2015-05-02 18:25:58 +08:00
@Livid @vCleaner This may be moved to /go/feedback
lincanbin
2015-05-02 18:48:01 +08:00
特别烦这些厂商自定规则,为什么不能和W3C协商一下,制定个通用规则呢?

https://github.com/lincanbin/Carbon-Forum/blob/master/styles/mobile/template/layout.php

我自己的开源论坛项目做了个移动版的,前面20行都是兼容UC、QQ、百度、Apple Safari、Windows Phone8/Windows8 IE的各种写法。
现在再加上Google Chrome的,head里得有30行基本都是实现全屏、图标的各种写法了。
lincanbin
2015-05-02 18:51:37 +08:00
Chrome will also allow web apps to launch in "App mode" if they embed a meta tag using the "apple-mobile-web-app-capable" name. Chrome will stop supporting this usage in an upcoming release. Chrome currently shows a deprecation warning in the Developer Tools’ console log when it detects a page with only the "apple-mobile-web-app-capable" meta tag. The warning appears as follows:


注意到Chrome原来是兼容iOS Safari的标准的,但是现在有了自己的标准,决定在新版本中不再支持iOS的标准了。
nocwat
2015-05-02 23:29:09 +08:00
@lincanbin W3C不是动作太慢了么~~~
1423
2015-05-03 00:38:39 +08:00
同求实现。试了试轻单的效果,感觉实在太棒了,希望 L 大好好考虑下 https://qdan.me/
lincanbin
2015-05-03 02:54:02 +08:00
@nocwat 没大公司去屌一下动作当然慢。
zachguo
2017-12-31 03:12:27 +08:00
+1
zachguo
2018-01-04 07:57:33 +08:00
@Livid 老贴了,但能否考虑一下?这样用户就不需要使用其他非官方 app 了,也可以缓解广告流量的流失。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/187960

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX