Sample UserCSS Greasy Fork

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

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(У мене вже є менеджер скриптів, дайте мені встановити його!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Автор
hay88press1
Щоденних встановлень
0
Всього встановлень
0
Рейтинги
0 0 0
Версія
1.0.0
Створено
02.01.2026
Оновлено
02.01.2026
Size
452 байти
Ліцензія
MIT
Відноситься до

// ==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);

})();