From 2802095443f797071f7f564af253be1f4e3bf7fe Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 11 Aug 2019 20:21:05 +0200 Subject: [PATCH] Put quotes around URI to prevent the shell from altering it. --- browser-plugins/webextension/manifest.json | 2 +- browser-plugins/webextension/popup.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/browser-plugins/webextension/manifest.json b/browser-plugins/webextension/manifest.json index eaf19a9..4626032 100644 --- a/browser-plugins/webextension/manifest.json +++ b/browser-plugins/webextension/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "remwharead", - "version": "0.4.0", + "version": "0.4.1", "description": "Integrates remwharead into your Browser.", "homepage_url": "https://schlomp.space/tastytea/remwharead", diff --git a/browser-plugins/webextension/popup.js b/browser-plugins/webextension/popup.js index 9aeed01..8986af0 100644 --- a/browser-plugins/webextension/popup.js +++ b/browser-plugins/webextension/popup.js @@ -12,7 +12,7 @@ const msgerror = document.getElementById("msgerror"); function set_taburl(tabs) // Set taburl to URL of current tab. { const tab = tabs[0]; - taburl = tab.url; + taburl = '\'' + tab.url + '\''; } function get_tags() // get tags from text input.