diff options
-rw-r--r-- | src/bg/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bg/main.js b/src/bg/main.js index 7bd72a6..8ff2d55 100644 --- a/src/bg/main.js +++ b/src/bg/main.js @@ -181,7 +181,7 @@ }, requestCan(request, capability) { - return !this.isEnforced(request.tabId) || this.policy.can(request.url, "script", request.documentURL); + return !this.isEnforced(request.tabId) || this.policy.can(request.url, capability, request.documentURL); }, start() { |