diff --git a/manifest.json b/manifest.json index 0d73869..b224820 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "__MSG_extensionName__", "author": "pdulvp@laposte.net", - "version": "1.2", + "version": "1.3", "homepage_url": "https://github.com/pdulvp/extract-data", "description": "__MSG_extensionDescription__", diff --git a/ui/options.js b/ui/options.js index aa3950c..d1cdc5b 100644 --- a/ui/options.js +++ b/ui/options.js @@ -335,6 +335,7 @@ function clickPopupItem(event) { document.getElementById("button-open").onclick = function (event) { let url = document.getElementById("field-sitematch").value; + url = url.replace(/\\([\.\?\[\]\(\)\\\^\$\{\}\+])/g, "$1"); browser.tabs.create( { url: url, active: true