There is a site where a custom function is triggered when copying, which adds additional text to the copied text, and also kills all the markup, merging all paragraphs into one continuous text, losing headlines, etc.
Is it possible to somehow prohibit the execution of a user-defined function for a copy event? Well, or after downloading the entire site, at least execute document.removeEventListener('copy', addLink);
From the developer's console, it will not work, because An earlier binding was made inside the anonymous jQuery function: $(function() { ... document.addEventListener('copy', addLink); ... function addLink() { .. } } .
I would be grateful for the hint.
offfunction if only the event name was passed to it removes all the handlers possibly hung with jquery - Grundy