ArticleContent.innerHTML = ArticleContent.innerHTML.replace(/alt=((['""])[^'""]*2|S+)(?=[^>]*>)/ig,""); ArticleContent.innerHTML = ArticleContent.innerHTML.replace(/title=((['""])[^'""]*2|S+)(?=[^>]*>)/ig,""); var hwk="("; var hw=""; var keywords="无"; var keys=keywords.split(","); var keylength=keys.length; var keywordscode="
关键字: "; if(keys!=""){ for(var ks=0;ks
"+keys[ks]+" "; } var regex = new RegExp(hwk,"gi"); ArticleContent.innerHTML = ArticleContent.innerHTML.replace(regex,hw); document.write(keywordscode); } 关键字: 无