getTextNodes(document).forEach(function(node){
replaceTextNodeWithHtml(node, /(a)/g, '<blink>$1</blink>');
});
分かったのは↑ぐらいで・・・すみません。
どなたかお願いします・・・