IE "tab"setting for compatibility

Questions and information about creating Internet aware NeoBook applications. Including PHP, HTML, FTP, HTTP, Email, etc.

Moderator: Neosoft Support

Locked
User avatar
fkapnist
Posts: 348
Joined: Mon Nov 17, 2014 4:24 pm
Location: Greece
Contact:

IE "tab"setting for compatibility

Post by fkapnist »

I found a plugin (http://www.ietab.net/) that allows Chrome and Firefox browsers to view pages in an IE "tab." Users can switch between the Windows and Google/Firefox rendering engine with a mouse click. It is a good idea, although they put too much adware into the plugins. I did discover that the best setting for "Compatibility View" is the IE9 Standards ( newsweek.com displays correctly with that setting, but not with the other settings).....

Image

So now I just have to figure out how to change a setting to "IE9 Standards" (in the registry?) and I hope the newsweek.com pages and others (such as http://www.madmagazine.com/) will display correctly in NeoBook...

It would be great to embed similar IE mode settings in NeoBook... if it just means including a few registry keys, why not? The Chromium WebBroswer Object is 30 Mb (for an ebook?) and you'll need to have Visual Studio (10Gb) on your hard drive to configure Chromium for your app. Forget it. IE7 mode is dead on arrival. IE9 Standards is what seems to work best with HTML5 and CSS, at least from what I've observed.


:wink:
-
User avatar
fkapnist
Posts: 348
Joined: Mon Nov 17, 2014 4:24 pm
Location: Greece
Contact:

Re: IE "tab"setting for compatibility

Post by fkapnist »

I was starting to worry that I might need a 30Mb chromium plugin. But after some tests I found that the "IE9 Standards" emulation gives the best display for HTML5 and CSS. The following Registry settings with 9000 as the DWORD will improve NeoBook display and performance...


For IE9 Standards mode the DWORD is 9000 and it will appear as 0x2328 when entered in the reigistry:

Browser Emulation

HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
SOFTWARE
Microsoft
Internet Explorer
Main
FeatureControl
FEATURE_BROWSER_EMULATION
yourNeoBookprogram.exe = (DWORD) 00009000

To control the value of this feature by using the registry, add the name of your executable file to the following setting and set the value to match the desired 9000 setting.

-----------------------

Child Window Clipping

HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
SOFTWARE
Microsoft
Internet Explorer
Main
FeatureControl
FEATURE_ENABLE_CLIPCHILDREN_OPTIMIZATION
yourNeoBookprogram.exe = (DWORD) 00000001

The feature is enabled when the value is set to (DWORD) 00000001 and disabled when the value is (DWORD) 00000000.

---------------------

Circular References in Script Management

HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
SOFTWARE
Microsoft
Internet Explorer
Main
FeatureControl
FEATURE_MANAGE_SCRIPT_CIRCULAR_REFS
yourNeoBookprogram.exe = (DWORD) 00000001

The feature is enabled when the value is set to (DWORD) 00000001 and disabled when the value is (DWORD) 00000000.

Note Because this feature improves the stability of Internet Explorer, disabling this feature is strongly discouraged.

-------------------------------

Cross Domain Capture Event

The FEATURE_BLOCK_SETCAPTURE_XDOMAIN feature prevents capture events from being propagated to elements in webpages hosted on domains different than the one hosting the page containing the element that triggered the capture event.

By default, this feature is enabled for Internet Explorer 8 and for applications hosting the WebBrowser Control. To disable this feature by using the registry, add the name of your executable file to the following setting.

HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
SOFTWARE
Microsoft
Internet Explorer
Main
FeatureControl
FEATURE_BLOCK_SETCAPTURE_XDOMAIN
yourNeoBookprogram.exe = (DWORD) 00000001

The feature is enabled when the value is set to (DWORD) 00000001 and disabled when the value is (DWORD) 00000000.

----------------

Cross Domain Redirection

When enabled, the FEATURE_CROSS DOMAIN_REDIRECT_MITIGATION feature applies cross-domain security to support files loaded by a webpage, including images, JavaScript libraries, Cascading Style Sheets (CSS) files, Microsoft ActiveX controls, and other file-based resources.

Note For security reasons, this feature should not be changed.

By default, this feature is enabled for Internet Explorer 8 and for applications hosting the WebBrowser Control. To disable this feature by using the registry, add the name of your executable to the following setting.

HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
SOFTWARE
Microsoft
Internet Explorer
Main
FeatureControl
FEATURE_CROSS_DOMAIN_REDIRECT_MITIGATION
yourNeoBookprogram.exe = (DWORD) 00000001

The feature is enabled when the value is set to (DWORD) 00000001 and disabled when the value is (DWORD) 00000000.


http://msdn.microsoft.com/en-us/library ... _emulation

Note: The changes will not appear in the testing environment. Only the compiled program with whatever name you enter before the DWORD will show the corrected display....

:idea:
Neosoft Support
NeoSoft Team
Posts: 5628
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA
Contact:

Re: IE "tab"setting for compatibility

Post by Neosoft Support »

It's amazing that Microsoft made this so difficult.
Note: The changes will not appear in the testing environment. Only the compiled program with whatever name you enter before the DWORD will show the corrected display....
You could try creating registry entries for NeoBook.exe and yourprogram_Test.exe if you want to see the effects within NeoBook itself.
NeoSoft Support
User avatar
fkapnist
Posts: 348
Joined: Mon Nov 17, 2014 4:24 pm
Location: Greece
Contact:

Re: IE "tab"setting for compatibility

Post by fkapnist »

Neosoft Support wrote:It's amazing that Microsoft made this so difficult.
Note: The changes will not appear in the testing environment. Only the compiled program with whatever name you enter before the DWORD will show the corrected display....
You could try creating registry entries for NeoBook.exe and yourprogram_Test.exe if you want to see the effects within NeoBook itself.
RE: "It's amazing that Microsoft made this so difficult."

Just to get the darned browser to work! Imagine if to turn on your TV you had to remove the back cover, flip switch J 1, 3 and 4, then turn knob b... put the back cover on again and sit back and watch.... lol ... Here is a good article about the IE rendering mess (note that 64bit systems need a different setting and chm Help file might not display right after that)...

http://weblog.west-wind.com/posts/2011/ ... IE-Version

:!:
.
Locked