aboutsummaryrefslogtreecommitdiffstats
path: root/test.html
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2012-03-09 01:58:19 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2012-03-09 02:33:11 +0100
commit3f6797c21bb4c967266ca2227111409e8f069692 (patch)
tree9f4c486a31a73f82b8a52fc08391fc0f4e3eb460 /test.html
downloadsecure.js-master.tar.xz
secure.js-master.zip
Initial commit.HEADmaster
Diffstat (limited to 'test.html')
-rw-r--r--test.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/test.html b/test.html
new file mode 100644
index 0000000..0216f53
--- /dev/null
+++ b/test.html
@@ -0,0 +1,17 @@
+<html>
+<head>
+<script src="secure.js"></script>
+<script>
+setTimeout(function() {
+ alert("bout to insert");
+ var script = document.createElement('script');
+ script.type = 'text/javascript';
+ script.src = 'http://www.zx2c4.com/somescript.js';
+ document.getElementsByTagName("head")[0].appendChild(script)
+}, 3000);
+</script>
+</head>
+<body>
+Will you see this text?
+</body>
+</html>