NetTalk Central

Author Topic: Remove IE 8 Compatibility View button from address bar  (Read 10419 times)

Larry Sand

  • Full Member
  • ***
  • Posts: 101
    • View Profile
Remove IE 8 Compatibility View button from address bar
« on: November 30, 2009, 10:26:47 AM »
This isn't NetTalk specific but it may help someone.  If your site is tested with and compatible with IE 8, you can add this meta tag to remove the "broken page" compatibility view button from the address bar in IE 8

<meta content="IE=EmulateIE8" http-equiv="X-UA-Compatible"/>


Larry Sand

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Remove IE 8 Compatibility View button from address bar
« Reply #1 on: December 02, 2009, 01:26:32 AM »
I've added a property for the next NetTalk 5 build called
.MetaHeaders

Set this (typically in WebHandler, ProcessLink method, before parent call) to whatever you like, and this will get added to the <head> part of the HTML.

For example
  self.MetaHeaders = '<meta content="IE=EmulateIE8" http-equiv="X-UA-Compatible"/>' & '<13,10>

Cheers
Bruce

Larry Sand

  • Full Member
  • ***
  • Posts: 101
    • View Profile
Re: Remove IE 8 Compatibility View button from address bar
« Reply #2 on: December 02, 2009, 08:03:23 AM »
Thanks Bruce, that'll be very useful.

Larry Sand