hi i am new so dont mind me if my question is simply stupid :)
so i dont really know if it is even possible to do what i want to do :)
and what i want is to dynamicly load my local scripts from Main.user.js script
i know i can load from internet like this
var script = document.createElement('script');
script.src = 'http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js';
document.getElementsByTagName('head')[0].appendChild(script);
and what i want is
var script = document.createElement('script');
script.src = 'c:/myscript/dependency1.js';
document.getElementsByTagName('head')[0].appendChild(script);
is there a library for local i/o ?
you may ask, wtf? why would you like to do that ?
and my answear is: i have strong C# background
and i would like to see some feature like
include somescript.js
for my dependencies
ofc i can set many *.user.js files in greasy monkey, but i would like to do that dynamicly