Preference to disable favicon animations
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.
This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.
Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.
This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.
Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
Preference to disable favicon animations
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.
-
- Pale Moon guru
- Posts: 35637
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Preference to disable favicon animations
So, you're saying a 16x16 animated favicon is a resource hog?
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: Preference to disable favicon animations
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.
-
- Pale Moon guru
- Posts: 35637
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Preference to disable favicon animations
If the animation of images bothers you, use Shift+Esc in Pale Moon to stop everything (including animated images and background network traffic)
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: Preference to disable favicon animations
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 2018-12-06, 15:12, edited 2 times in total.
Re: Preference to disable favicon animations
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.
-
- Pale Moon guru
- Posts: 35637
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Preference to disable favicon animations
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.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: Preference to disable favicon animations
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?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.
Re: Preference to disable favicon animations
Off-topic:
And after that, you need to wipe the browser cache.
For example, I use the following rule for Dynamic filtering:Dariush wrote:I actually tried this, but it didn't work [..] Could you elaborate what you've done to achieve this?JustOff wrote:I even had to completely filter out with uBlock a few of these favicons
Code: Select all
behind-the-scene http://westsat.net.ua/favicon.ico * block
-
- Pale Moon guru
- Posts: 35637
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Preference to disable favicon animations
Tracking this in Issue #899 (UXP).
I have a good idea how to approach this and should have a patch soon enough.
I have a good idea how to approach this and should have a patch soon enough.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: Preference to disable favicon animations
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.
-
- Moon Magic practitioner
- Posts: 2411
- Joined: 2012-08-19, 20:32
Re: Preference to disable favicon animations
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.
Safe Mode / clean profile info: Help/Restart in Safe Mode
Information to include when asking for support - How to apply user agent overrides
How to auto-fill passwords
Windows 10 Pro x64
Information to include when asking for support - How to apply user agent overrides
How to auto-fill passwords
Windows 10 Pro x64
-
- Lunatic
- Posts: 399
- Joined: 2016-12-27, 00:12
Re: Preference to disable favicon animations
userChrome.cssdisabling the loading/spinning wheel icon
-
- Moon Magic practitioner
- Posts: 2411
- Joined: 2012-08-19, 20:32
Re: Preference to disable favicon animations
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).
Safe Mode / clean profile info: Help/Restart in Safe Mode
Information to include when asking for support - How to apply user agent overrides
How to auto-fill passwords
Windows 10 Pro x64
Information to include when asking for support - How to apply user agent overrides
How to auto-fill passwords
Windows 10 Pro x64
-
- Board Warrior
- Posts: 1325
- Joined: 2015-09-08, 22:54
- Location: 127.0.0.1
Re: Preference to disable favicon animations
Off-topic:
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.back2themoon wrote:Thanks, I wonder what that massive string actually means.
a.k.a. Ascrod
Linux Mint 19.3 Cinnamon (64-bit), Debian Bullseye (64-bit), Windows 7 (64-bit)
"As long as there is someone who will appreciate the work involved in the creation, the effort is time well spent." ~ Tetsuzou Kamadani, Cave Story
Linux Mint 19.3 Cinnamon (64-bit), Debian Bullseye (64-bit), Windows 7 (64-bit)
"As long as there is someone who will appreciate the work involved in the creation, the effort is time well spent." ~ Tetsuzou Kamadani, Cave Story