Created
January 5, 2011 03:17
-
-
Save monjudoh/765881 to your computer and use it in GitHub Desktop.
IE(主に6,7)で「操作は中断されました」エラーが出るヶ所でstackTraceをalertで出す。これに依存→ https://github.com/emwendelin/javascript-stacktrace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(){ | |
var domManip = jQuery.fn.domManip; | |
jQuery.fn.domManip = function(){ | |
if(!jQuery.isReady && !!this.closest('body').size() ) { | |
var msg = printStackTrace().join('\n'); | |
alert(msg); | |
throw new Error(); | |
} | |
return domManip.apply(this,arguments); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment