Better Greasy Fork

Enhances Greasy Fork by displaying the script icon next to the title, adding an HTML toolbar for comments/descriptions, and a button to directly download the “.user.js” file from the code page. It also enriches pages with author customizations via metadata, including highlight colors, copyright info, and social icons, among other improvements.

Author
OHAS
Daily installs
1
Total installs
92
Ratings
3 0 0
Version
1.6
Created
2025-10-16
Updated
2025-10-31
Size
103 KB
Compatibility
Compatible with Firefox Compatible with Chrome Compatible with Edge
License
CC-BY-NC-ND-4.0
Applies to

Better Greasy Fork

Transform your Greasy Fork experience by adding useful functionalities and visual improvements that make browsing, writing, and managing scripts easier and more enjoyable.



Icons Added!

How does it work?
Better Greasy Fork fetches the icon for each script and displays it next to the title, whether in script lists (homepage, search, author's profile) or in the header of the script's own page.
How to use?
It's fully automatic! Just browse Greasy Fork and watch the icons appear, making visual identification of your favorite scripts much faster. To optimize speed, the icons are cached, so they load instantly on subsequent visits.



Text Editor with HTML Toolbar

How does it work?
A complete HTML toolbar is added to all text boxes that support formatting. This includes creating or editing script descriptions, comments, feedback, or discussion posts.
How to use? Clicking the toolbar buttons inserts the correct formatting for you. You can:
  • Create titles of different sizes (H1 ~ H6).
  • Apply bold, italic, Abbreviation, underline, and strikethrough.
  • Create bulleted or numbered lists, code, horizontal lines, collapsible sections, and center text.
  • Insert quotes, links, images, and tables.
  • Embed YouTube and Bilibili videos directly in your post.
  • Use advanced formatting like subscript, superscript, marked text, and keyboard keys.
  • Change the text color and background color with a built-in color picker.



Script Download Button on the Code Page

How does it work?
When visiting the Code tab of any script, a new button will appear at the top of the code box.
How to use?
Clicking this button will download the .user.js file directly to your computer, ready to use as you wish.



Visual and Usability Improvements

Highlighted Description

A script's main description is now displayed inside a highlighted block, making it easier to read and separating it from other information on the page.

Page Organization

A separator line has been added to visually divide the script details from the "Additional Info," making the page cleaner and more organized.

Clearer Ratings

The Good, Ok, and Bad rating counts have been redesigned with emojis (👍, 🤔, 👎) and colors to be more visible and easier to interpret quickly.



New Metadata Tags for Script Authors @bgf

A set of new metadata tags has been introduced that authors can add to their scripts to integrate with Better Greasy Fork. This allows for much greater customization of the script page for users who have Better Greasy Fork installed.

Custom Highlight Colors @bgf-colorLT and @bgf-colorDT

@bgf-colorLT sets the description color for the light theme, and @bgf-colorDT sets the description color for the dark theme. This allows the script page to match the script's own visual identity.

Copyright Information @bgf-copyright

A tag has been added to display a clickable copyright line in the script's information section, allowing authors to protect their work and provide a link for more details.

Enhanced Compatibility @bgf-compatible

Authors can now specify compatibility with other browsers and platforms, such as Brave and Mobile. Better Greasy Fork will display corresponding icons for this compatibility on the script page.

Social Media Links @bgf-social

A new tag allows authors to add links to their social media (like GitHub, Instagram, X/Twitter, etc.). The script will display the official icons for each social network, making it easier for users to find and follow the authors.
How to use?
@bgf-colorLT: use only one of the following color formats #hex | rgb(0, 0, 0) | rgba(0, 0, 0, 0) | hsl(0, 0%, 0%) | hsla(0, 0%, 0%, 0).
@bgf-colorDT: use only one of the following color formats #hex | rgb(0, 0, 0) | rgba(0, 0, 0, 0) | hsl(0, 0%, 0%) | hsla(0, 0%, 0%, 0).
@bgf-compatible: accepts only brave or mobile, or both together, separated by a comma brave, mobile.
@bgf-copyright: must follow the format [text](https://gist.github.com/*).
@bgf-social: accepts the following addresses: Instagram, Facebook, X/Twitter, Youtube, Bilibili, TikTok, DouYin, GitHub, and LinkedIn
  1. It's possible to use multiple URLs separated by a comma, with the exception of TikTok and Douyin—if both are declared, only one will be displayed on the page.
  2. @bgf-compatible does not replace `@compatible`; it just complements it.
Example
// ==UserScript==
// @bgf-colorLT       #6a9955
// @bgf-colorDT       rgb(106, 153, 85)
// @bgf-compatible    brave, mobile
// @bgf-copyright     [2025 Example. All Rights Reserved.](https://gist.github.com/*example*)
// @bgf-social        https://www.instagram.com/*, https://www.youtube.com/*, https://github.com/*, https://www.linkedin.com/*
// ==/UserScript==


As new improvements are tested and refined, your feedback helps guide the roadmap. If you wish to support maintenance and new features, please consider supporting:



Thank you!