when I loop through all the frames like this:
var frames = doc.defaultView.frames;
for ( var i = 0; i < frames.length; i++) {
var frame = frames[i];
sometimes the variable frame is undefined!
How can this be?
I added code to detect this but I am still wondering if this might be
a bug.
A page that triggers this is
http://v.daum.net/%EC%A7%80%EB%B6%95%EB%9A%AB%EA%B3%A0%ED%95%98%EC%9D%B4%ED%82%A5&news_id=5270445?RIGHT_VIEW=R3
cheers
Axel
Just a guess, but maybe another script is setting the frame to
undefined or null.