早期黑莓浏览器的移动网站。 (带滚轮的 BB 设备)
我正在为带有滚动条的旧黑莓设备开发网站。
我注意到它们从一开始就不支持样式和背景图像,这些需要在默认网络浏览器的选项中启用。
有没有办法强制浏览器启用这些选项?我正在针对 bb 8300 设备模拟器进行测试。
I am developing site for older blackberry devices with scroller.
I ve noticed that they do not support styles and background images from start, these needs to be enabled in options in default web browser.
Is there a way to force browser to enable these options? I am testing against bb 8300 device simulator.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
无法要求 BlackBerry 浏览器以编程方式自动启用 Javascript。
如果浏览器检测到页面需要 Javascript,一些较新的型号会弹出一个对话框,询问用户是否要打开 Javascript。
不幸的是,即使是这些较新的模型,虽然默认启用 CSS 等功能,但默认情况下仍然不启用 Javascript。
如果要永久启用它,用户需要通过设备设置手动设置该选项。
我认为,如果您不想依赖设备弹出一个对话框,要求用户为您的网站启用 Javascript,那么最好的方法是确定 BlackBerry 浏览器何时未启用 Javascript,然后让用户知道您的页面需要它(也许还提供一些有关如何在其 BlackBerry 设备上启用 Javascript 的说明)。
There is no way to require the BlackBerry browser to automatically enable Javascript programmatically.
Some newer models will pop up a dialog box asking the user if they would like to turn Javascript on if the browser detects that the page requires Javascript.
Unfortunately, even these newer models, while enabling things like CSS by default, still do not enable Javascript by default.
If it's to be enabled permanently, the user would need to set that option manually through the device settings.
I think, if you don't want to rely on the device hopefully popping up a dialog asking the user to enable Javascript for your site, that the best route would be to determine when a BlackBerry browser doesn't have Javascript enabled, and let the user know that your page needs it (perhaps also providing some instructions on how to enabled Javascript on their BlackBerry device).