I'm creating a really simple personal userscript. What I want it to do is to import a html code from somewhere else (ie. a file from my public dropbox folder).
I was thinking something in the lines of this:
var element = document.getElementById("notes");
var widget = ??? //import HTML form publicly accesible file
element.innerHTML = widget
Is it possible? Preferably in pure vanilla JS.