YESS!
Code: Select all
WebGadget (0, 10, 50, 960, 600, "test.html")
gadid = GadgetID(0)
This one will output the complete HTML to the browser console
Code: Select all
!console.log(v_gadid.gadget.contentDocument);
This one will call the function show(), which I declared in the head section (should work everywhere, as long as the window finished loading)
Code: Select all
!v_gadid.gadget.contentWindow.show();
And this will alert the content of the variable 'declaration'
Code: Select all
!alert(v_gadid.gadget.contentWindow.declaration);
Works in Safari 9.0.1, FireFox , Chrome 45.0.2454.101 (64-bit)
Duplicate in Tips & Tricks here:
http://forums.spiderbasic.com/viewtopic.php?f=9&t=420