Having a single mouse button (that often has other functionality like autoscroll in Firefox) cause text highlighted in another app to paste in the focused app is super unintuitive to me, and caused a few significant annoyances unintentionally pasting secrets or private messages in the wrong place before I got rid of it.
With Firefox on X11, any page can pastejack you anytime (middle button paste)
31–40 of 195 posts
Re: With Firefox on X11, any page can pastejack you anytime (middle button paste)
#32You guys have a middle button? Maaaan. :) Edit: did y'all miss the smiley at the end of my comment?
Re: With Firefox on X11, any page can pastejack you anytime (middle button paste)
#33You guys have a middle button? Maaaan. :) Edit: did y'all miss the smiley at the end of my comment?
I was not looking for this as a feature when I bought one a few years ago but it had them and it has proved the thing I like about the machine the most.
Re: With Firefox on X11, any page can pastejack you anytime (middle button paste)
#34 open a new tab
type: about:config
Accept the prompt
type middlemouse.paste
change value “true” to “false” (double click or switch on the rightside)
restart firefox
--does this solve it?Re: With Firefox on X11, any page can pastejack you anytime (middle button paste)
#35 cd /etc/portage/patches/www-client/firefox/
nano nomiddleclickhijack.patch
#paste patch, save
emerge -av firefoxRe: With Firefox on X11, any page can pastejack you anytime (middle button paste)
#36This has been known for at least a decade or two already. And a much worse attack exists: you copy e.g. shell code from the page, and instead of what you see, you paste something evil in your terminal.
Re: With Firefox on X11, any page can pastejack you anytime (middle button paste)
#37The X “primary selection”/middle click paste behavior this takes advantage of is one of my least favorite Linux features and I have had it disabled for years, so I didn’t even know it had been changed/removed in Wayland. Having a single mouse button (that often has other functionality like autoscroll in Firefox) cause text highlighted in another app to paste in the focused app is super unintuitive to me, and caused a…
I do agree that overloading the button is terrible. I like the scroll wheel but wish there was a separate middle button. And I loathe middle button auto scroll, I regard it as a useless, user hostile feature.
Re: With Firefox on X11, any page can pastejack you anytime (middle button paste)
#38The X “primary selection”/middle click paste behavior this takes advantage of is one of my least favorite Linux features and I have had it disabled for years, so I didn’t even know it had been changed/removed in Wayland. Having a single mouse button (that often has other functionality like autoscroll in Firefox) cause text highlighted in another app to paste in the focused app is super unintuitive to me, and caused a…
Re: With Firefox on X11, any page can pastejack you anytime (middle button paste)
#39You should always paste into an editor first, just copying any text from a webpage is a risk. There are even examples using terminal escape codes, to hide what happened. https://www.reddit.com/r/privacy/comments/rv964x/comment/hr4...
A solution is bracketed paste[1] as mentioned in earlier comments[2], which would allow the user to examine a pasted command before running it.
Re: With Firefox on X11, any page can pastejack you anytime (middle button paste)
#40You guys have a middle button? Maaaan. :) Edit: did y'all miss the smiley at the end of my comment?
The trick with a laptop are Thinkpads. some models have three physical "mouse" buttons. I was not looking for this as a feature when I bought one a few years ago but it had them and it has proved the thing I like about the machine the most.