VK wrote:
Richard Cornford wrote:
What has href="javascript:... got to do with bookmakrlets?
"What JavaScript has to do with client-side scripting?"
Halfwit.
Is this today the Day of Stupid Questions? :-0 :-)
A question does not become stupid just because it goes over your head.
Bookmarklets are stored by the browser and executed a javascript
pseudo-protocol URLs. So questioning what that has to do with the
seriously inadvisable practice of using a javascript pseudo protocol
URL to an HREF attribute is reasonable. Although there may be little
point in asking you it as your thought process is too clouded for you
to understand.
You may want to check what bookmarlets are and how are they
used (just to eliminate a possibility that we are talking about
different entities with the same name).
You may want to read the question asked.
<http://en.wikipedia.org/wiki/Bookmarkletcould be used - not as the
most authoritative official source but as the most plain-worded yet
informative.
<quote cite="http://en.wikipedia.org/wiki/Bookmarklet">
A bookmarklet is a small JavaScript program that can be stored as a URL
within a bookmark in most popular web browsers,
</quote>
So what has that to do with values of HREF attributes?
<snip>
Halfwit.
Full dumb.
(my response in celebration of you calling me "halfwit" for 50th time).
Halfwit.
>Your claims of mystical powers associated with the void operator have
never been explained by you (and the other explanations stress your
insanity).
There is no mystical power behind "void" operator but it is boring to
explain it again and again just to hear "so why use void operator
here?" in just few weeks later.
You never have explained. All you do is post fictional non-sense and
ignore the people telling you it is nonsense.
OK, for Nth time: to avoid "navigation" to the bookmarlet output,
The loading of content derived from the expression evaluated in a
javascript pseudo-protocol HREF or bookmarklet it is only necessary
that the value be the Undefined type. There are many expressions that
will evaluate as Undefined that are not void operations. Indeed for
bookmarklets of any complexity an inline function call would be
preferable to a void operation as the contained scope avoids the
bookmarklet interfearing with the existing page's scripts.
dumb a** !
Halfwit.
And this output may happen if the bookmarklet execution breaks.
It will not.
Just search this group for explanations and samples .
Halfwit.
>What makes you think that Brendan Eich wrote the references?
See the very top of this post.
You mean the place where you suggest that some questions may be stupid?
The question is reasonable as the document does not appear to credit
any author and user guides and references for software are very rarely
well-written by the authors of the code (as the code authors understand
how everything works and so have little idea how to promote that
understanding in others).
Richard.