How can I change the browser mode in IE9 permanently, like for example to IE7?
Currently, this change is only temporary and whenever you open a new window, you have to go to the developer mode to switch the settings again.
Clarification: "Windows 7 requires you to run IE9. But for work purposes some people still need to use IE7 or IE8. Developer Tools enables a person to use IE7 settings with in IE9. But for each window that is opened it seems that everytime one has to go in developer mode to switch Browser mode to IE7. The question is how does one achieve the settings that will allow the IE9 to open up in IE7 mode everytime the browser is fired up."
i think you can solve this issue with meta x-ua-compatible element and providing it the ie7 variable...but if not, you can change the document mode using the documentMode property http://msdn.microsoft.com/en-us/library/cc196988(v=vs.85).aspx
I don't think you can really affect the browser mode setting; this seems to be a developer debugging feature. If a user is running IE9, the browser mode will be IE9 or IE9 Compatibility View. You can affect the compatibility view setting by using the X-UA-Compatible <meta> tag or HTTP header (though, watch out for the Tools -> Compatibility View settings - > "Display Intranet sites in Compatibility View" setting).
I found a registry setting that can force IE9 to run in IE8 or IE7 in browser emulation mode permanently. For example, to run IE9 in IE8 mode, add the follow key, value, and data to the registry.
HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
Wow6432Node (for IE 32-bit on a 64-bit OS)
iexplore.exe = (DWORD) 00008888
You can use decimal value 8000 for IE8, but is only applied if !DOCTYPE directives are displayed in IE8 mode. Decimal value 8888 is for IE8 regardless of !DOCTYPE directives, which is why I chose in my example.
Decimal value 7000 is for IE7, but only applied if !DOCTYPE directives are displayed in IE7 mode.
Note: The developer toolbar will display "Browser Mode: unknown", so that is not a valid test.
In the Group Policy Editor, under Administrative Templates > Windows Components > Internet Explorer > Compatibility View, there’s a setting for “Turn off Compatibility View” that can be set to Enabled, which will leave the browser in IE9 mode permanently.
Developers can change Browser Mode through the “Browser Mode” menu in IE’s F12 Developer Tools. This setting only applies to the developer’s local machine. For example, developers can have IE9 emulate an IE7 browser, IE8 browser or IE9 in Compatibility View.
Users can change Browser Mode by clicking on the Compatibility View (CV) button, which causes IE8 and IE9 to emulate the IE7 browser. This is why it’s important for site developers to test their site in the Compatibility View Browser Mode.
IE’s Compat View List can also change the Browser Mode for specific sites.
What I do is install the Windows virtual machine with XP mode in Windows 7 (Professional). This is all free and on MS web site. Run the older browser of your choice under XP. If you want multiple browsers available, I believe you can install multiple instances of a virtual machine.
I run Office 2003 on the XP virtual machine as well. So I can have access to multiple versions of Office. The XP virtual machine is really XP, not some emulation of XP. The alternate XP environment is useful for other areas of testing too.
i reckon that you are working on intranet links/servers
if so, Just one line answer to your question
Disable the compatibility view : Goto Tools >> compatibility view setting >> uncheck 'Display intranet sites in Compatibility View' (by default this checked)
Installed IE9 (9.0.7930.16406) on Windows Server 2008 R2.
Went to uninstall it, clicked 'uninstall' in add/remove programs, it removed the entry from the add/remove list, then did nothing else! Am I stuck with IE9 forever?
When you go to Control Panel\All Control Panel Items\Programs and Features choose the "Turn Windows Features on or off" and see if it's in that list.