         Raven.config @config.sentry_dsn,
           whitelistUrls: [/devdocs/]
           includePaths: [/devdocs/]
-          ignoreErrors: [/dpQuery/, /NPObject/]
+          ignoreErrors: [/dpQuery/, /NPObject/, /NS_ERROR/, /^null$/]
           tags:
             mode: if @DOC then 'single' else 'full'
             iframe: (window.top isnt window).toString()

@app =
  $: $
  $$: $$
  collections: {}
  models:      {}
  templates:   {}

  isInjectionError: ->
    # Some browser extensions expect the entire web to use jQuery.
    # I gave up trying to fight back.
    window.$ isnt app._$ or window.$$ isnt app._$$ or window.page isnt app._page

  isAppError: (error, file) ->
    # Ignore errors from external scripts.
