본문 바로가기
C#(CSharp)/Etc

Internet Feature Controls

by swconsulting 2018. 2. 5.

1. Registry Sample

Windows Registry Editor Version 5.00


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

"devenv.exe"=dword:0000270f

"PotPlayerMini64.exe"=dword:00002af8

"TF.exe"=dword:0000270f

"eclipse-inst.exe"=dword:00002af9

"OneDrive.exe"=dword:00002af8

"captureApp.exe"=dword:00002af8




2. Browser Emulation


Example)

HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
   SOFTWARE
      Microsoft
         Internet Explorer
            Main
               FeatureControl
                  FEATURE_BEHAVIORS
                     contoso.exe = (DWORD) 00000000



ValueDescription
11001 (0x2AF9Internet Explorer 11. Webpages are displayed in IE11 edge mode, regardless of the declared !DOCTYPE directive. Failing to declare a !DOCTYPE directive causes the page to load in Quirks.
11000 (0x2AF8)IE11. Webpages containing standards-based !DOCTYPE directives are displayed in IE11 edge mode. Default value for IE11.
10001 (0x2711)Internet Explorer 10. Webpages are displayed in IE10 Standards mode, regardless of the !DOCTYPE directive.
10000 (0x02710)Internet Explorer 10. Webpages containing standards-based !DOCTYPE directives are displayed in IE10 Standards mode. Default value for Internet Explorer 10.
9999 (0x270F)Windows Internet Explorer 9. Webpages are displayed in IE9 Standards mode, regardless of the declared !DOCTYPE directive. Failing to declare a !DOCTYPE directive causes the page to load in Quirks.
9000 (0x2328)Internet Explorer 9. Webpages containing standards-based !DOCTYPE directives are displayed in IE9 mode. Default value for Internet Explorer 9.
Important  In Internet Explorer 10, Webpages containing standards-based !DOCTYPE directives are displayed in IE10 Standards mode.
 
8888 (0x22B8)Webpages are displayed in IE8 Standards mode, regardless of the declared !DOCTYPE directive. Failing to declare a !DOCTYPE directivecauses the page to load in Quirks.
8000 (0x1F40)Webpages containing standards-based !DOCTYPE directives are displayed in IE8 mode. Default value for Internet Explorer 8
Important  In Internet Explorer 10, Webpages containing standards-based !DOCTYPE directives are displayed in IE10 Standards mode.
 
7000 (0x1B58)Webpages containing standards-based !DOCTYPE directives are displayed in IE7 Standards mode. Default value for applications hosting the WebBrowser Control.

 

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


'C#(CSharp) > Etc' 카테고리의 다른 글

How to properly exit a C# application?  (0) 2018.03.29
int to string 4 digit (ex) 100 -> 0100  (0) 2018.02.19
Convert webpage to image  (0) 2018.02.04
Which is best LINQ or SQL queries?  (0) 2018.02.04
Populate data table from data reader  (0) 2018.02.02