Detect if website visitor has toolbars installed eg. Google toolbar using javascript

后端 未结 1 1228
傲寒
傲寒 2021-01-20 12:52

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

1条回答
  •  后悔当初
    2021-01-20 13:21

    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

    0 讨论(0)
提交回复
热议问题