';
if (decoded_article+decoded_comment>0) {
result_box.title = '클릭 시 디코딩된 링크를 한번에 볼 수 있습니다.';
result_in += `총 ${(decoded_article+decoded_comment)}개의 링크가 자동 디코딩되었습니다.
( ${((decoded_article>0)?('게시글: '+decoded_article+'개'+((decoded_comment>0)?' / ':'')):'')}${((decoded_comment>0)?('댓글: '+decoded_comment+'개'):'')} ) / ( 사이트 종류: ${abadInternalDB.hostnameSet.length}개 )`;
result_in += `
(클릭하여 자세히 보기)
`;
} else {//not use
result_box.title = '이 게시글 또는 댓글에서 Base64로 인코딩 된 링크가 감지되지 않았습니다..';
result_in += '
이 게시글 또는 댓글에서 Base64로 인코딩 된 링크가 감지되지 않았습니다..';
}
result_in += '
';
result_box.innerHTML = result_in;
result_box.addEventListener('click', showDecodeSummary);
result.appendChild(result_box);
result.appendChild(document.createElement("hr"));
article.parentNode.prepend(result);
}
//add event listner - click, show original encoded link
if (!localParameter.enclinkhide.value) {
Object.keys(abadInternalDB.encodedLink).forEach(function(i) {
document.getElementById(i).addEventListener('click', showEncodedLink); //, { once : true }
});
}
})();