Fix DOM XSS

This commit is contained in:
r0hanSH 2022-02-26 17:16:18 +05:30
parent e33c3c72f9
commit 32cdd3b187

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';