Page 1 of 1

Warn, if user selects+copies hidden content?

Posted: Sat Jul 30, 2011 3:39 pm
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."

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

Posted: Wed May 30, 2012 11:34 am
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.