Warn, if user selects+copies hidden content?

Bug reports and enhancement requests
Post Reply
u.o.
Posts: 4
Joined: Mon Mar 01, 2010 2:17 pm

Warn, if user selects+copies hidden content?

Post by u.o. »

If you select and copy some text on a web page, your clipboard contains the content the way it's written in the markup, not the way it's visible on the page. Which is good, I think.

But I think it might be useful, if NoScript could watch and check what the user copies, and if the content contains some hidden text, produce a warning (similar to ClearClick). (ClearClipboard? ClearCopy? … something like that ;p)

Minimal example

Code: Select all

<p>John Doe is <span style="display:none;">not</span> funny.</p>
This source code gets displayed this way:
John Doe is funny.
The user selects this text (starting with "J" and stopping with ".")

Now his clipboard does not contain "John Doe is funny.", but "John Doe is not funny."
Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.18) Gecko/20110628 Ubuntu/10.04 (lucid) Firefox/3.6.18
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Warn, if user selects+copies hidden content?

Post by Thrawn »

Interesting idea. I doubt it will become part of NoScript (up to ma1), but it would be a good candidate for a small standalone extension, if anyone feels keen.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (Linux; U; Android 2.2.1; en-gb; GT-S5570 Build/FROYO) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
Post Reply