Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
21dd898d44 | |||
757adc4722 | |||
26e7b44b36 | |||
675900d0c8 | |||
34d0f821a0 |
Before Width: | Height: | Size: 257 KiB After Width: | Height: | Size: 257 KiB |
@@ -115,7 +115,7 @@ var updateAllColorsOnAllTabs = async () => {
|
|||||||
if (tabHost) {
|
if (tabHost) {
|
||||||
tabHost = tabHost.toLowerCase();
|
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, {
|
browser.tabs.executeScript(tabs[i].id, {
|
||||||
code: '(' + changeIcon.toString() + ')' +
|
code: '(' + changeIcon.toString() + ')' +
|
||||||
'("' + generateRandomColor(t.parentIndex) + '", "' + t.faviconUrl + '", ' + JSON.stringify(options) + ')'
|
'("' + generateRandomColor(t.parentIndex) + '", "' + t.faviconUrl + '", ' + JSON.stringify(options) + ')'
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
"description": "Color tabs based on their parent.",
|
"description": "Color tabs based on their parent.",
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"name": "Color Tab Group",
|
"name": "Color Tab Group",
|
||||||
"version": "0.0.8",
|
"version": "0.0.10",
|
||||||
"homepage_url": "https://git.e.tern.al/s2/tab-groupcolor",
|
"homepage_url": "https://git.e.tern.al/s2/tab-groupcolor",
|
||||||
"icons": {
|
"icons": {
|
||||||
"48": "img/icon-48.png"
|
"48": "img/icon-48.png"
|
||||||
|
@@ -3,7 +3,8 @@ function persistOptions() {
|
|||||||
|
|
||||||
globals = {
|
globals = {
|
||||||
width: document.querySelector('#indicator-width').value,
|
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({
|
return browser.storage.local.set({
|
||||||
|
Reference in New Issue
Block a user