Retrieving Browser Widget DOM

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Retrieving Browser Widget DOM

Alejandro Tejada
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

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode