How to add meta tag in JavaScript
You can add it: var meta = document.createElement(‘meta’); meta.httpEquiv = “X-UA-Compatible”; meta.content = “IE=edge”; document.getElementsByTagName(‘head’)[0].appendChild(meta); …but I wouldn’t be surprised if by the time that ran, the browser had already made its decisions about how to render the page. The real answer here has to be to output the correct tag from the server in … Read more