From 1e47ccc4675a28864aa5a6223af60d8291a40f76 Mon Sep 17 00:00:00 2001 From: ad101-lab <55064247+ad101-lab@users.noreply.github.com> Date: Thu, 23 Jul 2020 10:12:17 -0600 Subject: [PATCH] added google maps support still a little broken for some unknown reason --- ext/manifest.json | 9 +- ext/src/browser_action/browser_action.html | 23 +- ext/src/browser_action/script.js | 305 +++++++++++++++++++-- 3 files changed, 300 insertions(+), 37 deletions(-) diff --git a/ext/manifest.json b/ext/manifest.json index 92c25b1..e1d01f8 100644 --- a/ext/manifest.json +++ b/ext/manifest.json @@ -15,11 +15,16 @@ "persistent": false }, - "options_page": "src/options/index.html", "browser_action": { "default_icon": "icons/icon19.png", "default_title": "browser action demo", "default_popup": "src/browser_action/browser_action.html" - } + }, + "permissions": [ + "tabs", + "storage", + "http://*/", + "https://*/" + ] } diff --git a/ext/src/browser_action/browser_action.html b/ext/src/browser_action/browser_action.html index 4c9dfd7..1dbf90f 100644 --- a/ext/src/browser_action/browser_action.html +++ b/ext/src/browser_action/browser_action.html @@ -1,8 +1,8 @@ - +