{"id":206,"date":"2012-04-10T21:32:42","date_gmt":"2012-04-11T04:32:42","guid":{"rendered":"http:\/\/shanelabs.com\/blog\/?p=206"},"modified":"2012-04-10T21:32:42","modified_gmt":"2012-04-11T04:32:42","slug":"internet-explorer-document-mode-not-default-on-page-load","status":"publish","type":"post","link":"https:\/\/shanelabs.com\/blog\/2012\/04\/10\/internet-explorer-document-mode-not-default-on-page-load\/","title":{"rendered":"Internet Explorer document mode not default on page load"},"content":{"rendered":"<p>If you ever come across a website that renders as though it&#8217;s in IE7, even though it&#8217;s IE9 or later, try checking the meta tags. It\u00a0probably\u00a0has this set:<\/p>\n<blockquote><p>&lt;meta\u00a0http-equiv=&#8221;X-UA-Compatible&#8221;\u00a0content=&#8221;IE=EmulateIE7&#8243;&gt;<\/p><\/blockquote>\n<p>This tells the browser to render as though it&#8217;s Internet Explorer 7 no matter what the version.<\/p>\n<p>If you need to detect whether this is happening programmatically, you can do so with the following attribute:<\/p>\n<blockquote><p>if(document.documentMode==7) &#8230;.<\/p><\/blockquote>\n<p>Hope that helps!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you ever come across a website that renders as though it&#8217;s in IE7, even though it&#8217;s IE9 or later, try checking the meta tags. It\u00a0probably\u00a0has this set: &lt;meta\u00a0http-equiv=&#8221;X-UA-Compatible&#8221;\u00a0content=&#8221;IE=EmulateIE7&#8243;&gt; This tells the browser to render as though it&#8217;s Internet Explorer 7 no matter what the version. If you need to detect whether this is happening [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3,4],"tags":[],"class_list":["post-206","post","type-post","status-publish","format-standard","hentry","category-software","category-web"],"_links":{"self":[{"href":"https:\/\/shanelabs.com\/blog\/wp-json\/wp\/v2\/posts\/206","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shanelabs.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shanelabs.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shanelabs.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/shanelabs.com\/blog\/wp-json\/wp\/v2\/comments?post=206"}],"version-history":[{"count":3,"href":"https:\/\/shanelabs.com\/blog\/wp-json\/wp\/v2\/posts\/206\/revisions"}],"predecessor-version":[{"id":209,"href":"https:\/\/shanelabs.com\/blog\/wp-json\/wp\/v2\/posts\/206\/revisions\/209"}],"wp:attachment":[{"href":"https:\/\/shanelabs.com\/blog\/wp-json\/wp\/v2\/media?parent=206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shanelabs.com\/blog\/wp-json\/wp\/v2\/categories?post=206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shanelabs.com\/blog\/wp-json\/wp\/v2\/tags?post=206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}