[Greasemonkey] DOMContentLoaded problem

s g junkvendoremail at yahoo.com
Thu Oct 5 07:51:04 PDT 2006


just tried it and it still doesn't work.

i replaced the line

    iframe.contentWindow.location.href = location.href;

with

    iframe.contentWindow.location.href ='about:blank';

and later...i'm not seeing the alert.

      iframe.contentDocument.addEventListener("DOMContentLoaded", function() {
        alert('ok');

      }, false);


 		
---------------------------------
Do you Yahoo!?
 Everyone is raving about the  all-new Yahoo! Mail.


More information about the Greasemonkey mailing list