mirror of
https://github.com/Qortal/chrome-extension.git
synced 2025-02-11 17:55:49 +00:00
6 lines
326 B
JavaScript
6 lines
326 B
JavaScript
const script = document.createElement('script');
|
|
script.src = chrome.runtime.getURL('disable-gateway-popup.js'); // Reference the external script
|
|
document.documentElement.appendChild(script); // Inject it into the page
|
|
script.onload = function() {
|
|
script.remove(); // Clean up after the script has been injected and run
|
|
}; |