From c56454a097193d3e3875701ff21e98e63f29f0e8 Mon Sep 17 00:00:00 2001 From: s2 Date: Mon, 11 Dec 2017 21:27:14 +0100 Subject: [PATCH] just text --- src/bg.js | 7 +++---- src/manifest.json | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/bg.js b/src/bg.js index 6cc9bc9..43eea90 100644 --- a/src/bg.js +++ b/src/bg.js @@ -2,11 +2,10 @@ const kTST_ID = 'treestyletab@piro.sakura.ne.jp'; const MY_EXTENSION_NAME = 'tab-groupcolor'; var changeIcon = function(color) { - var getFavicon = function(){ + var getFavicon = function() { var favicon = undefined; var nodeList = document.getElementsByTagName("link"); - for (var i = 0; i < nodeList.length; i++) - { + for (var i = 0; i < nodeList.length; i++) { if ((nodeList[i].getAttribute("rel") == "icon") || (nodeList[i].getAttribute("rel") == "shortcut icon")) { favicon = nodeList[i].getAttribute("href"); } @@ -34,7 +33,7 @@ var changeIcon = function(color) { }; var generateRandomColor = function(seed) { - var selectColor = function (colorNum, colors){ + var selectColor = function (colorNum, colors) { if (colors < 1) { colors = 1; // defaults to one color - avoid divide by zero } diff --git a/src/manifest.json b/src/manifest.json index 3b78634..6ff5844 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,7 +1,7 @@ { - "description": "color tabs based on their parent.", + "description": "Color tabs based on their parent.", "manifest_version": 2, - "name": "tab-groupcolor", + "name": "Color Tab Group", "version": "0.0.1", "homepage_url": "https://git.e.tern.al/s2/tab-groupcolor", "icons": {