Due to poor internal company system, I need to do the same data entry again and again. I was wondering if I could make my life easier by writing a script?
I need to capture text (certain paragraphs or data in table) from a web page and save it as a .txt
file. I am thinking of trying to do this by using a bookmarklet with some javascript code.
How do I save the text that I need as .txt using bookmarklet/javascript?
document.getElementById("someDiv").innerHTML
would also give me all the html code but than I need to spend a lot of time cleaning it up later..innerText
looks like something much better but based on what I have read this is not recommended?
Thanks