1
0
Fork 0

Fix DOM XSS

This commit is contained in:
r0hanSH 2022-02-26 17:16:18 +05:30
parent e33c3c72f9
commit 32cdd3b187
1 changed files with 4 additions and 0 deletions

View File

@ -368,6 +368,10 @@
window.addEventListener( 'message', function( event ) { window.addEventListener( 'message', function( event ) {
if (window.location.origin !== event.origin){
return;
}
clearTimeout( connectionTimeout ); clearTimeout( connectionTimeout );
connectionStatus.style.display = 'none'; connectionStatus.style.display = 'none';