Sorry to pick up this thread half a year later, but I am
searching for an answer to a related problem.
On the LiveCode Forums I learned that if the page is loaded in a
Browser widget on the desktop version of LC, you can [get the
htmltext of widget "browser"] and get the info JS provides that
is not part of the page's HTML source code. (In my case, I want
the number of plays of a track on Soundcloud.)
But I would like to get at this JS/DOM info through an LC Server
script running on my on-rev.com server -- no browser widget there.
Does anyone know how to get the JS/DOM generated text from a web
page using LC Server?
Any help appreciated!
Tim Selander
Tokyo, Japan
On 2021.04.29 3:44, Tore Nilsen via use-livecode wrote:
Have you had a look at "do in widget" in the Dictionary? You can actually
perform JavaScript from LC on content in the browser widget.
Best regards
Tore
28. apr. 2021 kl. 20:33 skrev Ben Rubinstein via use-livecode
<use-livecode@lists.runrev.com>:
Thanks for responding Tom
But if yoiu need any more of a direct way accessing it....I don't know of one.
Yes, that's what I'm after: to have a browser widget in a LiveCode stack, and
be able to access the DOM (not the htmlText) in LiveCode script.
It's not my page so I can't add javascript to it.
Does anyone know if this is possible?
TIA,
Ben
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode