Access downloaded resources

21 prikaz
Preskoči na prvu nepročitanu poruku

Enrique Andrade González

nepročitano,
26. ožu 2019. 06:21:3626. 03. 2019.
u jsdom
Hi guys:

I need to access the downloaded resources, specifically external scripts (javascripts).

JSDOM.JSDOM.fromURL(url, {
    resources
: resourceLoader,
    runScripts
: "dangerously",

}).then(function (dom) {
}

Is it possible to access the content of the scripts? Without having to download them separately?

With the defined properties are already being downloaded and executed.

Thanks!
Odgovori svima
Odgovori autoru
Proslijedi
0 novih poruka