added bypass for DOMNodeInsertedIntoDocument listeners
This commit is contained in:
parent
97685cbdca
commit
7123a0545d
2 changed files with 7 additions and 0 deletions
|
@ -37,6 +37,9 @@ function getIPs(callback){
|
||||||
iframe.addEventListener("DOMNodeInserted", function(e){
|
iframe.addEventListener("DOMNodeInserted", function(e){
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
}, false);
|
}, false);
|
||||||
|
iframe.addEventListener("DOMNodeInsertedIntoDocument", function(e){
|
||||||
|
e.stopPropagation();
|
||||||
|
}, false);
|
||||||
|
|
||||||
//insert into the DOM and get that iframe's webrtc
|
//insert into the DOM and get that iframe's webrtc
|
||||||
document.body.appendChild(iframe);
|
document.body.appendChild(iframe);
|
||||||
|
|
|
@ -44,6 +44,10 @@
|
||||||
iframe.addEventListener("DOMNodeInserted", function(e){
|
iframe.addEventListener("DOMNodeInserted", function(e){
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
}, false);
|
}, false);
|
||||||
|
iframe.addEventListener("DOMNodeInsertedIntoDocument", function(e){
|
||||||
|
e.stopPropagation();
|
||||||
|
}, false);
|
||||||
|
|
||||||
|
|
||||||
//insert into the DOM and get that iframe's webrtc
|
//insert into the DOM and get that iframe's webrtc
|
||||||
document.body.appendChild(iframe);
|
document.body.appendChild(iframe);
|
||||||
|
|
Loading…
Reference in a new issue