YouTube: disable rolling numbers count up animation

Remove the annoying count up animation for likes and video views on YouTube

< 脚本YouTube: disable rolling numbers count up animation的反馈

评价:好评 - 脚本运行良好

§
发表于:2024-03-10

It is kind of flaky for me, works only sometimes. There seems to be a race condition because it works much better if I delay wrap the function evaluation, with e.g.

(function() {
  'use strict';
  setTimeout(() => {  // Added this line

  // ....

  }, 4000);           // Added this line
})();
Konf作者
§
发表于:2024-03-10
编辑于:2024-03-10

I barely use YouTube nowadays so I have no idea how this script performs. You're right about the race condition. I've made an update with your solution and I've also changed the directive which tells the browser after what event the script should be launched. This should be more stable than relying only on a random 4 seconds delay

§
发表于:2024-03-13

Thanks, it works great now!

发表回复

登录(不可用)以发表回复。

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址