更好的 Greasy Fork

为 Greasy Fork 增强多项实用功能:在标题旁显示脚本图标,在文本编辑器(用于评论和描述)中加入 Markdown 格式化工具,并在“代码”页面新增下载按钮,可将脚本直接下载为“.user.js”文件。此外,通过元数据为作者提供新的自定义选项,丰富脚本页面,显示高亮颜色、版权信息和社交图标。

< 脚本 更好的 Greasy Fork 的反馈

评价:好评 - 脚本运行良好

§
发布于:2025-10-19

what changed in this version i see no changes in the code?

OHAS作者
§
发布于:2025-10-19

Hello!


In version 1.1, I focused on adding optimization and customization features for users.

  • New command menu option: 🔄️ Force Update

This feature forces the update of cached values (such as icons) without having to wait for the programmed 30-day period.
So, if you change your script’s icon or any metadata, you’ll see the update immediately on your page without manually clearing the cache — just click the button.


  • New customization feature

Now, Better Greasy Fork allows you to style your userscript page using exclusive metadata.
Simply add them to your script and be a Better Greasy Fork user:

// ==UserScript==
// @bgf-colorLT
// @bgf-colorDT
// @bgf-compatible
// @bgf-copyright
// @bgf-social
// ==/UserScript==

In item 5 of this script’s description, I explained in more detail what each of these metadata entries does and how they work.


Here’s a demonstration of what this new update adds:

alt text

OHAS作者
§
发布于:2025-10-19
编辑于:2025-10-19

Force the update using the new button in the menu, then take a look at the homepage of Better Greasy Fork.
You’ll notice that the color of my description card is no longer the default one — it now automatically changes according to the browser’s theme, thanks to the declared metadata.
I’ve also added new information fields such as “Social” and “Copyright”, along with two new compatibility platforms that didn’t exist before: Brave and Mobile.

发布留言

登录以发布留言。