Mark Mielke <m...@mark.mielke.cc> писал в своём письме Thu, 07 Jan 2010 08:53:27 +0300:

On 01/07/2010 12:30 AM, Ed wrote:
Correction.  Now I know how to reproduce this.

Select the first link.  Right click on one message (any one will
do) and the select Open in New Tab or Open in New Window.  Then
presto, what is seen in the second link.

Is it a bug, or is it just the actual display of what the
link produces?

Since in the browser, the javascript takes the linked
(XML document) and displays it properly.  So if you just
view the link without being processed by the javascript,
which (AFAIK) displays the XML in its natural state.

That's what I think happens.

Haha - I should have waited one more minute to see your post. If you look to my post, it only overrides "onclick". It does not override "right click". So, yes, it seems like a limitation of the implementation. Only a regular click is handled properly. A right click open new window does not execute the JavaScript, and therefore falls to the href which is not presentable without a style sheet.

I'd say that the problem is not that they don't handle right clicks, but that they've set the internal URI as the link's target, thus making it visible for the user. If I were them, I'd put the plain message URI in there, with the JavaScript constructing the /ajax/ URI when needed.

Also, FWIW, the Ajaxy stuff seems to be browser dependent. In IE, Opera, and Firefox w/NoScript I just get the plain links (which made me wonder for a while what's everyone talking about).

Roman.


Reply via email to