How to customize each Firefox window icon individually?












7















I'm a tab hoarder and I admit it. But at least I've sorted them into contextual windows now, and I'd love to have different icons for each window in the Windows task bar (not the tab bar, which is governed by the favicons). How can this be achieved?



As an example imagine I have one Window with various StackExchange tabs, for which I would like to have the StackExchange logo as icon, another window with GitHub repos that should have the GitHub logo, and a third window with tabs specific to a project for which I have a custom icon (or just e.g. a coloured letter atop the Firefox logo).



I'd also accept a solution that manages to simply use each window's first tab's favicon, though independence on that would be preferred.










share|improve this question

























  • Do you mean you have pinned items to the taskbar, and have you tried right-click > Properties > Change icon?

    – harrymc
    Jan 15 at 8:16











  • @harrymc With that I can only change the icon of all Firefox windows to the same icon. What I would like to achieve is during an open session that each opened windows should have a different icon. I think this cannot be achieved on a system level (since the respective windows' titles change depending on the active tabs), so the question is whether it is possible from within Firefox somehow, probably via an addon.

    – Tobias Kienzler
    Jan 15 at 9:00











  • How do you handle your contextual windows? Do you run separate profiles or do you just have a single one?

    – Seth
    Jan 15 at 9:11











  • @Seth Just a single one. Using separate profiles sounds like an interesting approach, though now I'm just starting to use Firefox' containers, which seems less of a hassle to me

    – Tobias Kienzler
    Jan 15 at 10:11
















7















I'm a tab hoarder and I admit it. But at least I've sorted them into contextual windows now, and I'd love to have different icons for each window in the Windows task bar (not the tab bar, which is governed by the favicons). How can this be achieved?



As an example imagine I have one Window with various StackExchange tabs, for which I would like to have the StackExchange logo as icon, another window with GitHub repos that should have the GitHub logo, and a third window with tabs specific to a project for which I have a custom icon (or just e.g. a coloured letter atop the Firefox logo).



I'd also accept a solution that manages to simply use each window's first tab's favicon, though independence on that would be preferred.










share|improve this question

























  • Do you mean you have pinned items to the taskbar, and have you tried right-click > Properties > Change icon?

    – harrymc
    Jan 15 at 8:16











  • @harrymc With that I can only change the icon of all Firefox windows to the same icon. What I would like to achieve is during an open session that each opened windows should have a different icon. I think this cannot be achieved on a system level (since the respective windows' titles change depending on the active tabs), so the question is whether it is possible from within Firefox somehow, probably via an addon.

    – Tobias Kienzler
    Jan 15 at 9:00











  • How do you handle your contextual windows? Do you run separate profiles or do you just have a single one?

    – Seth
    Jan 15 at 9:11











  • @Seth Just a single one. Using separate profiles sounds like an interesting approach, though now I'm just starting to use Firefox' containers, which seems less of a hassle to me

    – Tobias Kienzler
    Jan 15 at 10:11














7












7








7


0






I'm a tab hoarder and I admit it. But at least I've sorted them into contextual windows now, and I'd love to have different icons for each window in the Windows task bar (not the tab bar, which is governed by the favicons). How can this be achieved?



As an example imagine I have one Window with various StackExchange tabs, for which I would like to have the StackExchange logo as icon, another window with GitHub repos that should have the GitHub logo, and a third window with tabs specific to a project for which I have a custom icon (or just e.g. a coloured letter atop the Firefox logo).



I'd also accept a solution that manages to simply use each window's first tab's favicon, though independence on that would be preferred.










share|improve this question
















I'm a tab hoarder and I admit it. But at least I've sorted them into contextual windows now, and I'd love to have different icons for each window in the Windows task bar (not the tab bar, which is governed by the favicons). How can this be achieved?



As an example imagine I have one Window with various StackExchange tabs, for which I would like to have the StackExchange logo as icon, another window with GitHub repos that should have the GitHub logo, and a third window with tabs specific to a project for which I have a custom icon (or just e.g. a coloured letter atop the Firefox logo).



I'd also accept a solution that manages to simply use each window's first tab's favicon, though independence on that would be preferred.







windows windows-10 firefox icons






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 15 at 9:03







Tobias Kienzler

















asked Jan 11 at 9:35









Tobias KienzlerTobias Kienzler

2,22352660




2,22352660













  • Do you mean you have pinned items to the taskbar, and have you tried right-click > Properties > Change icon?

    – harrymc
    Jan 15 at 8:16











  • @harrymc With that I can only change the icon of all Firefox windows to the same icon. What I would like to achieve is during an open session that each opened windows should have a different icon. I think this cannot be achieved on a system level (since the respective windows' titles change depending on the active tabs), so the question is whether it is possible from within Firefox somehow, probably via an addon.

    – Tobias Kienzler
    Jan 15 at 9:00











  • How do you handle your contextual windows? Do you run separate profiles or do you just have a single one?

    – Seth
    Jan 15 at 9:11











  • @Seth Just a single one. Using separate profiles sounds like an interesting approach, though now I'm just starting to use Firefox' containers, which seems less of a hassle to me

    – Tobias Kienzler
    Jan 15 at 10:11



















  • Do you mean you have pinned items to the taskbar, and have you tried right-click > Properties > Change icon?

    – harrymc
    Jan 15 at 8:16











  • @harrymc With that I can only change the icon of all Firefox windows to the same icon. What I would like to achieve is during an open session that each opened windows should have a different icon. I think this cannot be achieved on a system level (since the respective windows' titles change depending on the active tabs), so the question is whether it is possible from within Firefox somehow, probably via an addon.

    – Tobias Kienzler
    Jan 15 at 9:00











  • How do you handle your contextual windows? Do you run separate profiles or do you just have a single one?

    – Seth
    Jan 15 at 9:11











  • @Seth Just a single one. Using separate profiles sounds like an interesting approach, though now I'm just starting to use Firefox' containers, which seems less of a hassle to me

    – Tobias Kienzler
    Jan 15 at 10:11

















Do you mean you have pinned items to the taskbar, and have you tried right-click > Properties > Change icon?

– harrymc
Jan 15 at 8:16





Do you mean you have pinned items to the taskbar, and have you tried right-click > Properties > Change icon?

– harrymc
Jan 15 at 8:16













@harrymc With that I can only change the icon of all Firefox windows to the same icon. What I would like to achieve is during an open session that each opened windows should have a different icon. I think this cannot be achieved on a system level (since the respective windows' titles change depending on the active tabs), so the question is whether it is possible from within Firefox somehow, probably via an addon.

– Tobias Kienzler
Jan 15 at 9:00





@harrymc With that I can only change the icon of all Firefox windows to the same icon. What I would like to achieve is during an open session that each opened windows should have a different icon. I think this cannot be achieved on a system level (since the respective windows' titles change depending on the active tabs), so the question is whether it is possible from within Firefox somehow, probably via an addon.

– Tobias Kienzler
Jan 15 at 9:00













How do you handle your contextual windows? Do you run separate profiles or do you just have a single one?

– Seth
Jan 15 at 9:11





How do you handle your contextual windows? Do you run separate profiles or do you just have a single one?

– Seth
Jan 15 at 9:11













@Seth Just a single one. Using separate profiles sounds like an interesting approach, though now I'm just starting to use Firefox' containers, which seems less of a hassle to me

– Tobias Kienzler
Jan 15 at 10:11





@Seth Just a single one. Using separate profiles sounds like an interesting approach, though now I'm just starting to use Firefox' containers, which seems less of a hassle to me

– Tobias Kienzler
Jan 15 at 10:11










1 Answer
1






active

oldest

votes


















2





+50









This can be done using the free AutoHotkey.



Create a .ahk text file and enter these contents:



#Persistent
SetTitleMatchMode, 2 ; A window's title to contain the text anywhere

F9::
ChangeWindowIcon("title text", "pathtoiconfile.ico")

ChangeWindowIcon(WinSpec, IconFile) {
hIcon := DllCall("LoadImage", uint, 0, str, IconFile, uint, 1, uint, 0, uint, 0, uint, uint 0x10)
if (!hIcon) {
MsgBox, "Icon file missing or invalid in `nChangeWindowIcon(" IconFile ", " WinSpec ")`n`n"
Throw "Icon file missing or invalid in `nChangeWindowIcon(" IconFile ", " WinSpec ")`n`n"
}
hWnd := WinExist(WinSpec)
if (!hWnd) {
MsgBox, Window Not Found
return "Window Not Found"
}
SendMessage, WM_SETICON:=0x80, ICON_SMALL:=0, hIcon,, ahk_id %hWnd% ; Set the window's small icon
SendMessage, WM_SETICON:=0x80, ICON_BIG:=1, hIcon,, ahk_id %hWnd% ; Set the window's big icon
SendMessage, WM_SETICON:=0x80, ICON_SMALL2:=2, hIcon,, ahk_id %hWnd% ; Set the window's small icon
}


The script is set to be activated upon hitting F9, but you may set
your own key. Add as many calls to the function ChangeWindowIcon as required,
each with the parameters of:




  • Unique text that can be found in the title

  • The full address of an icon file


When the script is running, you may right-click its green H icon in the traybar
and choose Exit to terminate. If it works, you may also add it to your
Startup group to run when you login.



Note that AutoHotkey can also launch your favorite tabs and arrange their
layout on the screen. There isn't really much that AutoHotkey cannot do.






share|improve this answer
























  • Good old AHK 😁 Hm, that will work I guess, though this won't persist over sessions. But starting from this, maybe AHK can also grab and use the favicon of the first (or currently active) tab of each Window before I end up reimplementing session management in AHK 🤔 But the bounty will probably be yours

    – Tobias Kienzler
    Jan 18 at 15:45








  • 1





    Grabbing the favicon of a tab will need some work, since the tabs in Firefox are not real graphical objects. Firefox just paints them on the canvas. Probably a complete solution will require a Greasemonkey script to capture the active tab's icon, maybe through the clipboard, and an AHK script to loop over the clipboard and do the work. You are looking at a good amount of work. If the tabs are grouped in Firefox sessions, it would be simpler to stay with a fixed icon per group.

    – harrymc
    Jan 18 at 16:25











  • Okay, that sounds like quite some effort. I guess then I might as well dive into Firefox' source code if the addon API doesn't expose the window icon anyway... Which I wanted to learn about anyway

    – Tobias Kienzler
    Jan 19 at 10:03













  • Well, you deserve the bounty, no question :) But accept it I cannot yet, too much manual work left for the lazy likes of me...

    – Tobias Kienzler
    Jan 21 at 11:04











  • Don't I, too, have the right to be lazy myself?

    – harrymc
    Jan 21 at 11:22











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1393090%2fhow-to-customize-each-firefox-window-icon-individually%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









2





+50









This can be done using the free AutoHotkey.



Create a .ahk text file and enter these contents:



#Persistent
SetTitleMatchMode, 2 ; A window's title to contain the text anywhere

F9::
ChangeWindowIcon("title text", "pathtoiconfile.ico")

ChangeWindowIcon(WinSpec, IconFile) {
hIcon := DllCall("LoadImage", uint, 0, str, IconFile, uint, 1, uint, 0, uint, 0, uint, uint 0x10)
if (!hIcon) {
MsgBox, "Icon file missing or invalid in `nChangeWindowIcon(" IconFile ", " WinSpec ")`n`n"
Throw "Icon file missing or invalid in `nChangeWindowIcon(" IconFile ", " WinSpec ")`n`n"
}
hWnd := WinExist(WinSpec)
if (!hWnd) {
MsgBox, Window Not Found
return "Window Not Found"
}
SendMessage, WM_SETICON:=0x80, ICON_SMALL:=0, hIcon,, ahk_id %hWnd% ; Set the window's small icon
SendMessage, WM_SETICON:=0x80, ICON_BIG:=1, hIcon,, ahk_id %hWnd% ; Set the window's big icon
SendMessage, WM_SETICON:=0x80, ICON_SMALL2:=2, hIcon,, ahk_id %hWnd% ; Set the window's small icon
}


The script is set to be activated upon hitting F9, but you may set
your own key. Add as many calls to the function ChangeWindowIcon as required,
each with the parameters of:




  • Unique text that can be found in the title

  • The full address of an icon file


When the script is running, you may right-click its green H icon in the traybar
and choose Exit to terminate. If it works, you may also add it to your
Startup group to run when you login.



Note that AutoHotkey can also launch your favorite tabs and arrange their
layout on the screen. There isn't really much that AutoHotkey cannot do.






share|improve this answer
























  • Good old AHK 😁 Hm, that will work I guess, though this won't persist over sessions. But starting from this, maybe AHK can also grab and use the favicon of the first (or currently active) tab of each Window before I end up reimplementing session management in AHK 🤔 But the bounty will probably be yours

    – Tobias Kienzler
    Jan 18 at 15:45








  • 1





    Grabbing the favicon of a tab will need some work, since the tabs in Firefox are not real graphical objects. Firefox just paints them on the canvas. Probably a complete solution will require a Greasemonkey script to capture the active tab's icon, maybe through the clipboard, and an AHK script to loop over the clipboard and do the work. You are looking at a good amount of work. If the tabs are grouped in Firefox sessions, it would be simpler to stay with a fixed icon per group.

    – harrymc
    Jan 18 at 16:25











  • Okay, that sounds like quite some effort. I guess then I might as well dive into Firefox' source code if the addon API doesn't expose the window icon anyway... Which I wanted to learn about anyway

    – Tobias Kienzler
    Jan 19 at 10:03













  • Well, you deserve the bounty, no question :) But accept it I cannot yet, too much manual work left for the lazy likes of me...

    – Tobias Kienzler
    Jan 21 at 11:04











  • Don't I, too, have the right to be lazy myself?

    – harrymc
    Jan 21 at 11:22
















2





+50









This can be done using the free AutoHotkey.



Create a .ahk text file and enter these contents:



#Persistent
SetTitleMatchMode, 2 ; A window's title to contain the text anywhere

F9::
ChangeWindowIcon("title text", "pathtoiconfile.ico")

ChangeWindowIcon(WinSpec, IconFile) {
hIcon := DllCall("LoadImage", uint, 0, str, IconFile, uint, 1, uint, 0, uint, 0, uint, uint 0x10)
if (!hIcon) {
MsgBox, "Icon file missing or invalid in `nChangeWindowIcon(" IconFile ", " WinSpec ")`n`n"
Throw "Icon file missing or invalid in `nChangeWindowIcon(" IconFile ", " WinSpec ")`n`n"
}
hWnd := WinExist(WinSpec)
if (!hWnd) {
MsgBox, Window Not Found
return "Window Not Found"
}
SendMessage, WM_SETICON:=0x80, ICON_SMALL:=0, hIcon,, ahk_id %hWnd% ; Set the window's small icon
SendMessage, WM_SETICON:=0x80, ICON_BIG:=1, hIcon,, ahk_id %hWnd% ; Set the window's big icon
SendMessage, WM_SETICON:=0x80, ICON_SMALL2:=2, hIcon,, ahk_id %hWnd% ; Set the window's small icon
}


The script is set to be activated upon hitting F9, but you may set
your own key. Add as many calls to the function ChangeWindowIcon as required,
each with the parameters of:




  • Unique text that can be found in the title

  • The full address of an icon file


When the script is running, you may right-click its green H icon in the traybar
and choose Exit to terminate. If it works, you may also add it to your
Startup group to run when you login.



Note that AutoHotkey can also launch your favorite tabs and arrange their
layout on the screen. There isn't really much that AutoHotkey cannot do.






share|improve this answer
























  • Good old AHK 😁 Hm, that will work I guess, though this won't persist over sessions. But starting from this, maybe AHK can also grab and use the favicon of the first (or currently active) tab of each Window before I end up reimplementing session management in AHK 🤔 But the bounty will probably be yours

    – Tobias Kienzler
    Jan 18 at 15:45








  • 1





    Grabbing the favicon of a tab will need some work, since the tabs in Firefox are not real graphical objects. Firefox just paints them on the canvas. Probably a complete solution will require a Greasemonkey script to capture the active tab's icon, maybe through the clipboard, and an AHK script to loop over the clipboard and do the work. You are looking at a good amount of work. If the tabs are grouped in Firefox sessions, it would be simpler to stay with a fixed icon per group.

    – harrymc
    Jan 18 at 16:25











  • Okay, that sounds like quite some effort. I guess then I might as well dive into Firefox' source code if the addon API doesn't expose the window icon anyway... Which I wanted to learn about anyway

    – Tobias Kienzler
    Jan 19 at 10:03













  • Well, you deserve the bounty, no question :) But accept it I cannot yet, too much manual work left for the lazy likes of me...

    – Tobias Kienzler
    Jan 21 at 11:04











  • Don't I, too, have the right to be lazy myself?

    – harrymc
    Jan 21 at 11:22














2





+50







2





+50



2




+50





This can be done using the free AutoHotkey.



Create a .ahk text file and enter these contents:



#Persistent
SetTitleMatchMode, 2 ; A window's title to contain the text anywhere

F9::
ChangeWindowIcon("title text", "pathtoiconfile.ico")

ChangeWindowIcon(WinSpec, IconFile) {
hIcon := DllCall("LoadImage", uint, 0, str, IconFile, uint, 1, uint, 0, uint, 0, uint, uint 0x10)
if (!hIcon) {
MsgBox, "Icon file missing or invalid in `nChangeWindowIcon(" IconFile ", " WinSpec ")`n`n"
Throw "Icon file missing or invalid in `nChangeWindowIcon(" IconFile ", " WinSpec ")`n`n"
}
hWnd := WinExist(WinSpec)
if (!hWnd) {
MsgBox, Window Not Found
return "Window Not Found"
}
SendMessage, WM_SETICON:=0x80, ICON_SMALL:=0, hIcon,, ahk_id %hWnd% ; Set the window's small icon
SendMessage, WM_SETICON:=0x80, ICON_BIG:=1, hIcon,, ahk_id %hWnd% ; Set the window's big icon
SendMessage, WM_SETICON:=0x80, ICON_SMALL2:=2, hIcon,, ahk_id %hWnd% ; Set the window's small icon
}


The script is set to be activated upon hitting F9, but you may set
your own key. Add as many calls to the function ChangeWindowIcon as required,
each with the parameters of:




  • Unique text that can be found in the title

  • The full address of an icon file


When the script is running, you may right-click its green H icon in the traybar
and choose Exit to terminate. If it works, you may also add it to your
Startup group to run when you login.



Note that AutoHotkey can also launch your favorite tabs and arrange their
layout on the screen. There isn't really much that AutoHotkey cannot do.






share|improve this answer













This can be done using the free AutoHotkey.



Create a .ahk text file and enter these contents:



#Persistent
SetTitleMatchMode, 2 ; A window's title to contain the text anywhere

F9::
ChangeWindowIcon("title text", "pathtoiconfile.ico")

ChangeWindowIcon(WinSpec, IconFile) {
hIcon := DllCall("LoadImage", uint, 0, str, IconFile, uint, 1, uint, 0, uint, 0, uint, uint 0x10)
if (!hIcon) {
MsgBox, "Icon file missing or invalid in `nChangeWindowIcon(" IconFile ", " WinSpec ")`n`n"
Throw "Icon file missing or invalid in `nChangeWindowIcon(" IconFile ", " WinSpec ")`n`n"
}
hWnd := WinExist(WinSpec)
if (!hWnd) {
MsgBox, Window Not Found
return "Window Not Found"
}
SendMessage, WM_SETICON:=0x80, ICON_SMALL:=0, hIcon,, ahk_id %hWnd% ; Set the window's small icon
SendMessage, WM_SETICON:=0x80, ICON_BIG:=1, hIcon,, ahk_id %hWnd% ; Set the window's big icon
SendMessage, WM_SETICON:=0x80, ICON_SMALL2:=2, hIcon,, ahk_id %hWnd% ; Set the window's small icon
}


The script is set to be activated upon hitting F9, but you may set
your own key. Add as many calls to the function ChangeWindowIcon as required,
each with the parameters of:




  • Unique text that can be found in the title

  • The full address of an icon file


When the script is running, you may right-click its green H icon in the traybar
and choose Exit to terminate. If it works, you may also add it to your
Startup group to run when you login.



Note that AutoHotkey can also launch your favorite tabs and arrange their
layout on the screen. There isn't really much that AutoHotkey cannot do.







share|improve this answer












share|improve this answer



share|improve this answer










answered Jan 18 at 14:09









harrymcharrymc

257k14268568




257k14268568













  • Good old AHK 😁 Hm, that will work I guess, though this won't persist over sessions. But starting from this, maybe AHK can also grab and use the favicon of the first (or currently active) tab of each Window before I end up reimplementing session management in AHK 🤔 But the bounty will probably be yours

    – Tobias Kienzler
    Jan 18 at 15:45








  • 1





    Grabbing the favicon of a tab will need some work, since the tabs in Firefox are not real graphical objects. Firefox just paints them on the canvas. Probably a complete solution will require a Greasemonkey script to capture the active tab's icon, maybe through the clipboard, and an AHK script to loop over the clipboard and do the work. You are looking at a good amount of work. If the tabs are grouped in Firefox sessions, it would be simpler to stay with a fixed icon per group.

    – harrymc
    Jan 18 at 16:25











  • Okay, that sounds like quite some effort. I guess then I might as well dive into Firefox' source code if the addon API doesn't expose the window icon anyway... Which I wanted to learn about anyway

    – Tobias Kienzler
    Jan 19 at 10:03













  • Well, you deserve the bounty, no question :) But accept it I cannot yet, too much manual work left for the lazy likes of me...

    – Tobias Kienzler
    Jan 21 at 11:04











  • Don't I, too, have the right to be lazy myself?

    – harrymc
    Jan 21 at 11:22



















  • Good old AHK 😁 Hm, that will work I guess, though this won't persist over sessions. But starting from this, maybe AHK can also grab and use the favicon of the first (or currently active) tab of each Window before I end up reimplementing session management in AHK 🤔 But the bounty will probably be yours

    – Tobias Kienzler
    Jan 18 at 15:45








  • 1





    Grabbing the favicon of a tab will need some work, since the tabs in Firefox are not real graphical objects. Firefox just paints them on the canvas. Probably a complete solution will require a Greasemonkey script to capture the active tab's icon, maybe through the clipboard, and an AHK script to loop over the clipboard and do the work. You are looking at a good amount of work. If the tabs are grouped in Firefox sessions, it would be simpler to stay with a fixed icon per group.

    – harrymc
    Jan 18 at 16:25











  • Okay, that sounds like quite some effort. I guess then I might as well dive into Firefox' source code if the addon API doesn't expose the window icon anyway... Which I wanted to learn about anyway

    – Tobias Kienzler
    Jan 19 at 10:03













  • Well, you deserve the bounty, no question :) But accept it I cannot yet, too much manual work left for the lazy likes of me...

    – Tobias Kienzler
    Jan 21 at 11:04











  • Don't I, too, have the right to be lazy myself?

    – harrymc
    Jan 21 at 11:22

















Good old AHK 😁 Hm, that will work I guess, though this won't persist over sessions. But starting from this, maybe AHK can also grab and use the favicon of the first (or currently active) tab of each Window before I end up reimplementing session management in AHK 🤔 But the bounty will probably be yours

– Tobias Kienzler
Jan 18 at 15:45







Good old AHK 😁 Hm, that will work I guess, though this won't persist over sessions. But starting from this, maybe AHK can also grab and use the favicon of the first (or currently active) tab of each Window before I end up reimplementing session management in AHK 🤔 But the bounty will probably be yours

– Tobias Kienzler
Jan 18 at 15:45






1




1





Grabbing the favicon of a tab will need some work, since the tabs in Firefox are not real graphical objects. Firefox just paints them on the canvas. Probably a complete solution will require a Greasemonkey script to capture the active tab's icon, maybe through the clipboard, and an AHK script to loop over the clipboard and do the work. You are looking at a good amount of work. If the tabs are grouped in Firefox sessions, it would be simpler to stay with a fixed icon per group.

– harrymc
Jan 18 at 16:25





Grabbing the favicon of a tab will need some work, since the tabs in Firefox are not real graphical objects. Firefox just paints them on the canvas. Probably a complete solution will require a Greasemonkey script to capture the active tab's icon, maybe through the clipboard, and an AHK script to loop over the clipboard and do the work. You are looking at a good amount of work. If the tabs are grouped in Firefox sessions, it would be simpler to stay with a fixed icon per group.

– harrymc
Jan 18 at 16:25













Okay, that sounds like quite some effort. I guess then I might as well dive into Firefox' source code if the addon API doesn't expose the window icon anyway... Which I wanted to learn about anyway

– Tobias Kienzler
Jan 19 at 10:03







Okay, that sounds like quite some effort. I guess then I might as well dive into Firefox' source code if the addon API doesn't expose the window icon anyway... Which I wanted to learn about anyway

– Tobias Kienzler
Jan 19 at 10:03















Well, you deserve the bounty, no question :) But accept it I cannot yet, too much manual work left for the lazy likes of me...

– Tobias Kienzler
Jan 21 at 11:04





Well, you deserve the bounty, no question :) But accept it I cannot yet, too much manual work left for the lazy likes of me...

– Tobias Kienzler
Jan 21 at 11:04













Don't I, too, have the right to be lazy myself?

– harrymc
Jan 21 at 11:22





Don't I, too, have the right to be lazy myself?

– harrymc
Jan 21 at 11:22


















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1393090%2fhow-to-customize-each-firefox-window-icon-individually%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

 ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕