Preference to disable favicon animations

Suggestions and feature requests for the Pale Moon browser

Moderator: satrow

Dariush
Apollo supporter
Apollo supporter
Posts: 39
Joined: Fri, 08 Apr 2016, 16:50

Preference to disable favicon animations

Unread postby Dariush » Thu, 06 Dec 2018, 14:56

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.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 22422
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: Preference to disable favicon animations

Unread postby Moonchild » Thu, 06 Dec 2018, 14:59

So, you're saying a 16x16 animated favicon is a resource hog? :)
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne

Dariush
Apollo supporter
Apollo supporter
Posts: 39
Joined: Fri, 08 Apr 2016, 16:50

Re: Preference to disable favicon animations

Unread postby Dariush » Thu, 06 Dec 2018, 15:04

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. :)

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 22422
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: Preference to disable favicon animations

Unread postby Moonchild » Thu, 06 Dec 2018, 15:05

If the animation of images bothers you, use Shift+Esc in Pale Moon to stop everything (including animated images and background network traffic)
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne

Dariush
Apollo supporter
Apollo supporter
Posts: 39
Joined: Fri, 08 Apr 2016, 16:50

Re: Preference to disable favicon animations

Unread postby Dariush » Thu, 06 Dec 2018, 15:09

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.
Last edited by Dariush on Thu, 06 Dec 2018, 15:12, edited 2 times in total.

User avatar
JustOff
Localization Coordinator
Localization Coordinator
Posts: 1577
Joined: Thu, 03 Sep 2015, 19:47
Location: UA
Contact:

Re: Preference to disable favicon animations

Unread postby JustOff » Thu, 06 Dec 2018, 15:16

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.
Here are the add-ons I made in a spare time. That was fun!

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 22422
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: Preference to disable favicon animations

Unread postby Moonchild » Thu, 06 Dec 2018, 15:16

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.
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne

Dariush
Apollo supporter
Apollo supporter
Posts: 39
Joined: Fri, 08 Apr 2016, 16:50

Re: Preference to disable favicon animations

Unread postby Dariush » Thu, 06 Dec 2018, 15:22

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?

User avatar
JustOff
Localization Coordinator
Localization Coordinator
Posts: 1577
Joined: Thu, 03 Sep 2015, 19:47
Location: UA
Contact:

Re: Preference to disable favicon animations

Unread postby JustOff » Thu, 06 Dec 2018, 15:32

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.
Here are the add-ons I made in a spare time. That was fun!

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 22422
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: Preference to disable favicon animations

Unread postby Moonchild » Thu, 06 Dec 2018, 20:35

Tracking this in Issue #899 (UXP).
I have a good idea how to approach this and should have a patch soon enough.
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne


Return to “Suggestions/feature requests”

Who is online

Users browsing this forum: No registered users and 3 guests