W3C home > Mailing lists > Public > www-archive@w3.org > October 2005

Re: How to create a quote with a bookmarklet

From: Dan Connolly <connolly@w3.org>
Date: Mon, 31 Oct 2005 09:00:45 -0600
To: Karl Dubost <karl@w3.org>
Cc: www-archive@w3.org
Message-Id: <1130770845.27261.845.camel@dirk>

On Mon, 2005-10-31 at 09:32 -0500, Karl Dubost wrote:
[...]
> My code proposal:
> 
> Suggestions and modifications are welcome.
> 
> javascript:void(window.open('%20').document.write('%3Ctextarea% 
> 20rows=20%20cols=80%3E%3Cblockquote%20cite=&apos;'+location.href 
> +'&apos;%3E\n\n%3Cp%3E'+document.getSelection()+'%3C/p%3E\n\n%3C/ 
> blockquote%3E\n\n%3Cp%3E%3Ccite%3E%3Ca%20href=&apos;'+location.href 
> +'&apos;%3E'+document.title+'%3C/a%3E%3Cbr%20/%3E'+new%20Date 
> (document.lastModified).toUTCString()+'%3C/cite%3E%3C/p%3E%3C/textarea 
> %3E'))

That's a welcome addition to the page. Please do make the edit.

In general, it's fine to edit pages I sign and notify me after the fact,
if you're reasonably confident it's an improvement.

> [1]: http://www.w3.org/2000/08/eb58
> 
-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E
Received on Monday, 31 October 2005 15:00:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 November 2012 14:17:53 GMT