this post was submitted on 28 Aug 2023
19 points (85.2% liked)

Firefox

17857 readers
1 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 5 years ago
MODERATORS
 

I’m wonder if its possible to change or refresh tab favicons and only favicons (without refreshing whole tabs). I looked through some pages on MDN and about WebExtensions but I haven’t found any search bars. I’ve also done Google searches specifically for that with no luck.

you are viewing a single comment's thread
view the rest of the comments
[–] BlackEco@lemmy.blackeco.com 3 points 2 years ago* (last edited 2 years ago)

I know you can do this because of the AWS Favicon Update add-on. My advice would be to take a look at how it does it by downloading the XPI from the versions page and unziping its content.

Edit: I did so and its mechanism is fairly basic: it's a content script that replaces the favicon's URL in the link tag in the document.