Internet Explorer 8 compatibility view

For general issues related to PWB v2.

Moderators: Tyler, Scott, PWB v2 Moderator

Post Reply
jimmygrec
Observer
Observer
Posts: 4
Joined: Wed Apr 22, 2009 12:36 pm

Internet Explorer 8 compatibility view

Post by jimmygrec »

I noticed that PWB defaults to legacy IE compatibility view mode. Is there any way to set it to use IE 8 standards mode instead?

Thank you,

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

Add the follwing DWORD value to the Windows Regsitry to have PWB run in IE8 mode.

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_NATIVE_DOCUMENT_MODE]

"PWB.exe"=dword:13880

http://blogs.msdn.com/ie/archive/2008/0 ... n-ie8.aspx

--Scott

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

It looks like MS has changed the functionality since the last post.
http://blogs.msdn.com/ie/archive/2009/0 ... ments.aspx

To run PWB in IE8 Standards Mode, use the following new value in the registry:

[(HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE)\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION]
"PWB.exe" = dword 8000 (Hex: 0x1F40)

To run in IE7 Standards Mode, use the following registry value:

[(HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE)\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION]
"PWB.exe" = dword 7000 (Hex: 0x1B58)

For IE8 RTM, Microsoft added a new “forced” IE8 Standards Mode value. When an application opts into this mode, the Web Browser control will use the IE8 User-Agent string and Browser Emulation mode strictly. It will also ignore fallback features such as the built-in Compatibility View list and the user-generated Compatibility View list when loading pages. To run in “forced” IE8 Standards Mode, use the following registry value:

[(HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE)\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION]
"PWB.exe" = dword 8888 (Hex: 0x22B8)

Until the Windows API (CoInternetSetFeatureEnabled) is fully updated to include this functionality this will not be added to the PWB INI file and will need to be added to the Winodws Registry be hand.

--Scott

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

PWB v2.10.8 (08-18-2009)

The following was added to the INI file to set the IE compatability mode in IE 8 when PWB starts.

[Browser]
IEBrowserEmulation=8000

--Scott
Last edited by Scott on Wed Mar 09, 2011 9:16 pm, edited 1 time in total.

amutch
Benefactor
Benefactor
Posts: 113
Joined: Fri Jan 10, 2003 7:39 am

Post by amutch »

Which mode does this setting correspond to? Turning Compatability View on or off?

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

If you set the setting to 7000 it will use IE 7 mode, if you set the setting as 8000 it will use IE 8 mode.

When the setting is set PWB just adds the line to the Windows Registry as below.

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION]
"PWB.exe" = dword 7000 (Hex: 0x1B58)

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION]
"PWB.exe" = dword 8000(Hex: 0x1F40)

This seems to be a moving target in Internet Explorer 8 so we made it a DWORD value instead of a True or False setting.

--Scott

amutch
Benefactor
Benefactor
Posts: 113
Joined: Fri Jan 10, 2003 7:39 am

Post by amutch »

Thanks. I appreciate the clarification.

Post Reply