File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 72
72
// console.log("el.contentWindow.performance.timing.loadEventEnd: " + el.contentWindow.performance.timing.loadEventEnd)
73
73
74
74
if ( el . contentWindow && el . contentWindow . performance && el . contentWindow . performance . timing . loadEventEnd === 0 ) {
75
- console . log ( "ready path" )
75
+ // console.log("ready path")
76
76
el . addEventListener ( 'load' , ( ) => doObserveIFrame ( el ) , true )
77
77
} else {
78
- console . log ( "not ready path" )
78
+ // console.log("not ready path")
79
79
doObserveIFrame ( el )
80
80
}
81
81
}
90
90
mutations . forEach ( function ( mutation ) {
91
91
for ( let i = 0 ; i < mutation . addedNodes . length ; i ++ ) {
92
92
let addedNode = mutation . addedNodes [ i ] ;
93
- console . log ( addedNode . tagName )
93
+ // console.log(addedNode.tagName)
94
94
if ( addedNode . tagName === 'IFRAME' ) {
95
- console . log ( "IFRAME loaded" )
95
+ // console.log("IFRAME loaded")
96
96
observeIFrame ( addedNode ) ;
97
97
} else if ( addedNode . tagName === 'SECTION' ) {
98
98
let iframes = [ ] ;
You can’t perform that action at this time.
0 commit comments