Critical Error: Internet Explorer 11 and SharePoint 2010

When Microsoft updated Internet Explorer to 11 we started getting the following error on our forms:

” Object doesn’t support property or method ‘addEventListener’ ”

We found that the fix is to add the following java script to the bottom of the Master Pages right above the </body> tag:

<script language=”javascript”>
/* IE11 Fix for SP2010 */
if (typeof UserAgentInfo.strBrowser !== ‘undefined’ && !window.addEventListener) {
UserAgentInfo.strBrowser=1; } </script>

The master pages can be found and edited via SharePoint Designer.

Note: This does not work for Window 8 systems using Internet Explorer 11 for some reason.

This entry was posted in SharePoint, SharePoint Designer and tagged , , , . Bookmark the permalink. Follow any comments here with the RSS feed for this post. Post a comment or leave a trackback: Trackback URL.

3 Comments

  1. Posted October 2, 2014 at 11:29 pm | Permalink

    Hey JP,

    I just wanted to update you. I ran this same code in Win 8 IE 11 and all way well. No issues with ‘addEventListener’ method.

    Thank you,
    Carl
    http://www.carlbjohnson.com

    • Posted October 3, 2014 at 12:11 pm | Permalink

      Thanks for the heads up!

  2. Posted July 9, 2018 at 2:36 pm | Permalink

    test 3

Leave a Reply

Your email address will not be published. Required fields are marked *