Jump to content
Sign in to follow this  
dragan

Changing default IE document mode?

Recommended Posts

dragan

I've spent many hours trying to find the solution online, but I wasn't able, so I will ask it here if someone already got this right. I'm trying to change the default document mode for Internet Explorer. It's the thing you can change manually by pressing F12, and then ALT+9 = IE9 mode, ALT+8 = IE8, ALT+7 = IE7, etc...

Now comes the tricky part, I'm automating the web analyzing application (not my script) which is not starting embed IE, but hidden IE. So, since it's not embed, I cannot use this feature, and since it's not in my script I cannot use or

So is there any other way to change default way of IE? so the moment it starts, it starts in different document mode? Like registry changing or dll calling function? I need this for multiple websites, not only one. And browser mode is not the problem, document mode however is. Any help? Advice?

edit: I have tried adding “iexplore.exe” = dword:8888 to

HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION

but still no luck (soon as I change webpage, the document mode switches to "standards", but if I change that value manually like described above, it stays that way - it will not change to standards).

Edited by dragan

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.