Tarik saja teks dari elemen javascript
function extractContent(html) {
return (new DOMParser).parseFromString(html, "text/html") .
documentElement . textContent;
}
Fantastic Flamingo