summaryrefslogtreecommitdiff
path: root/bin/wiki/ImportarDesdeURL/node_modules/xss/dist/test.html
diff options
context:
space:
mode:
Diffstat (limited to 'bin/wiki/ImportarDesdeURL/node_modules/xss/dist/test.html')
-rw-r--r--bin/wiki/ImportarDesdeURL/node_modules/xss/dist/test.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/bin/wiki/ImportarDesdeURL/node_modules/xss/dist/test.html b/bin/wiki/ImportarDesdeURL/node_modules/xss/dist/test.html
new file mode 100644
index 00000000..cae361e0
--- /dev/null
+++ b/bin/wiki/ImportarDesdeURL/node_modules/xss/dist/test.html
@@ -0,0 +1,15 @@
+<!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