TextHighlighter Demo


var iframe = document.querySelector('iframe');

iframe.onload = function () {
    var hltr = new TextHighlighter(
        iframe.contentDocument.body
    );
};
SANDBOX