Re: How to create a quote with a bookmarklet

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=''+location.href 
> +''%3E\n\n%3Cp%3E'+document.getSelection()+'%3C/p%3E\n\n%3C/ 
> blockquote%3E\n\n%3Cp%3E%3Ccite%3E%3Ca%20href=''+location.href 
> +''%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 UTC