[webkit-dev] link-following feature for our new webkit browser.

Alexey Proskuryakov ap at webkit.org
Mon May 4 08:31:59 PDT 2009


04.05.2009, в 17:19, Jan Kolkmeier написал(а):

> 2. Go to link $i:
>> window.location = document.links[i].href;
> This isn't nice at all, because it doesn't work with ajax-ish web  
> pages.


As already asked on IRC, could please clarify what you mean by  
"doesn't work"? In particular, the following works as I would expect  
it to:

<a href="javascript:alert(0)">link</a>
<script>window.location = document.links[0].href;</script>

- WBR, Alexey Proskuryakov




More information about the webkit-dev mailing list