Custom Cursor

Just A Custom Cursor

Från och med 2024-11-22. Se den senaste versionen.

// ==UserScript==
// @name         Custom Cursor
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Just A Custom Cursor
// @author       Brioche
// @match        https://pixelplanet.fun/
// @match        https://pixmap.fun/
// @match        https://pixelya.fun
// @icon         https://www.google.com/s2/favicons?sz=64&domain=pixelplanet.fun
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    const customCursorURL = 'https://your-image-url-here.png'; 
    const cursorSize = 32; // Taille du curseur (modifiez si nécessaire)

    const style = document.createElement('style');
    style.innerHTML = `
        * {
            cursor: url(${customCursorURL}) ${cursorSize / 2} ${cursorSize / 2}, auto;
        }
    `;
    document.head.appendChild(style);
})();