how to find out where the alert in javascript
alert 위치 모를때 위치 찾는 법
alert이 뜨긴 뜨는데 어디서 뜨는지 모를 때.. 콘솔 or 소스에 아래 코드 입력하면 alert 위치 탐색 가능 var old = alert; alert = function() { console.log(new Error().stack); old.apply(window, arguments); };
alert이 뜨긴 뜨는데 어디서 뜨는지 모를 때.. 콘솔 or 소스에 아래 코드 입력하면 alert 위치 탐색 가능 var old = alert; alert = function() { console.log(new Error().stack); old.apply(window, arguments); };