How to temporarily disable XSS protection in modern browsers for testing?

后端 未结 7 726
一向
一向 2021-01-31 08:35

Is it possible to temporarily disable the XSS protection found in modern browsers for testing purposes?

I\'m trying to explain to a co-worker what happens when one sends

7条回答
  •  情书的邮戳
    2021-01-31 09:04

    If you only wan't to disable XSS you should use --disable-xss-auditor. A complete argument would be something like:

    "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-xss-auditor

    Make sure all chrome.exe processes are killed before running the command or it will have no effect. You can also pass more arguments if you wish, for example I often use a proxy argument because I don't want to enable a proxy for my entire system.

    "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-xss-auditor --proxy-server=127.0.0.1:8080

提交回复
热议问题