OLD | NEW |
---|---|
(Empty) | |
1 <html> | |
2 <head> | |
3 <script> | |
4 function runTest() { | |
5 var matches = RegExp(/\?(.*)&port=(.*)/).exec(document.location.search); | |
6 var meta = document.createElement("meta"); | |
7 meta.name = "referrer"; | |
8 meta.content = matches[1]; | |
9 document.head.appendChild(meta); | |
10 document.location = | |
11 "http://127.0.0.1:" + matches[2] + "/files/referrer-policy-log.html"; | |
12 } | |
13 </script> | |
14 </head> | |
15 <body onload="runTest()"> | |
16 </body> | |
17 </html> | |
OLD | NEW |