jscher2000 / switch-to-previous-active-tab

Firefox toolbar button to switch to the last accessed tab (and MRU popup)
Mozilla Public License 2.0
8 stars 1 forks source link

Add color to last tab #17

Open mgutierrezp opened 10 months ago

mgutierrezp commented 10 months ago

Hi,

Thanks for the nice extension.

Feature request: is it possible to add an option to also colorize the last tab visited?

Thanks

jscher2000 commented 10 months ago

Do you mean the tab on the tab bar?

Firefox allows extensions to do some theming, but I don't think there is a way to color a specific tab other than the currently active tab. (https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/manifest.json/theme#colors)

If you are aware of any add-ons that can color a specific background tab, I can take a look at how they did it.

mgutierrezp commented 10 months ago

Hi. I mean to colorize the last active tab so you have a visual aid of the location of the previous tab you had active. Let's say you have initially 10 opened tabs all of them with the same background color. Your current tab is #4. Then switch to #6. Tab #4 will be colorized in red (for example). Switch to #9. Tab #4 will recover the original default color and #6 in red. And so on. It's a similar approach as your extension but with a visual aid.

El jue, 7 sept 2023 a las 4:54, Jefferson Scher @.***>) escribió:

Do you mean the tab on the tab bar?

Firefox allows extensions to do some theming, but I don't think there is a way to color a specific tab other than the currently active tab. ( https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/manifest.json/theme#colors )

If you are aware of any add-ons that can color a specific background tab, I can take a look at how they did it.

— Reply to this email directly, view it on GitHub https://github.com/jscher2000/switch-to-previous-active-tab/issues/17#issuecomment-1709402199, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDWGUP35R7HU2DC2PME6PLXZEZNZANCNFSM6AAAAAA4MKI6ZY . You are receiving this because you authored the thread.Message ID: @.***>