使用 JavaScript 检测 Android 浏览器设置

发布于 2024-12-21 20:35:39 字数 188 浏览 4 评论 0原文

在 Android 浏览器中,您可以将“启用插件”设置为“始终打开”、“按需”、“关闭”。

这导致当 Flash 影片嵌入到浏览器页面中时,您需要点击箭头才能启动影片。

现在我的问题是,有什么方法可以通过 javascript 或类似的方式检测此设置吗? 这样我就可以嵌入 Flash 电影或使用解决方法?

谢谢!

In the android browser you can set "Enable Plug-ins" to "Always On", "On Demand", "Off".

this leads to the fact that when a flash movie is embedded into a browser page, you need to tap on an arrow to start the movie.

now my question is, is there any way to detect this setting via javascript or similar?
so that i can embed a flashmovie or use a workaround?

thanks!

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

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