OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script> | 3 <script> |
4 function runTest() { | 4 function runTest() { |
5 var meta = document.createElement("meta"); | 5 var meta = document.createElement("meta"); |
6 meta.name = "referrer"; | 6 meta.name = "referrer"; |
7 meta.content = document.location.search.substring(1); | 7 meta.content = document.location.search.substring(1); |
8 document.head.appendChild(meta); | 8 document.head.appendChild(meta); |
9 document.location = | 9 document.location = |
10 "http://127.0.0.1:8000/security/resources/referrer-policy-log.php"; | 10 "http://localhost:8000/security/resources/referrer-policy-log.php"; |
11 } | 11 } |
12 </script> | 12 </script> |
13 </head> | 13 </head> |
14 <body onload="runTest()"> | 14 <body onload="runTest()"> |
15 </body> | 15 </body> |
16 </html> | 16 </html> |
OLD | NEW |