Greasy Fork 支持简体中文。

Stage1 Local Time Replacer

Replace and overwrite China Standard Time with local time on Stage1 forums.

作者
ZEN GUO
今日安裝
0
安裝總數
1
評價
0 0 0
版本
1.3.2
建立日期
2025-02-03
更新日期
2025-02-03
尺寸
9.2 KB
授權條款
MIT
腳本執行於

Stage1 Local Time Replacer

Description:

This userscript is specifically designed for Stage1 forums (saraba1st.com) users. It addresses the inconvenience of the forum's default Beijing Time (China Standard Time) display for users in different time zones. The script automatically detects Beijing Time in "YYYY-MM-DD HH:MM" format displayed in various locations of the forum, including thread lists, post content (including posting and replies), quotes, search results, favorites, and notifications, and converts it to your local time, as set by your computer or browser.

Key Features:

  • Comprehensive Time Conversion: Covers multiple areas of the Stage1 forum, including thread lists, posting pages, reply pages, quotes, search results, favorites, and notifications, providing a complete Beijing Time localization solution.
  • Intelligent Color Adaptation:
    • In pages like posting and replying, original blue and grey times will be replaced with black local times.
    • In thread list pages, the original orange time color will be preserved.
    • In search results pages, the original green time color will be preserved.
    • Time colors in other locations will be preserved as much as possible, inheriting original styles.
  • Dynamic Update: Utilizes MutationObserver to monitor DOM changes, ensuring that newly loaded content with timestamps is also converted in real-time, even in dynamically loading forum pages.
  • Lightweight and Efficient: The script code is concise and efficient, minimizing any impact on page loading speed and browsing experience.

Use Cases:

  • If you are located outside of mainland China time zones, using this script allows you to understand the posting and reply times across Stage1 forums more intuitively, eliminating the need for manual time zone conversion.

Version Information:

  • Current Version: v1.3.2
  • Author: DS泥头车
  • License: MIT License

Special Declaration:

The code in this script is 100% generated by deepseek-r1 + gemini 2.0 flash thinking AI models. The code documentation is written by Gemini AI model.

Thank you for using this script! If you have any suggestions or issues, please feel free to leave feedback on the Greasy Fork page.