Any method to store text in variable from Web Viewer?

Is there any method to read text from we viewer, i mean when web viewer loaded then loaded text will stored in a variable automatically.

Have you tried to store the text return in TinyDB?

blocks

thats the main problem how to get text

Use js to get webviewer text.

document.body.textContent
Or
document.body.innerText

1 Like

Did you try with web component ?

Yes that will work but only when content is static.
It will not work if the website content changes dynamically such as text of kodular community which is not same for all users.
Cookies can be a workaround but that doesn’t look promising.

He did not quote exactly what he is trying to do. So let’s try to help him.

1 Like