在移动Safari中隐藏地址栏,阅读器按钮可见 [英] Hiding Address Bar in Mobile Safari With Reader Button Visible
问题描述
好的,我正在使用建议的窗口 - scrollTo方法除了一个小点之外它在任何地方都可以游动。
Ok, so I'm using the suggested window-scrollTo method and it's working just swimmingly everywhere except for one little sticking point.
当Safari决定显示阅读器按钮时,我想要保存我的页面供以后阅读,它让地址栏保持整整5秒钟,然后像我问的那样最终隐藏它。用户体验时间的永恒性。
When Safari decides to show the "Reader" button figuring I might want to save my page for later reading, it keeps the address bar up for a full 5 seconds before finally hiding it like I asked. Kind of an eternity in UX time.
这是iOS 6的东西还是在iOS 5中也这样做了? (我目前没有5台设备可以测试它。)另外,有什么方法可以绕过它吗?
Is this an iOS 6 thing or did it also do this in iOS 5? (I don't have a 5 device to test it on at the moment.) Also, is there any way to get around it?
推荐答案
我看了很多,似乎没有办法禁用阅读器按钮。我发现唯一可行的解决方案是让您的网站不那么可读,因此Safari不会添加阅读器按钮。究竟什么使网站可读是非常模糊的。
I've looked around quite a bit and there doesn't appear to be any way to disable the reader button. The only possible solution I found was to make your site less "readable" so Safari doesn't add the reader button. Exactly what makes a site "readable" is pretty murky.
这里有一些关于什么使可读的研究: http://mathiasbynens.be/notes/safari-reader
Here's some research on what makes something "readable": http://mathiasbynens.be/notes/safari-reader
这是一个制作方法将您的内容放入CSS中可读性较差: http://askmike.org/2012/12/a-hacky-way-to-remove-the-reader-button-in-ios-safari/
Here's a method to make it less readable by putting your content in CSS: http://askmike.org/2012/12/a-hacky-way-to-remove-the-reader-button-in-ios-safari/
底线似乎是没有解决方案。希望Apple会添加一个元标记来禁用它,或者至少让我们更快地隐藏地址栏。
The bottom line seems to be that there is no solution. Hopefully Apple will add a meta tag to disable it or at least let us hide the address bar faster.
这篇关于在移动Safari中隐藏地址栏,阅读器按钮可见的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!