Is it possible and can we add an example for how to get the Web Render TOP / Webbrowser in the Palette to return values?
You can pass IN Javascript to change the content on the loaded website, but can you get information back OUT to Touchdesigner?
You can’t use console.log in your Javascript or return values, haven’t found an option for callbacks either.
This makes creating event listeners difficult.
An example could be if I want to track which is the currently highlighted item and return the name of that item, for accessibility reasons, so it can be read aloud.
Any updates on this? I would like to detect when a page is fully loaded. I know I can already use an infoCHOP to get a loaded property from the webBrowser in the palette, but I think it is detecting when the page has downloaded, not when it has actually finished loading because I still see things loading after it shows loaded=1