油猴脚本:始皇充电特效同款

由大鹅指导 @Clarke.L
Video_2025-01-22_114055

已调整适配

// ==UserScript==
// @name         充电特效
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  充电特效
// @author       Clarke.L
// @match        https://linux.do/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    
    const style = document.createElement('style');
    style.type = 'text/css';
    style.textContent = `
        img.avatar[src^="/user_avatar/linux.do/keron/"],
        img.avatar[src^="https://linux.do/user_avatar/linux.do/keron/"] {
            width: auto;
            height: $avatar-height;
            position: relative !important;
            border-radius: 50% !important;
            box-shadow: 0 0 20px #ffd700 !important;
            animation: pulse 3s ease-in-out infinite !important;
        }

        @keyframes pulse {
            0% {
                transform: scale(1);
                opacity: 1;
            }
            50% {
                transform: scale(1.1);
                opacity: 0.7;
            }
            100% {
                transform: scale(1);
                opacity: 1;
            }
        }
    `;

    
    document.head.appendChild(style);
})();

颜色自己改

box-shadow: 0 0 20px #ffd700 !important;

记得修改成你的id

img.avatar[src^="/user_avatar/linux.do/keron/"],
img.avatar[src^="https://linux.do/user_avatar/linux.do/keron/"]
31 个赞

前排支持 zsbd

3 个赞

这个叫萤火虫特效更合理一点

4 个赞

我就知道肯定会有这一趴

56 个赞

颜色可以更改

1 个赞

众望所归。
image

1 个赞

我也充起来~ :tieba_036:

3 个赞

知道了怎么不自己先水一贴 :stuck_out_tongue:

鹅佬先冲

1 个赞

牛的很!

牛得很嘞

直接替换theme_1.scss中的neo改为自己的用户名 :tieba_022:

4 个赞

佬友先冲!

只能自己看到哦 :tieba_087:

这个可行

我就知道肯定会有这一趴

2 个赞

我的咋不充电

好好好 试一下

1 个赞

只能给自己看

1 个赞

9 个赞