|
|
|
|
|
by mrob
1338 days ago
|
|
From my chrome/userContent.css in my Firefox profile directory: @namespace url(http://www.w3.org/1999/xhtml);
*, :before, :after {
transition: none !important;
animation-delay: 0ms !important;
animation-duration: 0ms !important;
}
toolkit.legacyUserProfileCustomizations.stylesheets must be set to true in about:config for this to work.This gives me the best "reduced motion" of all (zero motion), with no effort required from developers, and unlike the official preference, does not leave me vulnerable to the no-Javascript fingerprinting discussed at https://news.ycombinator.com/item?id=30237846 . I haven't noticed it breaking anything important. The same can be put in chrome/userChrome.css (without the namespace header) to remove the annoying animations from Firefox itself, at the cost of occasionally breaking the tab bar (it can be fixed by dragging a tab to blank space and then immediate closing it). I've never seen a UI animation I thought was necessary. |
|
I was using https://addons.mozilla.org/en-US/firefox/addon/no-transition... which operates on the same principle.
You can try yourself it breaks the google login form. You don't need an account to try: just "login", enter a random address, and watch the password prompt not being enabled as it waits for the transition to complete.
Similarly, slack breaks doing random actions that have some blur animation you often don't notice. It's usually always a consequence of transitions and animations that are chained with JS events.
I tried myself to come up with some attributes that would be more robust (just as reducing the step count instead of disabling the animation completely), but nothing has worked in a reliable way.
Count me in as one of the folks that hates animations in UIs, so I would really love to hear if anybody has a solution to this.