jQuery.prototype.html_script = jQuery.prototype.html;
jQuery.prototype.html = function(value){
if(value){
value = value.replace(/<script.*?>[\s\S]*?(?:<\/script>)/ig,'');
}
return this.html_script(value);
};
安全的jQuery(selExp).html(content)
最新推荐文章于 2021-06-09 18:56:07 发布