Greasy Fork

鼠标美化

把鼠标变成当前网站的图标,不影响点击。达到美化作用,同时可以提醒用户当前页面处于的网站。

安装此脚本?
作者推荐脚本

您可能也喜欢倍速控制器

安装此脚本
// ==UserScript==
// @name         鼠标美化
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  把鼠标变成当前网站的图标,不影响点击。达到美化作用,同时可以提醒用户当前页面处于的网站。
// @author       五等份的商鞅
// @match        *
// @match        *://*
// @match        *://*/*
// @match        *://*/*/*
// @match        *://*/*/*/*
// @match        *://*/*/*/*/*
// @match        *://*/*/*/*/*/*
// @match        *://*/*/*/*/*/*/*
// @match        *://*/*/*/*/*/*/*/*
// @icon         https://cas.pxc.jx.cn/lyuapServer/favicon.ico
// @grant        none
// @license     GPL-3.0-or-later
// ==/UserScript==
(function(){
    let all=document.querySelectorAll('*');
    for (let index = 0; index < all.length; index++) {
        all[index].style.cursor='url('+document.URL.split('/')[0]+'//'+document.URL.split('/')[2]+'/favicon.ico),auto'
    }
}())