5 Commits

Author SHA1 Message Date
s2
21dd898d44 v0.0.10 2017-12-13 11:19:35 +01:00
s2
757adc4722 need to test more 2017-12-13 11:19:20 +01:00
s2
26e7b44b36 v0.0.9 2017-12-13 11:15:59 +01:00
s2
675900d0c8 move screenshots folder 2017-12-13 11:15:37 +01:00
s2
34d0f821a0 actually persist hosts option 2017-12-13 11:15:06 +01:00
4 changed files with 4 additions and 3 deletions

View File

Before

Width:  |  Height:  |  Size: 257 KiB

After

Width:  |  Height:  |  Size: 257 KiB

View File

@@ -115,7 +115,7 @@ var updateAllColorsOnAllTabs = async () => {
if (tabHost) {
tabHost = tabHost.toLowerCase();
}
if (!(options.ignore && options.ignore.split('\n').includes(tabHost))) {
if (!(options.globals.ignore && options.globals.ignore.split('\n').includes(tabHost))) {
browser.tabs.executeScript(tabs[i].id, {
code: '(' + changeIcon.toString() + ')' +
'("' + generateRandomColor(t.parentIndex) + '", "' + t.faviconUrl + '", ' + JSON.stringify(options) + ')'

View File

@@ -2,7 +2,7 @@
"description": "Color tabs based on their parent.",
"manifest_version": 2,
"name": "Color Tab Group",
"version": "0.0.8",
"version": "0.0.10",
"homepage_url": "https://git.e.tern.al/s2/tab-groupcolor",
"icons": {
"48": "img/icon-48.png"

View File

@@ -3,7 +3,8 @@ function persistOptions() {
globals = {
width: document.querySelector('#indicator-width').value,
orientation: document.querySelector('#indicator-orientation').value
orientation: document.querySelector('#indicator-orientation').value,
ignore: document.querySelector('#ignore').value
};
return browser.storage.local.set({