diff --git a/chrome/content_script.js b/chrome/content_script.js index aa5aed4..c8924d5 100644 --- a/chrome/content_script.js +++ b/chrome/content_script.js @@ -62,6 +62,9 @@ var injectedJS = function(pushstate, msgeventlistener, msgporteventlistener) { stack = stack[offset]; } listener_str = listener.__postmessagetrackername__ || listener.toString(); + if (stack && stack.includes('chrome-extension://')) { + return; + } m({window:window.top==window?'top':window.name,hops:h(),domain:document.domain,stack:stack,fullstack:fullstack,listener:listener_str}); }; var jqc = function(key) {