早期黑莓浏览器的移动网站。 (带滚轮的 BB 设备)

发布于 2024-11-28 23:17:17 字数 127 浏览 2 评论 0原文

我正在为带有滚动条的旧黑莓设备开发网站。

我注意到它们从一开始就不支持样式和背景图像,这些需要在默认网络浏览器的选项中启用。

有没有办法强制浏览器启用这些选项?我正在针对 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

如痴如狂 2024-12-05 23:17:17

无法要求 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).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文