May 24, 2022

Samir Daoudi's Technical Blog

SharePoint, Office 365, C#, .Net, SQL Server News, Tips, Ebooks, Events, Webinars ….etc

Run SharePoint page on different browser version (by changing the compatibility meta tag)

The problem I was faced with today, was to embed twitter feed into a new SharePoint landing page.

The widget rendered fine in most of the browsers except IE 8,9 & 11 (Yes, some companies are still on these 🙂 ).

I tried for couple of hours before trying IE Emulator, which allowed me to emulate the page in Edge, this resolved the problem.

Quickly I though of updating the master page by making it behave as if it was running in Edge, this was easily doable by following these steps :

1- Open SharePoint Designer and go to Master Pages

2- Make a copy of the actual master page (usually it is Oslo).

3- Rename it to something more user friendly (ex. Switch or Modern).

4- Open the new master page and locate in the head section

<meta http-equiv=”X-UA-Compatible” content=”IE=10″ />

5- Change the content to “IE=11”

6- Make the new master page default.

VOILA !!

Leave a comment

You may have missed

Show Buttons
Hide Buttons

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

%d bloggers like this: