Hi all,
I want to write a script that does the following:
I click into textarea of a webpage e.g. to write this post.
I activate my script.
The script identifies the DOM element I clicked into (that has focus).
Fetches any existing content (innerHTML/innerText).
It opens my favorit text editor.
It pastes the fetched content into the editor.
A second hot key copies the text editor's content into the textarea in the browser.
What I am missing is the part of getting a handle on the D