diff --git a/background.js b/background.js index eeff54d..92ad1b2 100644 --- a/background.js +++ b/background.js @@ -77,7 +77,6 @@ function validateURL(url) { return browser.storage.local.get("allowedProtocols").then(({ allowedProtocols }) => { // Initialize a list of protocols that are allowed if unset. // This needs to be synced with the initialization code in options.js. - console.log(allowedProtocols); if (allowedProtocols === undefined) { allowedProtocols = new Set(); allowedProtocols.add("http:"); @@ -112,12 +111,12 @@ function generateChhotoRequest(url) { // If the user didn't specify an API key if (!data.chhotoKey) { return Promise.reject(new Error( - "Missing API Key. Please configure the Chhoto URL extension. See https://git.solomon.tech/solomon/Chhoto-URL-Extension for more information." + "Missing API Key. Please configure the Chhoto URL extension. See https://git.solomon.tech/solomon/Chhoto-URL-Extension#installation for more information." )); } // If the user didn't specify an API key or a host if (!data.chhotoKey || !data.chhotoHost) { - return Promise.reject(new Error("Please configure the Chhoto URL extension. See https://git.solomon.tech/solomon/Chhoto-URL-Extension for more information.")); + return Promise.reject(new Error("Please configure the Chhoto URL extension. See https://git.solomon.tech/solomon/Chhoto-URL-Extension#installation for more information.")); } data.longUrl = url.href; diff --git a/manifest.json b/manifest.json index dc94b5f..5f7f920 100644 --- a/manifest.json +++ b/manifest.json @@ -16,8 +16,7 @@ "notifications", "clipboardWrite", "storage", - "https://*/*", - "http://*/*" + "https://*/*" ], "options_ui": { "page": "options.html" diff --git a/options.html b/options.html index 7c706f0..4c97e02 100644 --- a/options.html +++ b/options.html @@ -102,7 +102,7 @@
Don't have one? See here for more information.
-A non-HTTPS connection is insecure! Only use this if you are testing.
+A non-HTTPS connection is insecure! This is disallowed as per Firefox's development practices.