javascript bookmarklets can use document object to get selected text or links. But how do I get the whole html?
I want to get the whole html so that I could retrieve specific data between html tags.
for e.g. I want to get the following text from this page
http://www.linguee.de/englisch-deutsch/uebersetzung/futile.html
futile;
zwecklos;
There is no manual removal or exception for end customers at LEVEL 3 – Requests are futile;
Es gibt weder manuelle Entfernungen noch Ausnahmen für Endkunden aus LEVEL 3. Anfragen sind absolut zwecklos;
after getting the html by document.documentElement.innerHTML
how do I get the above specific text from the innerhtml?
1 Answer