diff --git a/lib/check.js b/lib/check.js index d8d2080..871dc91 100644 --- a/lib/check.js +++ b/lib/check.js @@ -92,8 +92,14 @@ } function checkStack(errorStack){ - var callingStack = parseErrorStack(errorStack); - return lists.get("stack").match(callingStack); + if (settings.enableStackList){ + const stackList = lists.get("stack"); + if (stackList.length){ + const callingStack = parseErrorStack(errorStack); + return stackList.match(callingStack); + } + } + return false; } scope.checkStack = checkStack; }()); \ No newline at end of file diff --git a/releaseNotes.txt b/releaseNotes.txt index 1047fe5..5e07abd 100644 --- a/releaseNotes.txt +++ b/releaseNotes.txt @@ -22,6 +22,7 @@ Version 0.5.9: - enabled copying from settings description when they are "hidden" - fixed description for "show notifications" - improved DOMRect performance + - improved general performance when stack list is disabled known issues: - if a data URL is blocked the page action button does not appear