Sometimes even one line of missing code or a symbol can cause an entire web page not to load. This case is similar. In some cases, Google Chrome can throw an error saying, ERR_BLOCKED_BY_XSS_AUDITOR. This error occurs if Chrome detects an unusual code on a web page.
“This page isn’t working. Chrome detected unusual code on this page and blocked it to protect your personal information (for example, passwords, phone numbers, and credit cards). ERR_BLOCKED_BY_XSS_AUDITOR”
Today, we will be taking a look at various methods that will help us in recovering this error.
ERR_BLOCKED_BY_XSS_AUDITOR Chrome error
In this case, we will be taking a look at two methods to fix this error. These fixes are one each for 2 cases of if you are an administrator and the other case if you are an end user browsing the web.
1] When you are an administrator of the web page
If you are an administrator of the website, you can try to fix this error by adding just a one-line code to the header to the POST submission.
If your website runs on PHP, you can try to enter the following code,
And if your website runs on ASP.NET, you can try to enter the following code,
2] When you are not an administrator of the web page
Maybe you can contact the owner of the website and report the error.
Temporarily you can switch to another browser or finally, you can disable the XSS Auditor on Google Chrome.
To do that you need to copy the following path:
x64 Operating System
"C:\Program Files\Google\Chrome\Application\chrome.exe" -disable-xss-auditor
x86 Operating System
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" -disable-xss-auditor
Then right-click anywhere in the File Explorer or the Desktop.
Now select New > Shortcut.
In this first field for the path, enter the appropriate path given above.
Click on Next and follow the on-screen instructions.
This will create a shortcut for Google Chrome wherever you intend it to.
However, this can be considered to be a temporary workaround more than a fix but will be helpful when a user is in desperate need.
- Tags: Chrome