From 25580a3e0281f94a46def16ea12e2fc5084dbf75 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sun, 24 Jul 2016 10:59:37 -0700 Subject: [PATCH] Add local permissions --- ext/manifest.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/manifest.json b/ext/manifest.json index 05a362c1..fc715036 100644 --- a/ext/manifest.json +++ b/ext/manifest.json @@ -10,7 +10,7 @@ "author": "Alex Yatskov", "background": {"page": "bg/background.html"}, "content_scripts": [{ - "matches": ["*://*/*"], + "matches": ["*://*/*", "file://*/*"], "js": [ "fg/js/source-range.js", "fg/js/source-image.js", @@ -25,7 +25,7 @@ "options_ui": { "page": "bg/options.html" }, - "permissions": ["*://127.0.0.1/*", "storage"], + "permissions": ["file://*/*", "http://127.0.0.1/*", "storage"], "web_accessible_resources": [ "fg/css/frame.css", "fg/img/add_kanji.png",