jquery-mobile 支持的浏览器列表(用于 .htaccess)?

发布于 2024-10-05 03:59:10 字数 607 浏览 0 评论 0原文

我需要使用 .htaccess 文件将用户重定向到由 jquery-mobile 支持的网站版本。出于技术原因,我不能依赖使用 php 或 ruby​​ 或任何其他语言进行重定向。

所以我基本上试图将 jquery-mobile 支持的浏览器列表 转换为更简洁的用户-代理列表(可能是正则表达式)。

这样的列表/正则表达式是否存在?

注意:我正在寻找一种方法来回答“用户是否使用 jquery-mobile 支持的浏览器?”这个问题是/否。请不要使用通用浏览器标识符/列表进行回答,例如 wurfl 或 < a href="http://www.zytrax.com/tech/web/mobile_ids.html" rel="nofollow">zyntrax 的移动列表,除非它们包含 jquery-mobile 特定部分。

I need to use my .htaccess file to redirect the users to a jquery-mobile-powered version of my site. For technical reasons, I can't rely on doing the redirect using php or ruby or any other language.

So I'm basically trying to translate the list of jquery-mobile supported browsers to something a bit more condensed user-agent list (maybe a regexp).

Does such a list / regexp exist?

Note: I'm looking for a way to answer yes/no to the question "Is the user using a jquery-mobile-supported browser?" Please don't answer with generic browser identifiers/lists, such as wurfl or zyntrax's mobile list, unless they include a jquery-mobile specific section.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

小情绪 2024-10-12 03:59:10

这是 jquerymobile 支持的完整浏览器列表

http://jquerymobile.com/gbs/

抱歉,但我不支持有正则表达式

Here is the full browser list jquerymobile supports

http://jquerymobile.com/gbs/

sorry, but I do not have regex

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