473,397 Members | 2,056 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

What is _javascriptNo: ?

I came across a tech tip that suggested using "_javascriptNo:" as in:

<a href="_javascriptNo:mm_openBrWindow(...)">stuff</a>

Could somebody please explain what this is about? And is it browser-
specific? (Google was no help in understanding this.)

Thanks in advance.
Jun 16 '06 #1
5 1127
Jim Land said the following on 6/15/2006 11:14 PM:
I came across a tech tip that suggested using "_javascriptNo:" as in:
Where?
<a href="_javascriptNo:mm_openBrWindow(...)">stuff</a>
Very bad idea even if it works.

<URL: http://jibbering.com/faq/#FAQ4_24>
Could somebody please explain what this is about? And is it browser-
specific? (Google was no help in understanding this.)


Maybe, maybe not. Use a real href and let script degrade gracefully and
you will find yourself not needing javascript:

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Jun 16 '06 #2
Randy Webb <Hi************@aol.com> wrote in
news:zb******************************@comcast.com:
Jim Land said the following on 6/15/2006 11:14 PM:
I came across a tech tip that suggested using "_javascriptNo:" as in:


Where?
<a href="_javascriptNo:mm_openBrWindow(...)">stuff</a>


Very bad idea even if it works.

<URL: http://jibbering.com/faq/#FAQ4_24>
Could somebody please explain what this is about? And is it browser-
specific? (Google was no help in understanding this.)


Maybe, maybe not. Use a real href and let script degrade gracefully and
you will find yourself not needing javascript:


You misunderstood my question. It's not about using javascript: as an
href. It's about using "_javascriptNo:" syntax in any situation.
Anybody know what "_javascriptNo:" is about?
Jun 16 '06 #3
Jim Land said the following on 6/16/2006 12:25 AM:
Randy Webb <Hi************@aol.com> wrote in
news:zb******************************@comcast.com:
Jim Land said the following on 6/15/2006 11:14 PM:
I came across a tech tip that suggested using "_javascriptNo:" as in:

Where?
<a href="_javascriptNo:mm_openBrWindow(...)">stuff</a>

Very bad idea even if it works.

<URL: http://jibbering.com/faq/#FAQ4_24>
Could somebody please explain what this is about? And is it browser-
specific? (Google was no help in understanding this.)

Maybe, maybe not. Use a real href and let script degrade gracefully and
you will find yourself not needing javascript:


You misunderstood my question. It's not about using javascript: as an
href. It's about using "_javascriptNo:" syntax in any situation.
Anybody know what "_javascriptNo:" is about?


That is why I asked where you got that "tech tip" as a search for
_javascriptNo: in the archives returns 1 result. This thread.

A search of the entire Usenet archive at groups.google.com returns 4
hits. This thread and three posts about a spam posting where the phrase
_javascriptNo: turns up as part of a URL to a website and not javascript
itself.

So again, where did you read about that as nobody has ever asked here
before about it. Maybe knowing where you read it, and it can be
reviewed, will give some insight to what it was supposed to be or what
it was intended to be.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Jun 16 '06 #4
Jim Land <RrrrFfffTttt(NO)@(SPAM)hotmail.com> writes:
I came across a tech tip that suggested using "_javascriptNo:" as in:

<a href="_javascriptNo:mm_openBrWindow(...)">stuff</a>

Could somebody please explain what this is about? And is it browser-
specific? (Google was no help in understanding this.)


My guess, without being certain, is that some web forum changes all
instances of "javavscript:" in submitted text to "_javascriptNo:"
(or perhaps "javascriptNo:") in order to avoid a malicious submitter
from adding a "bad link".

It has no meaning otherwise. The correct (but not recommended)
thing to write is <a href="javascript:doSomething()">...</a>.

The better solution is
<a href="reallink.html" onclick="doSomething();return false">...</a>

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
Jun 16 '06 #5
Lasse Reichstein Nielsen <lr*@hotpop.com> wrote in
news:ps**********@hotpop.com:
Jim Land <RrrrFfffTttt(NO)@(SPAM)hotmail.com> writes:
I came across a tech tip that suggested using "_javascriptNo:" as in:

<a href="_javascriptNo:mm_openBrWindow(...)">stuff</a>

Could somebody please explain what this is about? And is it browser-
specific? (Google was no help in understanding this.)


My guess, without being certain, is that some web forum changes all
instances of "javavscript:" in submitted text to "_javascriptNo:"
(or perhaps "javascriptNo:") in order to avoid a malicious submitter
from adding a "bad link".

It has no meaning otherwise. The correct (but not recommended)
thing to write is <a href="javascript:doSomething()">...</a>.

The better solution is
<a href="reallink.html" onclick="doSomething();return false">...</a>

/L


Thanks. That makes sense, that it's just an artifact introduced by forum
software, and not some hot new way to do something cool.
Jun 16 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Al Davis | last post by:
Note: I tried cross-posting this message to several newsgoups, including comp.lang.perl.misc, c.l.p.moderated, comp.infosystems.www.authoring.cgi, comp.lang.javascript and comp.lang.php. Nothing...
15
by: lkrubner | last post by:
I want to give users the power to edit files from an easy interface, so I create a form and a PHP script called "fileUpdate". It does a reasonable about of error checking and prints out some...
2
by: thecrow | last post by:
Alright, what the hell is going on here? In the following code, I expect the printed result to be: DEBUG: frank's last name is burns. Instead, what I get is: DEBUG: frank's last name is...
220
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have...
54
by: Brandon J. Van Every | last post by:
I'm realizing I didn't frame my question well. What's ***TOTALLY COMPELLING*** about Ruby over Python? What makes you jump up in your chair and scream "Wow! Ruby has *that*? That is SO...
699
by: mike420 | last post by:
I think everyone who used Python will agree that its syntax is the best thing going for it. It is very readable and easy for everyone to learn. But, Python does not a have very good macro...
3
by: Chris Cioffi | last post by:
I started writing this list because I wanted to have definite points to base a comparison on and as the starting point of writing something myself. After looking around, I think it would be a...
92
by: Reed L. O'Brien | last post by:
I see rotor was removed for 2.4 and the docs say use an AES module provided separately... Is there a standard module that works alike or an AES module that works alike but with better encryption?...
125
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.