Kris_88 wrote: ↑2023-10-18, 04:43
I think scripts should not be allowed to initiate copy and paste operations.
That would break a large number of legitimate websites. Many sites rely on providing the convenience for users to have such "copy" buttons. Clipboard manipulation is and has been for a long time part of the web standard, this isn't new, and is in use by many websites. It is simply not practical at this point to rewrite this behaviour in browsers and expect users to accept that they can no longer click and copy. Have you tried manually copying text on a mobile phone recently? It's a PITA because of the limitations of a touchscreen and big sausage "input devices" (i.e. fingers).
Kris_88 wrote: ↑2023-10-18, 04:43
Also, the right of scripts to replace selected text with some of their own data when copying to a clipboard or to prohibit copying altogether seems questionable.
Once again, many legitimate websites use this. Always copying "what a user selects" without performing any data transformation on it can be just as problematic, especially if the selection wasn't accurate. Yes, I'm aware that some websites use the annoying practice of tacking on arbitrary data to what is selected and copied, but that doesn't make the ability to put into the clipboard what was intended in itself a bad thing.
And, Pale Moon still gives you full control over all this. See the following prefs to customize the behaviour to your liking:
clipboard.autocopy
clipboard.plainTextOnly
dom.event.clipboardevents.enabled