access DOM in browser widget?
selander at tkf.att.ne.jp
Mon Nov 22 21:02:34 EST 2021
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!
On 2021.04.29 3:44, Tore Nilsen via use-livecode wrote:
> Best regards
>> 28. apr. 2021 kl. 20:33 skrev Ben Rubinstein via use-livecode <use-livecode at 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.
>> Does anyone know if this is possible?
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode