0

I have suddenly in recent months repeatedly suffered FF (last few??? versions) web pages overwriting my X primary selection ON THEIR OWN. This is an enormous vulnerability, as I usually paste with middle mouse button. If FF gets in after my drag-to-select in any app, I'm sometimes shocked to paste remote multi-line content into the Shell :-(

  • The horrible NetSkope https-mitm-proxy error page (for a small static message a huge JS, that reloads every few seconds) selects the page content on every reload. I thus conscientiously close it ASAP, if I accidentally get it.

  • I also sometimes get generic (cookie bla bla or some such IIRC) text from some page that I haven't identified (among my ton of open tabs).

  • Now while writing this, got it twice from SO: when clicking "Ask question" from another Q, I got the <footer> of the page I came from become my selection. While playing around, suddenly the instructions that were initially under the Q-form became my selection.

I have studied these Qs, which repeat a gazillion times the same 2 ways to achieve this. They always say a mouse click is necessary, but in my above cases it happens when I'm not even in FF! I WANT THIS TO NEVER HAPPEN!

How do I copy to the clipboard in JavaScript?, Copy To Clipboard Javascript

3
  • You'll need to install a script execution plugin, like tampermonkey, and write code which prevents a copy/paste listener? Commented Oct 17, 2022 at 22:23
  • 2
    superuser.com/questions/1595994/… Commented Oct 17, 2022 at 22:38
  • Thanks, @KonradLinkowski! Those settings in the superuser thread sound very promising! If that's the solution, the FF devs (or probably marketing) must be out of their minds to have such defaults. This merits a critical CVE! Commented Oct 18, 2022 at 8:16

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.