- From: Kristof Zelechovski <giecrilj@stegny.2a.pl>
- Date: Tue, 22 May 2007 09:47:12 +0200
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 being displayed in the browser. You can say "javascript: "<html ><head ><title ></title ></head ><body ></body ></html >"", but you should not say "javascript: document.location.href = "something"" because there is no document to modify the location of. It should really be a browser extension, not a bookmarklet. And there should no problem with presenting a password dialogue box from a browser extension. It is nice of Mr. Udell to share his opinions with the working group; it would be even nicer if he paid attention to what already is there in the specification. Best regards Chris -----Original Message----- From: whatwg-bounces@lists.whatwg.org [mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Ian Hickson Sent: Monday, May 21, 2007 10:53 PM To: judell at mv.com Cc: whatwg at whatwg.org Subject: Re: [whatwg] password option for window.prompt? 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, not a Web issue (the prompt isn't on a Web page). * We're trying to phase out modal prompts based on usability study results that show that users don't understand nor like them. * There hasn't been much demand for it. * There are workarounds (as you mention on the blog post itself, you could create a "real" Web page version of this). Because of those, I haven't added it to the spec. However, it's an interesting idea, and I will keep it in mind in the light of other requests, to see if there are other problems it would solve, or if this problem can be solved in ways that help other problems too. Cheers, -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 22 May 2007 00:47:12 UTC