On Oct 11, 2005, at 8:09 PM, Sebastien Boisvert wrote:
Is there a way to determine if a page/resource load was initiated
through javascript as opposed to a user-initiated action (link
click, form submit, etc) as in:
top.location='some URL'
If you're implementing a policy delegate callback, the
actionInformation dictionary includes a navigation type, under the
WebActionNavigationTypeKey. The navigation types distinguish clicks,
form submissions, back/forward, and "other", which includes JavaScript.
Depending on exactly what you're trying to do, this might be
sufficient for your needs.
-- Darin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden