Skip to content
Permalink
Browse files

Merge pull request #22 from mozilla/referrer_policy

Add test page that exposes the referrer
  • Loading branch information
englehardt committed Oct 16, 2019
2 parents b42b1a8 + e3de522 commit 96276b4a7ebcaf5580fff559764a7782079fd7b0
Showing with 13 additions and 0 deletions.
  1. +13 −0 get_referrer.html
@@ -0,0 +1,13 @@
<html>
<head>
</head>
<body>
<p>The referrer accessible via `document.referrer` is:</p>
<div id='referrer-result'></div>
<script>
var div = document.getElementById('referrer-result');
var text = document.createTextNode(document.referrer);
div.appendChild(text);
</script>
</body>
</html>

0 comments on commit 96276b4

Please sign in to comment.
You can’t perform that action at this time.