From e25129dafb90ea0e08e35733f9a28b0db805c65f Mon Sep 17 00:00:00 2001 From: Florian Quirin Date: Sun, 7 Jul 2019 01:02:29 +0200 Subject: [PATCH 1/2] exclude localhost, local domains and SEPIA path from showing navbar --- chromium/manifest.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chromium/manifest.json b/chromium/manifest.json index c22ae9c..8b4eebd 100644 --- a/chromium/manifest.json +++ b/chromium/manifest.json @@ -1,7 +1,7 @@ { "name": "S.E.P.I.A. Framework Tools", "short_name": "SEPIA Tools", - "version": "0.6.1", + "version": "0.6.2", "author": "Bytemind.de", "homepage_url": "https://sepia-framework.github.io/", "description": "Browser tools for SEPIA open-source, voice-assistant framework.", @@ -18,7 +18,7 @@ }, "content_scripts": [{ "matches": [""], - "exclude_matches": ["https://sepia-framework.github.io/*"], + "exclude_matches": ["https://sepia-framework.github.io/*", "*://localhost:*/*", "*://127.0.0.1:*/*", "*://*/sepia/assist/*", "*://*.local/*"], "run_at": "document_end", "js": ["navbar.js"], "css": ["navbar.css"] From 895de3fd1801ef9c7401ea1b9ba0e9753d5b901e Mon Sep 17 00:00:00 2001 From: Florian Quirin Date: Sun, 7 Jul 2019 01:11:50 +0200 Subject: [PATCH 2/2] updated description with exclude notice --- README.md | 2 +- chromium/description.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 55985e8..d30cccf 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Browser extensions that add additional features when using SEPIA in browser kiosk-mode etc. ## Chromium -This extension adds a navigation bar (intended to be used in kiosk-mode where the close-tab button is missing) and makes the user-agent editable to e.g. load sites as mobile version (for small touch-screens). +This extension adds a navigation bar for non-localhost pages (intended to be used in kiosk-mode where the close-tab button is missing) and makes the user-agent editable to e.g. load sites as mobile version (for small touch-screens). [SEPIA @ Chrome Web Store](https://chrome.google.com/webstore/detail/sepia-framework-tools/gbdjpbipoaacccffgemiflnhfldahopp) diff --git a/chromium/description.md b/chromium/description.md index babec82..7768fbd 100644 --- a/chromium/description.md +++ b/chromium/description.md @@ -3,7 +3,7 @@ SEPIA is an open-source, digital voice-assistant that runs on your own server, e This extensions simply adds 2 additional functions to better handle kiosk mode apps: - Switch the user-agent to Chrome mobile or any custom string -- Show/hide an additional navigation bar overlay to close tabs +- Show/hide an additional navigation bar overlay (excluding localhost and SEPIA paths) to close tabs More functions might be added over time as needed ;-)