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); } 關鍵字: 無