Forum Moderators: open

Message Too Old, No Replies

Detecting toolbars

Detecting toolbars

         

Peef

2:17 pm on Sep 14, 2005 (gmt 0)

10+ Year Member



Hello,

I was wondering if there were scripts that allow to detect if various toolbars are installed on the browser.

E.g. google toolbar, msn toolbar,...

Tia
Steven

JAB Creations

6:40 am on Sep 15, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Tia & Steven ... welcome to WebmasterWorld!

The only method I am aware of would be to detect an addition to the useragent some addons make. Not all addons add a signature to the useragent so unless there is another way beyond that you've lost me there.

Toolbars such as Hotbar do leave a signature in the UA so you could for example do this...

if (navigator.userAgent.indexOf("Hotbar")!=-1)
{}

The only reason I'd personally use anything to detect toolbars is to let the user know their computer is probally infested from being uninformed victim of internet exploiter.

Peef

6:54 am on Sep 15, 2005 (gmt 0)

10+ Year Member



heya,

thanks for the tip, the reason I need that is that some toolbars disturb the way our website works, our company has an e-learning platform and certain toolbars seem to refuse to let our courses be opened or other strange behaviour.

I'll keep looking and try out your tip :)