W3C home > Mailing lists > Public > www-tag@w3.org > June 2010

Re: Copy to Clipboard - ambush and abuse by javascript

From: Paul Libbrecht <paul@activemath.org>
Date: Fri, 11 Jun 2010 11:10:01 +0200
Cc: Larry Masinter <masinter@adobe.com>, "Roy T. Fielding" <fielding@gbiv.com>, "L.David Baron" <dbaron@dbaron.org>, Tim Berners-Lee <timbl@w3.org>, W3C TAG <www-tag@w3.org>
Message-Id: <CF595F36-7371-4BD7-B979-EF862ADAF0EE@activemath.org>
To: "Martin J. Dürst" <duerst@it.aoyama.ac.jp>

Le 11-juin-10 à 10:53, Martin J. Dürst a écrit :

> But that's all for the purpose of conserving as much of the content  
> across widely differing applications, rather than for confusing or  
> annoying the user.

This whole thread says it: there's no way in a spec to differentiate  
between annoying the user and providing a useful service to the user.  
Except if... you are the user.

On 2010/06/06 11:40, Larry Masinter wrote:
> Are there general WYSIWYG principles for copy-to-clipboard?

I wish I'd find them.
This sounds to be a field where developers have been doing nice  
services since ages but where no literature tells you "the right thing".

> [....]

> Are there other examples of "smart copy"?

I believe Macs and PCs offer lots of such examples. Here's a few, they  
are smart because they do the right thing to a normal user; they do  
change the content by injecting things into it.

- from Adobe Illustrator to Apple Preview or Quark X Press, you copy  
and paste a vector PDF (but you could also get a raster image which  
Illustrator has rasterized if going to Photoshop)

- from FireFox to a spreadsheet you have a chance to copy a table  
rectangle

- from MSIE to Word and from Safari to Pages, I believe you can copy a  
piece of RTF or HTML that looks a lot like the original

For HTML-originating copy, I had a frequent experience that all links  
are absolutized. Which can be viewed as a useful or useless service.

Where there's almost nothing thus far is when server work, for example  
the wiki source markup of a presented wiki page.

paul
Received on Friday, 11 June 2010 09:10:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:56:34 UTC