summaryrefslogtreecommitdiffstats
path: root/node_modules/xss/dist/test.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--node_modules/xss/dist/test.html15
1 files changed, 0 insertions, 15 deletions
diff --git a/node_modules/xss/dist/test.html b/node_modules/xss/dist/test.html
deleted file mode 100644
index cae361e..0000000
--- a/node_modules/xss/dist/test.html
+++ /dev/null
@@ -1,15 +0,0 @@
-<!doctype html>
-<html>
-<head>
- <title>测试</title>
- <meta charset="utf8">
-</head>
-<body>
- <pre id="result"></pre>
-</body>
-</html>
-<script src="xss.js"></script>
-<script>
-var code = '<script>alert("xss");</' + 'script>';
-document.querySelector('#result').innerText = code + '\n被转换成了\n' + filterXSS(code);
-</script> \ No newline at end of file