If you use
var parsedHTML = $.load('<html><head><script type="application/json" src="http://myscript.org/somescript.ks"></script></head></html>') console.log( parsedHTML('script').get()[0].attribs['src'] );
You can get the URL and then use the request to get the content
If you want a built-in script, you can do this:
console.log( parsedHTML('script').get()[0].children[0].data );
Gervase
source share