Is there a simpler (native perhaps?) way to include an external script file in the Google Chrome browser?
Currently I’m doing it like this:
document.head.innerHTML += '<script src="https://example.com/file.js"></script>';
Is there a simpler (native perhaps?) way to include an external script file in the Google Chrome browser?
Currently I’m doing it like this:
document.head.innerHTML += '<script src="https://example.com/file.js"></script>';