Latest

How to solve the script editor error "ERR_BLOCKED_BY_XSS_AUDITOR" in sharepoint

Introduction:
In this article we will explore , How to solve the script editor error "ERR_BLOCKED_BY_XSS_AUDITOR" in SharePoint

After adding javascript to script editor web part in the SharePoint pages and  trying to edit the page we will get the error as below. 


Solution: 
We can disable this by adding the below custom header to the web.config file as below. 

<add name="X-XSS-Protection" value="0"/>  "

After adding code to the web.config file: 


Note: This workaround will work only on on-premises environment.


Hope this article helps !!



Thanks for reading this article ! ! please leave your comments and suggestion about this article.
  



No comments