更好的 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.

發表回覆

登入以回覆