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.

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

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

Tác giả
hay88press1
Cài đặt hàng ngày
0
Số lần cài đặt
0
Đánh giá
0 0 0
Phiên bản
1.0.0
Đã tạo
02-01-2026
Đã cập nhật
02-01-2026
Kích thước
452 Byte
Giấy phép
MIT
Áp dụng cho

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

})();