Advertisement:

Author Topic: ERR_BLOCKED_BY_XSS_AUDITOR  (Read 100 times)

chini

  • Newbie
  • *
  • Posts: 8
ERR_BLOCKED_BY_XSS_AUDITOR
« on: September 18, 2018, 02:14:31 pm »
Why does loading ad html on my site give the error below?
This page is not working.
Chrome has detected strange code on this page and has blocked it to protect your personal information (for example, passwords, phone numbers, and credit card numbers).
Try to go to the homepage of the site.
ERR_BLOCKED_BY_XSS_AUDITOR

davidyan

  • Newbie
  • *
  • Posts: 15
Re: ERR_BLOCKED_BY_XSS_AUDITOR
« Reply #1 on: January 12, 2019, 02:33:42 pm »
Hi,
You also may in PHP to your header:
Quote
header('X-XSS-Protection: 0');
OR
The second way to get around this problem is to disable XSS checking in Google Chrome by adding a bit of code to the Chrome program address.
To do this, find the Chrome icon on your computer. Then right click it, and from the drop-down list, choose 'properties'.
On the properties page, find the target line and add this to the end of the line: -disable-xss-auditor
When you add the above, the full target line will be: "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" -disable-xss-auditor
Or if using the 64 bit version of Google Chrome: "C:\Program Files\Google\Chrome\Application\chrome.exe" -disable-xss-auditor
The second way to get around this problem is to disable XSS checking in Google Chrome by adding a bit of code to the Chrome program address.
To do this, find the Chrome icon on your computer. Then right click it, and from the drop-down list, choose 'properties'.
On the properties page, find the target line and add this to the end of the line: -disable-xss-auditor
When you add the above, the full target line will be: "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" -disable-xss-auditor
Or if using the 64 bit version of Google Chrome: "C:\Program Files\Google\Chrome\Application\chrome.exe" -disable-xss-auditor
After making the above change, click 'apply'. Then close any open version of the Chrome browser, and restart Chrome using the icon you just modified.
From then on, Chrome will bypass the XSS-Auditor generated errors.

Try it and tell me what's going on
Yan