修正浏览器端使用的文件链接地址

This commit is contained in:
Zongmin Lei
2014-05-05 14:49:21 +08:00
parent 4492d1d907
commit 6ebb07df23
2 changed files with 2 additions and 2 deletions

View File

@@ -106,7 +106,7 @@ console.log(html);
### In browsers
```HTML
<script src="https://raw.github.com/leizongmin/js-xss/master/build/xss.js"></script>
<script src="https://raw.github.com/leizongmin/js-xss/master/dist/xss.js"></script>
<script>
// apply function filterXSS in the same way
var html = filterXSS('<script>alert("xss");</scr' + 'ipt>');

View File

@@ -82,7 +82,7 @@ console.log(html);
### 在浏览器端使用
```HTML
<script src="https://raw.github.com/leizongmin/js-xss/master/build/xss.js"></script>
<script src="https://raw.github.com/leizongmin/js-xss/master/dist/xss.js"></script>
<script>
// 使用函数名 filterXSS用法一样
var html = filterXSS('<script>alert("xss");</scr' + 'ipt>');