Warn, if user selects+copies hidden content?
Posted: Sat Jul 30, 2011 3:39 pm
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
This source code gets displayed this way:
Now his clipboard does not contain "John Doe is funny.", but "John Doe is not funny."
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>
The user selects this text (starting with "J" and stopping with ".")John Doe is funny.
Now his clipboard does not contain "John Doe is funny.", but "John Doe is not funny."