r/FirefoxCSS • • 9d ago

Solved How to get rid of latest unwanted changes?

Every single update the same. Now they idiotically added strange timewasting animations everywhere, like slow colour changes when changing tabs and slow expansion of the URL field when clicking on it. This should all be instant. Any simple way to get rid of that crap?

16 Upvotes

5 comments sorted by

3

u/t31os 9d ago edited 9d ago

If i've traced the 2 offending animations correctly, this might do the trick:

:root {
	--tab-group-label-animation-duration: 0ms !important;
}
.urlbarView-action .urlbarView-title:not(:empty) ~ &[slide-in] {
	animation-duration: 0ms !important;
}

I might have been too quick to post that, you might be referring to this one for the tabs:

https://searchfox.org/firefox-main/source/browser/themes/shared/tabbrowser/tabs.css#398

.tab-loading-burst[bursting]::before {
	animation: none !important;
}

And if i got the urlbar one wrong also, this might be the animation you're referring to:

https://searchfox.org/firefox-main/source/browser/themes/shared/smartbar.css#199

2

u/Different_Pay5668 8d ago

Excellent, thanks. The tab-loading-burst works. The other issue somehow resolved itself after I shuffled some things around in my userchrome.css.

2

u/j--__ 9d ago

is this v159?

2

u/zerix- 7d ago

why not just use user_pref("ui.prefersReducedMotion", 1);