ColorfulTabs 31.3 (TabMarker)

Dedicated board for extension releases/support threads

Moderators: FranklinDM, Lootyhoof

Forum rules
Please do not create new topics here unless you are an extension author in need of a dedicated releases&support thread!
User avatar
_yup_
Moonbather
Moonbather
Posts: 64
Joined: 2025-04-26, 11:45

ColorfulTabs 31.3 (TabMarker)

Post by _yup_ » 2025-11-14, 14:42

ColorfulTabs 31.3 (TabMarker) is an extension for Firefox, Seamonkey, Pale Moon, Iceape and other browsers that support XUL overlay extensions.

It paints browser tabs in different colors, making them easily distinguishable. At the same time, this makes the browser interface more colorful and attractive.

Main features
  • Colors tabs by using sequential colors from the preselected palette.
  • Colors tabs using randomly generated colors.
  • Colors tabs depending on the site domain name using a formula.
  • Paints tabs using colors specified for individual domains and groups of domains.
  • Allows user to assign colors manually.
  • Makes the current tab more prominent than the others.
  • Colors the list of open tabs according to respective tab colors.
  • Sends a tab to the beginning or end of the list.
  • Reduces the width of tabs to a little more than site icons.
  • Tab colors are remembered when the browser is shut down or terminated and restored when the previous session is restored.
This extension is inspired by now abandoned ColorfulTabs, and exists in two variants: ColorfulTabs 31.3 and TabMarker.

Both variants share the same ID, so only one of them can be installed at a time.
Source code of them is also identical. The only difference is: ColorfulTabs 31.3 is backward compatible with settings of the original ColorfulTabs (extensions.clrtabs.*) and is intended for those who use this legacy extension, whereas TabMarker has its own independent set of settings (extensions.tabmarker.*)

Both variants and quite detailed documentation can be found at the homepage: http://yup.lh1.in/AddOns/TabMarker
Also ColorfulTabs 31.3 can be installed from https://addons.palemoon.org/addon/colorfultabs/

User avatar
UCyborg
Keeps coming back
Keeps coming back
Posts: 782
Joined: 2019-01-10, 09:37
Location: Slovenia

Re: ColorfulTabs 31.3 (TabMarker)

Post by UCyborg » 2025-12-29, 22:26

Just as I thought about making a thread about the old version of this extension 31.2.3, I realize the existence of this version that I missed. I've been actually using self-patched 31.2.3 that I call 31.2.4, the only change was modifying detection of the Australis interface to not rely on user agent string, which is very fragile and breaks quickly. It's been fine for me personally on Pale Moon and Basilisk, but for the installation of SeaMonkey I keep around, I have the older version that still targeted it.

The core patch to the 31.2.3 that my 31.2.4 has is basically this:

Code: Select all

--- a/chrome/content/clrtabs.js	2017-11-17 17:51:13.000000000 +0100
+++ b/chrome/content/clrtabs.js	2021-11-27 22:42:31.056355100 +0100
@@ -15,7 +15,6 @@
 	isFlock: '',
 	clrAllTabsPopPref: '',
 	isMac: '',
-	isAustralis: '',
 	clrSession: Components.classes["@mozilla.org/browser/sessionstore;1"].getService(Components.interfaces.nsISessionStore),
 	adv: null, //advanced pref enabled?1:0;
 	satmax: null, //max saturation
@@ -962,22 +961,8 @@
 
 	//sets the initial prefs
 	setCtPref: function () {
-		var ua = window.navigator.userAgent;
-		var re = new RegExp("Firefox/.*", "i");
-		ua = ua.match(re);
-		if (ua) {
-			ua = ua.toString();
-			ua = ua.split('/');
-			ua = ua[ua.length - 1];
-			ua = parseInt(ua);
-
-			if (ua >= 29) {
-				colorfulTabs.isAustralis = true;
-			} else {
-				colorfulTabs.isAustralis = false;
-			}
-		}
-		if (colorfulTabs.isAustralis) {
+		//check for Australis interface
+		if (document.getElementById('PanelUI-menu-button')) {
 			document.getElementById('main-window').className = document.getElementById('main-window').className + " australis";
 			var el = document.getElementById('colorfulTabsStack');
 			var parent = el.parentNode;

I see there are some differences in visual appearance of the two versions, at least I don't manage to exactly replicate the appearance of 31.2.4 in 31.3.4.

Image

Image

Something about the tab text, the border, the colored line below tabs and spacing between tabs.

Another two screens with clean profile where the border difference if you look at the upper part is more pronounced.

31.2.4:

Image

31.3.4:

Image

Presumably this part works a little differently due to added option to color the border, it was disabled for the screenshots.

User avatar
_yup_
Moonbather
Moonbather
Posts: 64
Joined: 2025-04-26, 11:45

Re: ColorfulTabs 31.3 (TabMarker)

Post by _yup_ » 2025-12-30, 00:53

UCyborg wrote:
2025-12-29, 22:26
I see there are some differences in visual appearance of the two versions
Yes. TabMarker (ColorfulTabs 31.3.4) is not a patched version of old ColorfulTabs, it is essentially different internally, and exact ("bit-to-bit") replication newer was a goal.
Among other things, a few defaults and styles (CSS) was changed for some reasons. For example - unification (visual and algorithmic) of Firefox and SeaMonkey branches. This is especially useful for persons who use both.
Another two screens with clean profile where the border difference if you look at the upper part is more pronounced.
Presumably this part works a little differently due to added option to color the border, it was disabled for the screenshots.
Exactly. "Mark the currently selected tab with border color" in TabMarker settings is a descendant/replacement of "Highlight the currently selected tab".
Let clear "Highlight the currently selected tab" check mark in the ColorfulTabs settings, and you will get the same look.
This is what original ColorfulTabs produces in my Firefox in this situation:
old.png
You do not have the required permissions to view the files attached to this post.