diff --git a/js/background.js b/js/background.js index c4f7b47..b1d2839 100755 --- a/js/background.js +++ b/js/background.js @@ -200,6 +200,14 @@ chrome.runtime.onMessage.addListener(function (request, sender, sendResponse) { ` + + const Script = document.createElement('script'); + Script.setAttribute('type', 'text/javascript'); + Script.setAttribute('src', chrome.runtime.getURL('resources/registerTooltips.js')); + Script.addEventListener('load', function () { + Script.remove(); + }); + document.body.appendChild(Script); } else { document.getElementById('p+greatdivide_stats').innerHTML = "