001
001

Reputation: 65147

Internet explorer add on and the website

Is the website able to determine if a particular IE add on has been installed or not?

How do you have the web page detect the IE add on?

Upvotes: 0

Views: 199

Answers (4)

i_am_jorf
i_am_jorf

Reputation: 54600

In IE just expose an Active X control from your add-on, and then instantiate it using new ActiveXControl() inside a Javascript try {} block. If it succeeds, your extension is installed. If it fails, probably not. You can even expose a .version() method to get the version of the control.

Upvotes: 0

kagali-san
kagali-san

Reputation: 3082

If the addon is available via Javascript/ActiveX interface, its absense may be checked by catching an exception on calling some (missing) addon's function.

This way, checking for few common addons leads to nice browser's fingerprinting method. Refer to: http://www.informatica64.com/Wbfingerprinting/

Upvotes: 1

DisgruntledGoat
DisgruntledGoat

Reputation: 72530

In general, no; however it depends on what the add-on does. If it modifies the web page in some way (e.g. removing ads) then it should be possible to use Javascript to detect if the current page has been modified.

Upvotes: 1

Steve
Steve

Reputation: 5853

No doubt you can detect most through JavaScript; it'd be addon-specific.

Upvotes: 0

Related Questions