LEI Zongmin
|
d7654e5f14
|
fix: use var instead of let
|
2022-06-03 23:50:24 +08:00 |
|
lumburr
|
1e34b3de23
|
feat: add eslint:recommended check
|
2022-03-09 19:39:57 +08:00 |
|
Zongmin Lei
|
901b771960
|
style: reformat all source code by prettier
|
2021-05-06 13:32:47 +08:00 |
|
Zongmin Lei
|
e1cc74c649
|
export function filterXSS
|
2019-03-20 14:07:13 +08:00 |
|
Aleksander Tatarczyk
|
4342f7788c
|
Fix 'DedicatedWorkerGlobalScope is not defined' error on Web env
|
2018-05-24 16:55:00 +02:00 |
|
Zongmin Lei
|
58d1140d20
|
feat: support for Web Worker env issue #124
|
2018-05-24 15:49:29 +08:00 |
|
Zongmin Lei
|
9b85b8f2d6
|
reformat by prettier
|
2017-12-21 14:22:34 +08:00 |
|
Zongmin Lei
|
32a4bece31
|
translate all comments to English
|
2017-12-21 14:19:10 +08:00 |
|
Dima_Ryskin
|
08b5fd058b
|
removed AMD 'define' call, since when bundled with other modules, only the first define() call actually registers the module (which would be one of the dependencies)
|
2016-04-24 16:09:16 +03:00 |
|
josephj
|
231458ea48
|
避免窜改 Array.prototype
|
2015-03-27 22:02:03 +11:00 |
|
Zongmin Lei
|
85594379e2
|
支持AMD
|
2015-01-16 20:27:23 +08:00 |
|
penJunTan
|
4dd1a1bd8e
|
模拟相对正确的 Array.prototype.forEach
|
2014-04-17 18:28:24 +08:00 |
|
penJunTan
|
5316d8d26d
|
修正低版本浏览支持的 indexOf, forEach, trim 的断言
避免在chrome等浏览覆盖对应的 ES5 方法.
|
2014-04-17 18:08:06 +08:00 |
|
Zongmin Lei
|
1a04d6d79e
|
通过基本的xss白名单测试
|
2014-02-13 14:58:36 +08:00 |
|
Zongmin Lei
|
2cb1cdb6c5
|
默认配置 未完成
|
2014-02-13 11:18:03 +08:00 |
|
Zongmin Lei
|
cf7ea7836a
|
Merge branch 'HEAD' of git@github.com:leizongmin/js-xss.git
|
2014-01-30 12:21:37 +08:00 |
|
Zongmin Lei
|
54699f2da1
|
过滤 data URI 协议
|
2013-12-24 13:38:57 +08:00 |
|
Zongmin Lei
|
08763df2c7
|
完善测试代码
|
2013-12-24 13:13:28 +08:00 |
|
Zongmin Lei
|
0b237d5672
|
属性值过滤: HTML5新增实体编码 冒号: 换行

|
2013-12-24 12:23:47 +08:00 |
|
Zongmin Lei
|
ce329b30d8
|
修正html实体转义部分
|
2013-12-24 12:06:52 +08:00 |
|
Zongmin Lei
|
f6e6aaf5dd
|
将属性值转义部分提取出来:safeAttrValue()
|
2013-12-24 11:36:14 +08:00 |
|
Zongmin Lei
|
9538e5063c
|
修正合并错误问题
|
2013-11-05 18:16:02 +08:00 |
|
xiaojue
|
7c9455c31d
|
修复ie6,7下不支持trim,forEach,indexOf,string 不支持数组形式调用,改为charAt,format了一下数组格式,避免地版本浏览器兼容错误,修改几处局部重复定义变量语句
|
2013-11-05 17:47:36 +08:00 |
|
Zongmin Lei
|
89a0be1cde
|
修正无法正确识别 <br/>标签问题
|
2013-11-05 15:40:17 +08:00 |
|
Zongmin Lei
|
b4f37de463
|
去掉无用空格
|
2013-11-05 15:27:35 +08:00 |
|
Zongmin Lei
|
a877b29c7a
|
更新注释
|
2013-09-15 23:03:05 +08:00 |
|
Zongmin Lei
|
51e119efb3
|
默认白名单中添加 thead
|
2013-08-15 12:57:00 +08:00 |
|
leizongmin
|
da43af4bcd
|
默认白名单tr增加rowspan属性
|
2013-07-11 22:58:23 +08:00 |
|
leizongmin
|
0d16433a32
|
默认白名单,img增加width和height属性
|
2013-07-11 22:55:41 +08:00 |
|
Zongmin Lei
|
2c054677c9
|
默认禁止标签的 style和class 属性
|
2013-05-27 10:54:02 +08:00 |
|
Lei Zongmin
|
021c664f14
|
代码风格
|
2013-05-08 16:23:16 +08:00 |
|
Lei Zongmin
|
a5e2946f8f
|
代码风格
|
2013-05-08 16:21:46 +08:00 |
|
Lei Zongmin
|
4a2428dc1a
|
优化性能
|
2013-05-07 13:46:49 +08:00 |
|
Lei Zongmin
|
92050259d2
|
重构
|
2013-05-07 13:30:00 +08:00 |
|
Lei Zongmin
|
70ac8f1b79
|
代码风格
|
2013-05-07 12:50:56 +08:00 |
|
Lei Zongmin
|
792a78b615
|
文件移入 lib 目录
|
2013-04-19 16:33:37 +08:00 |
|