<html> <body> <script type="text/javascript" charset="utf-8"> console.log(document.referrer); </script> </body> </html>