Sample UserCSS Greasy Fork

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

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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.

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

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

})();