Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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."

share|improve this question

migrated from webmasters.stackexchange.com Aug 10 '11 at 14:48

This question came from our site for pro webmasters.

    
Change it to what? –  paulmorriss Aug 8 '11 at 12:55
    
Change to other one of the available browser modes available. The question is not "change to what" but "make the change permanent". –  Fabio Milheiro Aug 10 '11 at 11:18
    
I don't think anyone understand the question that is being asked. 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. –  user169776 Nov 2 '12 at 21:09
    
See? You got it! –  Fabio Milheiro Nov 3 '12 at 1:07
add comment

7 Answers

up vote 1 down vote accepted

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

share|improve this answer
add comment

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).

share|improve this answer
add comment

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)
   SOFTWARE
      Wow6432Node (for IE 32-bit on a 64-bit OS)
         Microsoft
            Internet Explorer
               Main
                  FeatureControl
                     FEATURE_BROWSER_EMULATION
                        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.

http://msdn.microsoft.com/en-us/library/ee330730(v=vs.85).aspx#browser_emulation

Note: The developer toolbar will display "Browser Mode: unknown", so that is not a valid test.

share|improve this answer
add comment

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.

share|improve this answer
add comment
  • 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.

Select Browser Mode

  • 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.

From here:

share|improve this answer
2  
I know that. The problem is that the change is only temporary. I need to make it permanent on a certain browser's computer. –  Fabio Milheiro Aug 10 '11 at 11:19
    
@FabioMilheiro i'm facing with the same problem. is there any luck to find solution ? –  motto Apr 21 '13 at 1:44
    
No mate, I didn't actually find a solution ;) –  Fabio Milheiro Apr 21 '13 at 15:34
add comment

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.

share|improve this answer
add comment

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)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.