Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Arno Welzel Newsgroups: comp.lang.javascript Subject: Re: javascript: and about: Protocols Not Working Date: Sun, 04 Dec 2011 15:46:20 +0100 Organization: A noiseless patient Spider Lines: 32 Message-ID: <4EDB87BC.9010805@arnowelzel.de> References: <66pdd7trvg6davamt33l7kb45f3v3lqdn2@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Injection-Info: mx04.eternal-september.org; posting-host="9yN0DclMS8zFXFEoPPofhg"; logging-data="652"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+T2j2U5IzsY7l2gMUDE75x/VjyewAdJhQ=" User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 In-Reply-To: <66pdd7trvg6davamt33l7kb45f3v3lqdn2@4ax.com> Cancel-Lock: sha1:oxB6vGkLODSxfbqqTCXE+k3Zt5E= Xref: x330-a1.tempe.blueboxinc.net comp.lang.javascript:8844 Gene Wirchenko, 2011-12-01 03:28: > Dear JavaScripters: > > The text that I am using refers to javascript: and about: > protocols. None of the examples will run on my system (IE 9 on > Windows 7). > > For > javascript:Date() > I get nothing. For > about:cache > and > about:plugins > I get a message of "Navigation to the webpage was canceled / What you > can try: / - Retype the address." > > I have looked for settings to enable these and have found > nothing. What am I missing, please? "about:" is not a "protocol" and are no standard either. So don't expect this to work universally in any browser. Using "javascript:" is also a bad idea - better implement an event handler for user interaction. -- Arno Welzel http://arnowelzel.de http://de-rec-fahrrad.de