Page 1 of 1
Preference to disable favicon animations
Posted: 2018-12-06, 14:56
by Dariush
As is common knowledge, animated favicons are pointless (in most cases) resource hogs. There's a
17-year-old issue on Mozilla without any resolution, so I'm not the only one wanting to see an option to have them static.
Re: Preference to disable favicon animations
Posted: 2018-12-06, 14:59
by Moonchild
So, you're saying a 16x16 animated favicon is a resource hog?
Re: Preference to disable favicon animations
Posted: 2018-12-06, 15:04
by Dariush
When I have 20 tabs open of a site with it and this results in idle CPU usage of 5% (~50% of one core)? Yes.
Re: Preference to disable favicon animations
Posted: 2018-12-06, 15:05
by Moonchild
If the animation of images bothers you, use Shift+Esc in Pale Moon to stop everything (including animated images and background network traffic)
Re: Preference to disable favicon animations
Posted: 2018-12-06, 15:09
by Dariush
Doesn't work (in new profile) and even if it did, this would be a pretty suboptimal workaround, since I want _only_ animated favicons and no other images stopped.
Re: Preference to disable favicon animations
Posted: 2018-12-06, 15:16
by JustOff
In fact, this is a very serious and annoying problem. Personally, I even had to completely filter out with uBlock a few of these favicons from sites that I visit more or less often, because they cannot be stopped using Shft + Esc or in any other way.
Re: Preference to disable favicon animations
Posted: 2018-12-06, 15:16
by Moonchild
Okay, I guess it's possible to do this by using a cropping function to create a new image to use instead of the actual favicon, since that will effectively take only one frame.
Re: Preference to disable favicon animations
Posted: 2018-12-06, 15:22
by Dariush
JustOff wrote:I even had to completely filter out with uBlock a few of these favicons from sites that I visit more or less often, because they cannot be stopped using Shft + Esc or in any other way.
I actually tried this, but it didn't work. I get the uBlock warning page "disable temporarily/permanently" when I manually view the image, but it doesn't affect it being used as the favicon on the site. Could you elaborate what you've done to achieve this?
Re: Preference to disable favicon animations
Posted: 2018-12-06, 15:32
by JustOff
Off-topic:Dariush wrote:JustOff wrote:I even had to completely filter out with uBlock a few of these favicons
I actually tried this, but it didn't work [..] Could you elaborate what you've done to achieve this?
For example, I use the following rule for
Dynamic filtering:
Code: Select all
behind-the-scene http://westsat.net.ua/favicon.ico * block
And after that, you need to wipe the browser cache.
Re: Preference to disable favicon animations
Posted: 2018-12-06, 20:35
by Moonchild
Tracking this in
Issue #899 (UXP).
I have a good idea how to approach this and should have a patch soon enough.
Re: Preference to disable favicon animations
Posted: 2019-01-17, 23:51
by Dariush
I tested the new preference and it doesn't work*. On a clean profile most sites (Google and this site are the only exceptions among a dozen tested) simply get no favicon at all. On my main profile I have an addon called TooManyTabs which temporarily changes favicon when I mouse over a tab and back on mouseout, and when I do so on a site with a normally animated favicon (that doesn't initially get a favicon when this pref is enabled), the normal animated favicon loads upon the mouseout event.
Re: Preference to disable favicon animations
Posted: 2019-01-18, 10:10
by back2themoon
Please also consider disabling the loading/spinning wheel icon with this option (it is technically an animated icon, right?) or create an additional option for it.
Re: Preference to disable favicon animations
Posted: 2019-01-18, 12:55
by jars_
disabling the loading/spinning wheel icon
userChrome.css
Re: Preference to disable favicon animations
Posted: 2019-01-18, 13:33
by back2themoon
Thanks, I wonder what that massive string actually means. I already use the one below successfully, just thought it'd be a nice customisation option to have natively (and is semi-related to this thread).
Re: Preference to disable favicon animations
Posted: 2019-01-18, 13:39
by Isengrim
Off-topic:back2themoon wrote:Thanks, I wonder what that massive string actually means.
It's a
data URI, which is a way to define a raw image (or other data) with a URL. Basically, this will replace the spinning icon (or "throbber") with the un-animated download icon.