Michael Winter wrote:
[snip]
There is only one real reason to use the JavaScript pseudo-protocol[1],
and you aren't using it in that way.
[1] For using bookmarklets.
Before you say[1] the "only one reason"[2] you should open K-Meleon[3]
and find the Javascript Debugger[4].
That's a bad example. What use would such a link be on a public webpage?
The method used might only work on that browser, rendering it useless for
the general population.
[1] As much as you can "say" anything in usenet, its typed.
[2] I obviously disagree with that part.
Rather than playing the fool, you simply could have said something like:
"While in principal I agree that use of the JavaScript pseudo-
protocol can be a bad idea, especially when a better alternative
exists, there are more good uses for it than you care to suggest."
....then list some good uses for it.
[3] Its a Mozilla Based Browser, but lacks the Tools>Web
Development>Javascript Console path to open the Console.
[4] Its actually the Javascript Console, but I footnoted it in an effort
to make a point about the over-use of footnotes in Usenet[5]
I used two, and only one, upon reflection, was unwarranted. Does is really
matter? I think not.
[5] Even Usenet when its accessed by a web-based forum that portrays
itself as a private forum.
As for the javascript: pseudo-protocol, I just mentioned one very valid
use for it, can you name others (besides an href) and explain why they
are "bad" since you claim there is "only one reason" to use it?
I can't, because I have *never* found a good use for it. That doesn't mean
to say there isn't, but I've never found one, and I seriously doubt the OP
will, either. The point is that the OP shouldn't be using it in this case.
It's also the point that you should be making: my general argument is
right, here, but isn't in every situation.
When used inappropriately, the pseudo-protocol is bad. It causes unwanted
side-effects (this thread is an example of that) and is inconsiderate of
users with JavaScript-disabled browsers.
In future, don't deride my comments. Simply correct me, politely.
Mike