diff --git a/assets/javascripts/app/app.coffee b/assets/javascripts/app/app.coffee index 912c1852..e41b8210 100644 --- a/assets/javascripts/app/app.coffee +++ b/assets/javascripts/app/app.coffee @@ -54,7 +54,7 @@ release: @config.release whitelistUrls: [/devdocs/] includePaths: [/devdocs/] - ignoreErrors: [/NPObject/, /NS_ERROR/, /^null$/, /Electron\.app/] + ignoreErrors: [/NPObject/, /NS_ERROR/, /^null$/, /EvalError/] tags: mode: if @isSingleDoc() then 'single' else 'full' iframe: (window.top isnt window).toString() @@ -72,6 +72,7 @@ $.extend(data.user ||= {}, app.settings.dump()) data.user.docs = data.user.docs.split('/') if data.user.docs data.user.lastIDBTransaction = app.lastIDBTransaction if app.lastIDBTransaction + data.tags.scriptCount = document.scripts.length data .install() @previousErrorHandler = onerror