AnimalQuery

Tries to speedup browsing by disabling CSS content animations

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
opsomh
日安装量
0
总安装量
752
评分
7 0 0
版本
2019.09.18.2157
创建于
2016-05-13
更新于
2021-11-14
大小
1.0 KB
许可证
WTFPLv2, no warranty
适用于
所有网站

System/browser settings to reduce motion:

Help page: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion#user_preferences

Overriding Firefox config: in about:config create new pref: ui.prefersReducedMotion set to 1.

I gave up

Animation is no longer modified to be instant or removed completely - animation curve is modified to instantly jump to the end, but all timers are preserved.

This should reduce side effects listed below.

This script may have side effects:

  • sometimes events attached to animation will not fire. I still work on this from time to time. One of workarounds is to set duration of the animation to very low value (0.001ms) - this have slight effect on performance - your benchmark scores may be bit lower.
  • you may see page jumps when (auto)scrolling. This is (I think) side effect of jQuery animation jumping to the end immediately.
  • dropdown fields selection may jump randomly (flicker)
  • marquee/carousel/slideshow-like animations may scroll very fast using lot of resources (commenting out delays/durations adjustment will help)
  • youtube cinema mode switching may not work (player width will stuck)
  • google login page may stuck on greyed password field
  • endomondo login page may stuck (white page, orange progress on top)
  • map on mygpsfiles.com cannot be resized
  • DuckDuckGo search results may flicker/jump on hover
  • olx.pl search results may stuck on spinner

Because of this, new js-only version is available now https://greasyfork.org/scripts/40529-animalqueryjs Issues may also been fixed in new Firefox releases (66 looks promising)

This script is developed and used in Firefox, Violentmonkey