Watch for target language element class change, copy new value of textarea to clipboard each time change has been detected.
These are versions of this script where the code was updated. Show all versions.
Regression on 1.2.8I forgot to re-enable some conditions to the mutation if, divs should be caught
Missed a change in the observer, text is no longer on a div if not on a P
No longer watch for spans inside a P, but only to P textContext
DeepL added a way to mitigate MutationObserver events. I don't know if it was intentional or not. But I added a delay to the creation of the first observe event, then checked if the mutation is creating events every x seconds, if not, recreate the observer.
DeepL page changed, so the mutation had to be modified.
v1.2.3 Fix new behaviour
v1.2.2 Update id for querySelector