diff options
Diffstat (limited to 'test/js/window.lately.html')
-rw-r--r-- | test/js/window.lately.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/js/window.lately.html b/test/js/window.lately.html new file mode 100644 index 000000000..ba312dfe0 --- /dev/null +++ b/test/js/window.lately.html @@ -0,0 +1,13 @@ +<html> +<head> +<title>Assign window.lately</title> +<link rel="stylesheet" type="text/css" href="tst.css"> +</head> +<body> +<h1>Assign window.lately</h1> +<p>location: <script>document.write(location);</script> +<p>location.protocol: <script>document.write(location.protocol);</script> +<p>equivalence <script>document.write(location.protocol === 'http:');</script> +<p>assignement <script>window.lately = (location.protocol === 'http:');</script> +</body> +</html> |