Skip to the content.

GreasyFork Scripts (F9y4ng) WIKI

页面语言 (Language) 中文 (Chinese) 英语 (English)

LICENSE LAST COMMIT ISSUES STARS


Join Telegram Channel (Channel Name: GreasyFork-Scripts)


Font Rendering (Customized) Font Rendering.user.js

 [View source code]  [Install this script]  [Visit GreasyFork] (Issues aren’t processed at GreasyFork)

Introduction: Without MacType, improve browser displaying more textured. “Microsoft Yahei” is used by default. For browser displaying, the script provides advanced features such as font rewriting, smoothing, scaling, stroke, shadow, special style elements, custom monospaced, etc. It can configure by “click Script Manager icon” or “use hotkeys” to call out the setup. The script is already compatible with major browsers and userscript managers, also commonly used Greasemonkey scripts and browser extensions.

version 2024.04.06.1 - Update log: 【🔥Install this script

# Recommend: Raise the sort order of this script to first in the Script Manager to minimize conflicts caused by other intrusive scripts. (Optional)
@ Fixed colorpicker for font shadows conflicting with style overrides on some sites.
@ Fixed the bug of getting hijacked JSON in different injection modes.
@ Fixed the problem that the font scaling function corrects the wrong coordinate offset.
@ Fixed an error in Iframe asynchronous processing of styles during preview.
@ Improve the performance of bold stroke style correction and conflict detection.
@ Change the expiration of the global cache for the script fontList to "30 days".
@ Refactor the code, fix some hidden bugs, optimize style.

Please note the following before using a new version:

Note: Under Win10/Win11, regardless of high or low resolution, as long as the system or browser applies a zoom ratio of more than 150%, the best rendering effect can be obtained, which is determined by the default rendering mechanism of Windows.

How to deal with script loading delay?

Temporary solutions for script loading delays, or styles not loading correctly:

About feedback on issues

Note 1: Unknown compatibility errors may occur when using the Beta, Dev, Canary, Nightly and other test branches of the browser or script manager, and the script will not correct errors of the test version. Since there is a rare chance that the data will be initialized abnormally, please back up your local data in time.

Note 2: To report script errors or style issues, please provide the URL, the browser and version, the script manager and version, error page screenshot, and operation process or error prompt (if any) where the problem occurs when using this script only, etc., because the problem you encountered may not be reproduced locally in me.

How to provide script error log?

  1. Turn on the script debugging switch first:
    • v2023.04.08.1 or later, add ?whoami=F9y4ng or &whoami=F9y4ng to the URL to enable debugging mode.
    • To use the old version, you need to change the code from const IS_OPEN_DEBUG = false to true at about line 54 and save.
  2. Press F12 in the browser to open the console, refresh, operate until the problem is reproduced, right-click in the console margin and select Save As….
  3. Use Bug report and upload the saved log file to Github ISSUES
  4. During daily use, do not turn on the script debugging switch to avoid slow script executing or page lagging.

About adding custom fonts

If you need to add custom fonts into the font library, please follow the Help Instructions. The Chinese fonts in the built-in font library Download.

If you want to add a new font, please add complete and accurate font names in English and Chinese, and PostScript names into the customized font library in the preset format.

The format is as follows: {"ch":"鸿蒙黑体", "en":"HarmonyOS Sans SC", "ps":"HarmonyOS_Sans_SC"}

When a new font is installed, be sure to restart the browser first and rebuild the font-list cache in the advanced core settings for it to take effect immediately.

About font scaling

Font scaling (experimental) BETA Version, OFF by default, turn on font scaling in the Advanced core settings.


Search Engine Assistant Google & Baidu Switcher.user.js

 [View source code]  [Install this script]  [Visit GreasyFork] (Issues aren’t processed at GreasyFork)

Introduction: “Elegant search engine Assistant” facilitates users to jump between different search engines; supports custom commonly used search engines and search keyword highlighting effects; provides advanced functions such as removing search link redirection, blocking search results advertisements, etc.; it is compatible with well-known search engines such as Baidu, Google, Bing, Duckduckgo, Yandex, Sogou, Ecosia, You, Startpage, Brave, etc.

version 2024.04.06.1 - Update log: 【🔥Install this script

@ Fixed the jump button style issue of search.Brave.
@ Fixed the issue of judging the addition of valid characters for search filter keywords.
@ Fixed some known issues, optimize style, optimize code.

The latest feature introduction

Icon cache update

Visit any search engine, add ?whoami=F9y4ng or &whoami=F9y4ng to the URL in the address bar to enable temporary debugging mode, then you can automatically update the icons of the search engine site; or wait for the icon cache to expire (15 days) and then automatically renew the icon cache.

Important notes

The “Automatic Update” function is enabled by default. If you do not need it,, please turn off Auto Update Detect in the “Advanced Feature Settings” of the script menu.


Autoclose Zhihu Login Prompt Autoclose Zhihu Login.user.js

 [View source code]  [Install this script]  [Visit GreasyFork] (Issues aren’t processed at GreasyFork)

Introduction: “Autoclose Zhihu Login Prompt” is only used to close the automatically pop-up login prompt. It does nothing else and will not do anything else in the future.

version 2024.04.06.1 - Update log: 【🔥Install this script

@ Fixed some known issues.

Important

Browser version requirements:

Chrome >= 105; Edge >= 105; Safari >= 15.4; Firefox >= 103; Opera >= 91

Notice: