The alert prompt box removes the domain name

 window.alert = function(name){
            var iframe = document.createElement("IFRAME");
            iframe.style.display="none";
            iframe.setAttribute("src", 'data:text/plain,');
            document.documentElement.appendChild(iframe);
            window.frames[0].window.alert(name);
            iframe.parentNode.removeChild(iframe);
        }

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324799118&siteId=291194637