How to set FEATURE_BROWSER_EMULATION to IE8 mode?

后端 未结 3 542
-上瘾入骨i
-上瘾入骨i 2020-12-08 23:58

We are using an embedded SWT Browser in a Java application. The SWT Browser wraps an IE8 WebBrowser Control object. I am running into the well-known issue that by default, t

3条回答
  •  一个人的身影
    2020-12-09 00:47

    Check this Solution First :

    Regarding IE9 WebBrowser control

    if it does not meet your need, here is the registry solution


    To run a WebBrowser control in IE11 Standards Mode, use the following new value into the registry:

    32 bits: [(HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE)\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION]
    
    64 bits: [(HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE)\Software\wow6432node\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION]
     "DesignU.exe" = dword 11000 (Hex: 0x2af8)
    

    To run a WebBrowser control in IE10 Standards Mode, use the following new value into the registry:

    32 bits: [(HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE)\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION]
    
    64 bits: [(HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE)\Software\wow6432node\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION]
     "DesignU.exe" = dword 10000 (Hex: 0x2710)
    

    To run a WebBrowser control in IE9 Standards Mode, use the following new value into the registry:

    32 bits: [(HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE)\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION]
    
    64 bits: [(HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE)\Software\wow6432node\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION]
     "DesignU.exe" = dword 9000 (Hex: 0x2328)
    

    To run a WebBrowser control in IE8 Standards Mode, use the following new value into the registry:

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

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

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

提交回复
热议问题