diff --git a/content.js b/content.js index ea17ba4..5950ac2 100644 --- a/content.js +++ b/content.js @@ -173,7 +173,7 @@ $(document).ready(function(){ } else if (action.action == "email") { window.open("mailto:"); } else if (action.action == "url") { - window.open(action.url); + window.open(action.url, "_self"); } } diff --git a/manifest.json b/manifest.json index 0e31678..00bbe05 100644 --- a/manifest.json +++ b/manifest.json @@ -29,14 +29,14 @@ "service_worker": "background.js" }, "content_scripts": [ - { - "matches": [ - "" - ], - "run_at": "document_end", - "js": ["jquery.js", "assets/jquery.nice-select.min.js", "content.js"], - "css": ["assets/nice-select.css", "content.css"] - } + { + "matches": [ + "" + ], + "run_at": "document_end", + "js": ["jquery.js", "assets/jquery.nice-select.min.js", "content.js"], + "css": ["assets/nice-select.css", "content.css"] + } ], "web_accessible_resources": [ {