Sample UserCSS Greasy Fork

UserCSS mẫu đầy đủ metadata, hợp lệ khi đăng Greasy Fork

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

You will need to install an extension such as Tampermonkey to install this script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

Autore
hay88press1
Installazioni giornaliere
0
Installazioni totali
0
Valutazione
0 0 0
Versione
1.0.0
Creato il
02/01/2026
Aggiornato il
02/01/2026
Dimensione
452 Byte
Licenza
MIT
Applica a

// ==UserScript== // @name Sample Script Greasy Fork (Full) // @namespace https://greasyfork.org/users/ahi/sample-script-full // @version 1.0.0 // @description Userscript mẫu đầy đủ metadata, hợp lệ 100% khi đăng Greasy Fork // @author Ahi // @match :///* // @icon https://www.google.com/s2/favicons?sz=64&domain=greasyfork.org // @grant none // @run-at document-end // @license MIT // @homepageURL https://greasyfork.org // @supportURL https://greasyfork.org // ==/UserScript==

(function () { 'use strict';

/**
 * Code thực thi chính
 * Có logic, không rỗng, không lỗi cú pháp
 */
console.log('✅ Userscript Greasy Fork đã được tải và chạy thành công');

// Ví dụ thao tác DOM đơn giản
const info = document.createElement('div');
info.textContent = 'Userscript đang hoạt động';
info.style.position = 'fixed';
info.style.bottom = '10px';
info.style.right = '10px';
info.style.padding = '8px 12px';
info.style.background = '#222';
info.style.color = '#fff';
info.style.fontSize = '12px';
info.style.borderRadius = '6px';
info.style.zIndex = '99999';

document.body.appendChild(info);

})();