const script = document.createElement('SCRIPT'); script.src = chrome.runtime.getURL('page.js'); script.onload = function() { this.remove(); }; (document.head || document.documentElement).appendChild(script);