检测网站访问者是否安装了工具栏,例如。使用 JavaScript 的 Google 工具栏
我正在开发一个经常使用弹出窗口的在线教育网站。这是第三方提供商的学习管理系统的一部分,因此不可能改变其工作方式。
我们接到很多帮助台电话,用户在操作系统、浏览器设置和其他工具栏中苦苦挣扎于弹出窗口拦截器。
我正在使用 javascript 来嗅探浏览器和操作系统,以便我们可以在屏幕上显示适当的弹出窗口阻止程序指令。
是否可以使用类似的技术来检测浏览器工具栏?
I am working on an online education website that frequently uses pop up windows. This is part of a learning management system from a third party provider so not possible to change the way this works.
We get lots of helpdesk calls with users stuggling with popup blockers - in their OS, browser settings and additional toolbars.
I am using javascript to sniff browser and OS so we can display appropriate pop up blocker instructions onscreen.
Is it possible to do similar technique to detect browser toolbars?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在“站长世界”上似乎有一些关于这个问题的讨论,提供的解决方案如下所示:
http://www.webmasterworld.com/forum80/704.htm
他们似乎可以说,您需要使用的 classid 对于不同版本的工具栏来说有点移动目标,更不用说人们可能安装的任何其他工具栏和古怪的东西了。作为一名从事电子学习内容和学习管理系统工作的人,检测多年来阻碍的所有事情的想法让我很头痛。特别是如果我使用的是第 3 方 LMS,因此无法真正在服务器上“一次”修复它,并且每次新版本的工具栏 X 出现时都必须重新打包内容。
另外,浏览器用户代理字符串中似乎会出现各种工具栏,但如果您需要可能会出现的 JavaScript/客户端解决方案:
例如 http://www.zytrax.com/tech/web/firefox-history .html
There seems to be some discussions around this over on "webmaster world", the solutions provided look something like this:
http://www.webmasterworld.com/forum80/704.htm
They seem to be saying that the classid you need to use is a bit of a moving target for different versions of the toolbar, to say nothing of any of the other toolbars and wacky things that people may have installed. As someone who works with elearning content and LMSs the idea of detecting all of the things that have got in the way over the years gives me a headache. Especially if I was using a 3rd party LMS so can't really fix it "once" on the server and would have to repackage the content each time a new version of toolbar X came out.
Also it seems various toolbars will appear in browser user agent strings, but if you are needing a javascript/client-side solution that might be out:
eg http://www.zytrax.com/tech/web/firefox-history.html