How to prevent ERR_BLOCKED_BY_XSS_AUDITOR on chrome


Sometime, you can see this error:

ERR_BLOCKED_BY_XSS_AUDITOR

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).
Try visiting the site's homepage.
ERR_BLOCKED_BY_XSS_AUDITOR

A case i can show: when you post a HTML code from a textarea form.

Ex: POST /url

in page /url you can add a header:

X-XSS-Protection: 0

Do by PHP:

header("X-XSS-Protection: 0");

Leave a Reply