#64 ✓resolved

Safari now has DOMContentLoaded event, use it

Reported by LaC | April 30th, 2008 @ 01:04 AM | in

Safari now supports the DOMContentLoaded event, so you should use it and disable the setInterval workaround. To the line that checks for "if (Prototype.Browser.WebKit)", add a check for a WebKit version earlier than 525.13, so that the workaround is not used from this version onward.

This is the user-agent string for the version of Safari I am using, which supports DOMContentLoaded:

Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_4_11; en) AppleWebKit/525.13 (KHTML, like Gecko) Version/3.1.1 Safari/525.18

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Prototype JavaScript library.

Shared Ticket Bins