Re: [whatwg] password option for window.prompt?

2007-05-22 Thread Ian Hickson
On Tue, 22 May 2007, Kristof Zelechovski wrote: > > Problems with that: > javascript URI scheme is not registered: > It's in the process: http://ietfreport.isoc.org/idref/draft-hoehrmann-javascript-scheme/ > And finally, in the specification

Re: [whatwg] password option for window.prompt?

2007-05-22 Thread Michael A. Puls II
On 5/22/07, Maciej Stachowiak <[EMAIL PROTECTED]> wrote: On May 22, 2007, at 12:16 PM, Kristof Zelechovski wrote: > Forgive my being nosy: which uses? > a href="javascript:." is valid but it replaces the current document > with a > document parsed from the textual representation of the value >

Re: [whatwg] password option for window.prompt?

2007-05-22 Thread Kristof Zelechovski
]; [EMAIL PROTECTED] Subject: Re: [whatwg] password option for window.prompt? On May 22, 2007, at 12:16 PM, Kristof Zelechovski wrote: > Forgive my being nosy: which uses? > a href="javascript:." is valid but it replaces the current document > with a > document p

Re: [whatwg] password option for window.prompt?

2007-05-22 Thread Kristof Zelechovski
M To: Kristof Zelechovski Cc: [EMAIL PROTECTED] Subject: Re: [whatwg] password option for window.prompt? Kristof Zelechovski wrote: > Forgive my being nosy: which uses? > a href="javascript:." is valid "." is not syntactically correct Javascript so script execution would be abor

Re: [whatwg] password option for window.prompt?

2007-05-22 Thread Maciej Stachowiak
On May 22, 2007, at 12:16 PM, Kristof Zelechovski wrote: Forgive my being nosy: which uses? a href="javascript:." is valid but it replaces the current document with a document parsed from the textual representation of the value returned from the script. If the javascript: URI returns the

Re: [whatwg] password option for window.prompt?

2007-05-22 Thread Tom Pike
Kristof Zelechovski wrote: > Forgive my being nosy: which uses? > a href="javascript:." is valid "." is not syntactically correct Javascript so script execution would be aborted and it would be treated as a standard link. Try something like: Hi signature.asc Description: OpenPGP digital sign

Re: [whatwg] password option for window.prompt?

2007-05-22 Thread Kristof Zelechovski
the beginning of the inserted script? That would be weird. Best regards, Chris -Original Message- From: Maciej Stachowiak [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 22, 2007 8:18 PM To: Kristof Zelechovski Cc: 'Ian Hickson'; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [whatwg]

Re: [whatwg] password option for window.prompt?

2007-05-22 Thread Maciej Stachowiak
On May 22, 2007, at 12:47 AM, Kristof Zelechovski wrote: And besides, the bookmarklet uses the javascript protocol, which, IIRC, is designed to produce a new document on the fly, not to modify the current one. On the contrary, many uses of the javascript: URI scheme in web pages are use

Re: [whatwg] password option for window.prompt?

2007-05-22 Thread Alexey Feldgendler
On Tue, 22 May 2007 17:38:28 +0200, Lee Kowalkowski <[EMAIL PROTECTED]> wrote: I'm more against allowing "javascript:" URIs in the HTML source, they should only be allowed via JS DOM operations to reinforce progressive enhancement practice. While it would be nice if HTML documents didn't con

Re: [whatwg] password option for window.prompt?

2007-05-22 Thread Lee Kowalkowski
On 22/05/07, Kristof Zelechovski <[EMAIL PROTECTED]> wrote: And besides, the bookmarklet uses the javascript protocol, which, IIRC, is designed to produce a new document on the fly, not to modify the current one. I do not think that a bookmarklet should be permitted to access the document that is

Re: [whatwg] password option for window.prompt?

2007-05-22 Thread Kristof Zelechovski
Bookmarklets are free tools to help with . impossible tasks in your web browser. Indeed. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of timeless Sent: Tuesday, May 22, 2007 12:49 PM To: [EMAIL PROTECTED] Subject: Re: [whatwg] password option for

Re: [whatwg] password option for window.prompt?

2007-05-22 Thread timeless
bookmarklets are heavily used to do work based on the current document. http://www.squarefree.com/bookmarklets/

Re: [whatwg] password option for window.prompt?

2007-05-22 Thread Kristof Zelechovski
n. Best regards Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Hickson Sent: Monday, May 21, 2007 10:53 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [whatwg] password option for window.prompt? On Tue, 3 May 2005, Jon Udell wrote: &

Re: [whatwg] password option for window.prompt?

2007-05-21 Thread Ian Hickson
On Tue, 3 May 2005, Jon Udell wrote: > > what: a password option for window.prompt > > why: http://weblog.infoworld.com/udell/2005/05/03.html#a1227 Interesting. I have a number of concerns about this idea: * It's main use case, as described above, is as a workaround for a user agent issue,