From 3ff728d0fc3ea37702001823c27563d154ffcbf7 Mon Sep 17 00:00:00 2001 From: SmAsHeD <6071159+smashedr@users.noreply.github.com> Date: Wed, 27 Dec 2023 00:53:16 -0800 Subject: [PATCH] Updates (#20) * Updates * Fix Tab Colors and Update Logging * Add Option for Update All --- manifest.json | 2 +- src/html/oninstall.html | 5 +-- src/html/options.html | 12 +++++++- src/html/popup.html | 18 ++++++++--- src/js/export.js | 18 ----------- src/js/options.js | 5 +-- src/js/popup.js | 8 ++--- src/js/service-worker.js | 43 +++++++++++++------------- src/js/tab.js | 66 ++++++++++++++++++++++++++++++++-------- 9 files changed, 107 insertions(+), 70 deletions(-) diff --git a/manifest.json b/manifest.json index 6d9fa36..6775d61 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "manifest_version": 3, - "version": "0.1.5", + "version": "0.1.6", "name": "Open Links in New Tab", "description": "Modern Web Extension to Open Links in New Tabs for Specified Domains or Temporarily on Any Tab.", "homepage_url": "https://github.com/cssnr/open-links-in-new-tab", diff --git a/src/html/oninstall.html b/src/html/oninstall.html index 7a5161c..94625b2 100644 --- a/src/html/oninstall.html +++ b/src/html/oninstall.html @@ -1,6 +1,7 @@ + Open Links in New Tab @@ -22,7 +23,7 @@

Welcome

To always open links in new tabs for sites you toggle on, permissions to run on all hosts are needed.

- Grant Host Permissions + Grant Host Permissions

This web extension injects the @@ -31,7 +32,7 @@

Welcome

If so, it sets all links to open in a new tab.

- Open Options + Open Options
+ Open Links in New Tab @@ -60,6 +61,15 @@

Open Links in New Tab

+
+ + +
- Grant Host Permissions + Grant Host Permissions

More Information on Permissions

diff --git a/src/html/popup.html b/src/html/popup.html index 5bd5be0..d0b7334 100644 --- a/src/html/popup.html +++ b/src/html/popup.html @@ -1,6 +1,7 @@ + Open Links in New Tab @@ -23,14 +24,14 @@

Invalid Site

-
- +
+ Open Links in New Tab
- Enable Temporarily + Enable Temporarily
@@ -51,6 +52,15 @@
+
+ + +