admin 發表於 2017-7-13 23:54:13

article.indexOf

"; //判斷articleBody是否加載完畢 if(! GetObj("artibody")){ return; } article = '' + GetObj("artibodyTitle").innerHTML + '' + GetObj("artibody").innerHTML; if(article.indexOf(strAdBegin)!=-1){ str +=article.substr(0,article.indexOf(strAdBegin)); strTmp=article.substr(article.indexOf(strAdEnd)+strAdEnd.length, article.length); }else{ strTmp=article } str +=strTmp str=str.replace(/>\r/g,">"); str=str.replace(/>\n/g,">"); str += ""+window.location.href+""; str +=        "
頁: [1]
查看完整版本: article.indexOf