您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
To fade in Chat Messages (with YouTube Super Fast Chat)
- /* ==UserStyle==
- @name YouTube: fadeInChatMessage
- @namespace github.com/openstyles/stylus
- @version 0.1.2
- @description To fade in Chat Messages (with YouTube Super Fast Chat)
- @author CY Fung
- @preprocessor stylus
- @var number from-opacity "From Opacity" [0.3, 0, 1, 0.05]
- @var number to-opacity "To Opacity" [1, 0, 1, 0.05]
- @var number fade-duration "Fade Duration" [350, 10, 900, 10, 'ms']
- @var select timing-fx "Timing Fx" {
- "cubic-bezier(.4,.9,.5,1)": "cubic-bezier(.4,.9,.5,1)",
- "linear": "linear",
- "ease-in-out": "ease-in-out"
- }
- ==/UserStyle== */
- @-moz-document url-prefix("https://www.youtube.com/live_chat") {
- if 1 {
- $animation = fadeInChatMessage fade-duration timing-fx 0s 1 normal forwards
- }
- @keyframes fadeInChatMessage {
- from{
- opacity:from-opacity;
- }
- to{
- opacity:to-opacity;
- }
- }
- .cyt-chat-last-message {
- animation: $animation;
- }
- /* Insert code here... */
- }
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址