Created
September 18, 2014 14:37
-
-
Save nickpelton/8473199cc1bcb2419ef3 to your computer and use it in GitHub Desktop.
TrackJS ignore Chrome browser extensions
This file contains hidden or 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
window._trackJs = { | |
onError: function (payload){ | |
if(payload.file.indexOf("chrome://") !== -1){ return false; } // many extensions have a source file of chrome://some/extension/path.js | |
return true; | |
} | |
// other stuff | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment