Search code examples
javascripthtmlinternet-explorertrusted-sitesinternet-options

Can I detect certain browser (IE) setting (not change, detect)?


I was just looking at this stackoverflow question: Display web browser settings

And that helps.

But, I'm curious if I can detect certain IE specific settings. I'm thinking some of the stuff in the Advanced Tab (e.g. Is 'Enable Integrated Windows Authentication' on)?

Or that our site was added as a Trusted Site? And within the Trusted Site settings, "Atomatic logon with current user name and password" is set?

I don't want to change them (I get that would be a huge issue that could be exploited). I just want to be able to present to the User:

"Hey, you need these couple of settings checked or unchecked for the site to work properly. Do this: a, b, c ... or Contact your Administrator".

Is this possible?


Solution

  • I don't think you can query these settings from within a web site. Being able to do so might introduce security holes.

    I'm sure some settings can be determined by using circumstantial evidence (like if a JavaScript doesn't execute, scripting is probably disabled). But I don't think there is a proper API to poll every setting; I guess the best you can do is serve the user some advice on what to look for. (like, "The xyz symbol in the bottom right bar should show a green checkmark like so.... the abc checkbox in the options dialog should be unchecked... etc")