perl - how to detect if toolbar exists, and type

I'm looking for some perl code to detect the presence of a toolbar in the browser and its type (Google, alexa, etc).  Don' need a whole script - just the necessary to get the info...

cheers
jonnyfolkAsked:
Who is Participating?
 
moduloConnect With a Mentor Commented:
PAQed, with points refunded (250)

modulo
Community Support Moderator
0
 
COBOLdinosaurCommented:
You are definitely not going to do it with perl or anything else server side that I can think of.  The toolbars reside on the client, and they are BHOs, not plugins, so I doubt there is anything in the browser that can be tested.  You would need an activex control to look for the dll I think.

What is it you are trying to do that you need this?

Cd&
 
0
 
jonnyfolkAuthor Commented:
Hi Venabili,

thanks for bringing this to my attention.  I had left the question open to see if there was other comment.  I do not wish to accept  the answer of COBOLdinosaur, given in good faith as I'm sure it was, because it is plain wrong.  It is very straight forward to do this in perl:

if ($ENV{HTTP_USER_AGENT} =~ /Alexa/)

is one test (I got this from another source after I had posted) - had someone come up with something I would have awarded the points.

Regards,
Jon
0
 
COBOLdinosaurCommented:
I agree.  The question was not answer except by jonnyfolk.  So refund and PAQ would be appropriate... I shall save the solution for future reference; even thought what is being pickup could be spoofed by a malicious BHO trying to look like a good guy.

Cd&
0
 
jonnyfolkAuthor Commented:
Thanks for intervening,  COBOLdinosaur - I appreciate the time, effort and help that you give.  'Tis a great site indeed!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.