From 6c15f3183a887a5eda5e32a1709f5f660e794bbf Mon Sep 17 00:00:00 2001 From: richardfrost Date: Fri, 11 Aug 2017 18:08:23 -0600 Subject: [PATCH 1/2] Allow user to enable local files --- manifest.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index 94fd3651..584fdee4 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "short_name": "Profanity Filter", "author": "phermium", "manifest_version": 2, - "version": "0.9.4", + "version": "0.9.5", "description": "An advanced profanity filter.", "icons": { "16": "icons/icon16.png", @@ -11,6 +11,7 @@ "128": "icons/icon128.png" }, "permissions": [ + "file://*/*", "tabs", "storage" ], @@ -31,7 +32,7 @@ }, "content_scripts": [ { - "matches": ["*://*/*"], + "matches": [""], "js": ["filter.js"], "run_at": "document_end", "all_frames": true From 7250e4e4f3f2c0f9019cc4992a9d3b7c68cbfc1e Mon Sep 17 00:00:00 2001 From: Richard Frost Date: Fri, 11 Aug 2017 20:51:27 -0600 Subject: [PATCH 2/2] Make file url permissions optional --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 584fdee4..7ec38e7f 100644 --- a/manifest.json +++ b/manifest.json @@ -11,10 +11,10 @@ "128": "icons/icon128.png" }, "permissions": [ - "file://*/*", "tabs", "storage" ], + "optional_permissions": ["file://*/*"], "options_ui": { "page": "options.html", "chrome_style": true