AnimalQuery

Tries to speedup browsing by disabling CSS content animations

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 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