<html> | |
<head> | |
<script> | |
function runTest() { | |
var meta = document.createElement("meta"); | |
meta.name = "referrer"; | |
meta.content = document.location.search.substring(1); | |
document.head.appendChild(meta); | |
document.location = | |
"http://127.0.0.1:8000/security/resources/referrer-policy-log.php"; | |
} | |
</script> | |
</head> | |
<body onload="runTest()"> | |
</body> | |
</html> |