Re:With Firefox on X11, any page can pastejack you anytime (...
by joveian on Sunday October 22, 2023 @01:04AM
(#37972970)
That removes your middle mouse button entirely! (Unreliably due to the use of numbers with xinput, which can change; xinput can take names to avoid that issue). The issue will remain if the primary selection is pasted into a terminal by other means (personally, I use a key combination rather than mouse button) and won't be an issue if clipboard.autocopy is set to false in about:config in Firefox (per torgard's comment).
I've also set dom.event.clipboardevents.enabled to false since I don't want websites messing with the clipboard.
https://unix.stackexchange.com/questions/24330/how-can-i-tur...
What sucks is I use middle click paste all the time so now I'll have to decide if I want to leave it disabled for potentially improving security.