js为洛谷的各个板块添加阴影
  • 板块灌水区
  • 楼主Perry6632
  • 当前回复12
  • 已保存回复12
  • 发布时间2024/8/21 19:13
  • 上次更新2024/8/21 21:25:38
查看原帖
js为洛谷的各个板块添加阴影
934631
Perry6632楼主2024/8/21 19:13

原版看腻了加个这个再看个5年

// ==UserScript==
// @name         洛谷
// @namespace    http://tampermonkey.net/
// @version      2024-08-20
// @description  try to take over the world!
// @author       perry6632
// @match        https://www.luogu.com.cn/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=cnblogs.com
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    var b=document.getElementsByClassName("lg-article");
    for(var i=0;i<b.length;i++){
        b[i].style.boxShadow="0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)";
    }
})();
2024/8/21 19:13
加载中...