onload event for iframes on old Opera installations
Today I ran into a huge problem that I solved just with a line of code, yeah, that sounds easy, but actually the hard part was to found where the error was.
I found it, after inspecting the code very closely, everything seemed right but Opera 2.10 was still failing to proccess the body of an iframe when an onload event was attached to it. Recent versions of Opera were working normally.
The problem was that I defined iframe.src = 'about:blank', but for some reason Opera prefers 'opera:blank', otherwise it will trigger the onload event right after setting the iframe's src, even if the value is 'about:blank'.
BTW, I found the solution by accident, I read 'opera:blank' in an old Opera's exploit and decided to do a test.
Strange are the ways of God… and Opera developers.






