Prev Previous Post   Next Post Next

IE7 detect protected mode in script

Posted: 11-09-2006, 03:39 AM
Hi,

I was referred to this group because the people on the scripting/IE
groups thought I'd have better luck here.

I need to identify if IE7 is running in protected mode on Vista so my
web page can help the user (in a user friendly way) add my site to their
trusted zone.

Does anyone know how to do this using scripting?

I've had the following 2 suggestions so far:
1. get the temp directory and if it ends in a directory called "Low"
then the browser is likely to be in protected mode.

2. use a try/catch block to capture the exception from performing an
operation that is prohibited when running in protected mode.

I like the 2nd suggestion the best since it will probably get fewer
false positives than the 1st suggestion.

Does anyone have a suggestion for the prohibited operation I should use?

Naturally, I want the script to be as reliable and robust as possible.
It's pretty frustrating that there is a function to do this when writing
a browser extension but there seems to be nothing when scripting on web
pages...


Thanks
Ty

Please reply to the group as my e-mail probably won't work.
Reply With Quote

Responses to "IE7 detect protected mode in script"

 
LinkBack Thread Tools Display Modes
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
IE7 won't run in Protected Mode" Doug Windows Vista Networking & Sharing 0 05-09-2007 09:28 AM
IE7 Protected Mode while UAC is disabled? Synapse Syndrome Windows Vista File Management 21 03-21-2007 01:10 AM
IE7 keeps saying protected mode is off on bottom but it is on? Choice Jumper Windows Vista Performance & Maintenance 2 12-10-2006 06:29 AM
File Virtualization in IE7+ Protected Mode breaking my ActiveX Con Matthew Douglass Windows Vista Security 4 05-31-2006 01:27 PM
MS-DOS Protected Mode (DPMI) Memory Problem Alex Windows XP Games 1 09-15-2003 07:01 PM