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

Jan Kolkmeier jouzar at googlemail.com
Mon May 4 13:55:02 PDT 2009


Sorry i must have missed that on irc. I can't verify now that your
examples don't work - but i can verify that links with onclick="..."
attributes don't work as expected - this makes my first try unusable
already :(.

PS: Sorry for posting this topic twice - i expected my own topic being
mailed back to me (double checked this behaviour on the settings, and
it was ON indeed). Since i didn't recieved the first one i assumed it
being failed and resent it.

2009/5/4 Alexey Proskuryakov <ap at webkit.org>:
>
> 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