Skip to content

Commit

Permalink
Open new tab didn't open the site #25
Browse files Browse the repository at this point in the history
Signed-off-by: pdulvp <pdulvp@laposte.net>
  • Loading branch information
pdulvp committed May 10, 2020
1 parent 9cf3a27 commit d36250d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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__",

Expand Down
1 change: 1 addition & 0 deletions ui/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d36250d

Please sign in to comment.