#592 enhancement
MKay

Konqueror and dom:loaded

Reported by MKay | March 13th, 2009 @ 12:05 AM | in 1.7

Hi,

i think i found a bug :)


document.observe('dom:loaded', ...);

This code does not work in my Konqueror (KDE Browser) v3.5.10. The event will never be fired. It seems, that DOMContentLoaded is not supported by this Browser.

I think I fixed the Problem by editing the line 4110 in version 1.6.0.3 of prototype. I changed this line to:


if (Prototype.Browser.WebKit || Prototype.Browser.KHTML) {

You have to add KHTML to Prototype.Browser (e.g. line 19):


KHTML:	navigator.userAgent.indexOf('KHTML') > -1,

Best Regards, MKay

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

Pages