Is there any good reason to use X-XSS-Protection?
With some doubts (see Kevin's comment below), the answer is probably yes.
X-Xss-Protectionactivates heuristic, reflected xss detection function. Reflected xss is supplied in the form of parameters, which makes it easy to determine the area of โโpotential attack.
HTML. HTML-. javascript... CSP. CSP , javascript .
CSP, javascript, eval , , X-Xss-Protection .
CSP.
X-Xss-Protection IE . , , - IE < 12, CSP , X-Xss-Protection .
, . . . , - .
, , CSP, X-Xss-Protection
for i in twitter.com vine.co github.com
do
echo "$i"
curl -Is "https://$i" | grep -iE "(x-xss-protection|content-security-policy)"
done