"Hidden text" being copied to the clipboard?

User Help for Mozilla Firefox
Posts: 4542
Joined: March 19th, 2005, 10:51 am

Post Posted February 21st, 2019, 4:04 pm

Surely all copied text should be plain text? What possible reason could there be to allow non-plain text to enter the clipboard? That's just opening up the web for abuse? People surely want to see what they're copying and know what they're copying. The clipboard is a simple tool. It seems like Firefox is trying to turn it into something more complicated, for no apparent reason?

Please read again: Firefox is copying text AND format, its up on the receiver to rip format and use plain text only.
you need an extension to get plain text from firefox.
this is and was regular behavior since minimum 2014 ... me-firefox
Posted ... on October 3, 2014

theat leads to another question - why NOW asking?


User avatar
Posts: 122038
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Post Posted February 21st, 2019, 4:33 pm

Surely all copied text should be plain text?

That would make sense only if the text copied was originally plain text. The fact is that HTML tags are not displayed by browsers, or by word processors unless the user changes default settings, and when text on a web page is copied to the clip board, the tags are copies along with the visible text. That's totally normal and appropriate behavior.

Diane Vigil
Posts: 270
Joined: October 6th, 2010, 3:55 am

Post Posted February 21st, 2019, 4:48 pm

There is also the Copy Plain Text extension -- you can copy as usual (with formatting) or right-click to choose (among other things) Copy Plain Text. ... plaintext/


User avatar
Posts: 20006
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Post Posted February 22nd, 2019, 5:58 am

Extension does not work, as the text that is being copied is (already) "plain text".

The error is not with the copy, it is with the selector.
Just because what you want to copy looks like it is what you want, what you have selected is actually different.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv: Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript

Diane Vigil
Posts: 270
Joined: October 6th, 2010, 3:55 am

Post Posted February 22nd, 2019, 7:11 am

I see what you mean. While the plaintext extension does allow the removal of some of the formatting, the underlying HTML coding is still there and gets copied along with the extra "stuff".

I guess the issue is "what is plain text"? To me, that does not mean whatever looks like "only text" on a web page. It means text with no coding in it:
- no HTML coding from web pages, for example, or
- no printer-type commands from Word documents

But I see you've already mentioned a text editor. To me, that would be a "plain text editor". But using Firefox (or Vivaldi, which I just tried) to copy part of a web page will pick up the underlying HTML coding.


User avatar
Posts: 10823
Joined: October 15th, 2003, 7:40 pm
Location: Chicago IL/Oconomowoc WI

Post Posted February 22nd, 2019, 8:57 am

If I search using Google with Firefox, Chrome, Safari or Opera for "definition word". The hidden text is copied for each of those four browsers.

Since this behavior IS NOT unique to Firefox it is not a Firefox issue (or any kind of issue).


FF 70.0 - FF 70b14 - FF 71a - TB 60.8 - Mac OSX 10.13.6
Computers I've used: IBM 7094/UNIVAC 1108/IBM 360/DEC PDP11/DEC VAX-11 780/DEC VAXstation 8000/Sun SPARCstation 2/Mac from 1984 to 2019

Return to Firefox Support

Who is online

Users browsing this forum: Bing [Bot] and 12 guests