3
我使用最新版本的Chrome(14.0.x)來調試我的javascript(最新的jQuery)以及操作CSS。從Chrome的幾個版本開始,我總是在JavaScript控制檯中發現以下錯誤。有沒有人有任何想法我可以跟蹤我的代碼中的這個錯誤的來源?試圖找出Chrome瀏覽器JavaScript控制檯中顯示的錯誤來源
Error in event handler for 'undefined': TypeError: Cannot call method 'replace' of undefined
at handleGetResources (chrome-extension://fheoggkfdfchfphceeifdbepaooicaho/ContentScript.js:12:70)
at chrome/RendererExtensionBindings:239:13
at [object Object].dispatch (chrome/EventBindings:181:28)
at Object.<anonymous> (chrome/RendererExtensionBindings:141:22)
和它所指向的文件是 「鉻/ EventBindings:183」 提前
Bingo !!我有同樣的錯誤,並禁用Site Advisor v3.31.137.7解決了這個問題。 –