Retrieving Browser Widget DOM

Alejandro Tejada capellan2000 at gmail.com
Tue Nov 29 20:05:05 EST 2016


This new proposed property: htmlDOM
is like storing in a widget property the
result of running one of these
scripts on the Console:

Choose one:

copy(document.body.innerHTML);

or

copy(document.body.outerHTML);

After running one of these scripts
on the browser Console, the clipboard
now contains the webpage DOM.

How could we run one of these scripts
in the LiveCode Browser Widget?

Al




More information about the Use-livecode mailing list