🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

Greasy Fork is available in English.

📂 缓存分发状态(共享加速已生效)
🕒 页面同步时间:2026/01/04 02:52:13
🔄 下次更新时间:2026/01/04 03:52:13
手动刷新缓存

ChatGPT with Date

显示 ChatGPT 历史对话时间 与 实时对话时间的 Tampermonkey 插件。

Tendrás que instalar una extensión para tu navegador como Tampermonkey, Greasemonkey o Violentmonkey si quieres utilizar este script.

You will need to install an extension such as Tampermonkey to install this script.

Necesitarás instalar una extensión como Tampermonkey o Violentmonkey para instalar este script.

Necesitarás instalar una extensión como Tampermonkey o Userscripts para instalar este script.

Necesitará instalar una extensión como Tampermonkey para instalar este script.

Necesitarás instalar una extensión para administrar scripts de usuario si quieres instalar este script.

(Ya tengo un administrador de scripts de usuario, déjame instalarlo)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

(Ya tengo un administrador de estilos de usuario, déjame instalarlo)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

Autor
CoderJiang
Instalaciones diarias
0
Instalaciones totales
598
Calificaciones
3 2 1
Versión
2.1.0
Creado
2/5/2024
Actualizado
1/6/2025
Tamaño
122 KB
Licencia
MIT
Funciona en

ChatGPT with Date

Build-passing Version-2.1.0 License-MIT CopyRight-Jiang_Liu

1. Introduction

Sometimes we want to see the timestamp of messages from ChatGPT, but ChatGPT does not have the feature to display message timestamps. This project is developed using Tampermonkey and can be used on browsers that support the Tampermonkey plugin, such as Edge, Chrome, Firefox, Safari, and Opera, to enable the display of timestamps for each message from ChatGPT.

This plugin can not only retrieve historical message timestamps but also obtain the time of new messages in real-time.

Adding timestamp labels during interaction

Accessing the Configuration Interface provides a variety of configuration options.

Basic usage of the configuration panel

If you are familiar with the web trifecta (HTML, CSS, JavaScript), you can highly customize the time style.

Advanced usage of the configuration panel

We will introduce the configurations as shown above and more rules in section two.

2. Detailed Documentation

Please visit the ChatGPT with Date Documentation for detailed configuration instructions and developer documentation.

3. Feedback

If you have any questions or suggestions, feel free to raise them on GitHub Issues or the Script Feedback Section.

4. Future Plans

  • [x] Internationalization: The script supports multiple languages (logs, prompts, etc.).
  • [x] Time Formatting Granular Configuration Panel: Optimizing time format customization features, instead of hard-to-maintain HTML string representations.
  • [x] Time Formatting Elements: Support for more time formatting elements, such as weekdays, months (in English), etc.
  • [x] Time Formatting Rules: Support for more time formatting rules, such as 12-hour and 24-hour formats.
  • [x] Support for Shared Interface: Support for displaying time on the interface of https://chatgpt.com/share/uuid ( i.e., the shared chat interface).
  • [ ] Theme Website: Provide a theme website to showcase user-shared time label themes.
  • [x] Reset Script: Due to crashes caused by applying user input locally, a reset script functionality is provided.
  • [x] Provide More Lifecycle Hooks and Custom Functions: For example, how time elements can be customized for parsing.

5. Open Source License

This project is licensed under the MIT License.

CopyRight © 2024~Present Jiang Liu

X. Changelog

  • v2.1.0 – 2025-06-02 00:22:54

    • Fix: Corrected the issue where timestamps were always displayed in local time (#9)
    • Optimization: Prioritize rendering the time labels for the most recent messages first
    • Optimization: Improved rendering performance by pausing timestamp updates when the user is interacting with the page to prevent lag
  • v2.0.4 - 2024-12-18 10:15:20

    • Feature: Provide a unified DEBUG switch.
    • Fix: Listen to the global main tag instead of a local one to resolve the issue where messages could not be detected initially.
    • Feature: Provide an interface to cancel listeners for future extensibility.
  • v2.0.3 - 2024-08-21 00:45:25

    • Optimization: modify link matching mechanism
  • v2.0.2 - 2024-07-29 02:11:47

    • Optimization: Unified access to resources hosted on GitHub.
    • New Feature: Support for displaying time on shared interfaces.
    • Fix: Improve the grammatical hints of prompt words, and provide both Chinese and English versions.
    • New: Provide English documentation
    • Optimization: provide more menu items for users to view documents, feedback, etc.
  • v2.0.1 - 2024-06-15 16:33:35

    • Fix: Resolved the issue where switching between messages forces the time to update to the current time.
  • v2.0.0 - 2024-06-13 16:58:05

    • Fix: Adapted to the new ChatGPT conversational UI.
    • New Feature: Introduced a new configuration page (due to ChatGPT's lack of support for unsafe-eval).
    • Feature Adjustment: To accommodate the new UI, support for "time badge insertion position" was removed.
  • v1.3.0 - 2024-05-06 19:48:01

    • New Features:
      • Internationalization (i18n) support.
      • Functionality to reset the script.
      • Custom prompts to generate HTML, CSS, and JavaScript code suitable for this plugin.
      • Tutorial access.
      • Ability to collapse and expand the configuration panel.
    • Optimization: Support for customizing the height of the code input box.
  • v1.2.3 - 2024-05-04 20:04:51

    • Fix: Resolved an issue preventing custom user code from running properly.
    • Optimization:
      • Ensured that errors in custom code do not affect the entire script.
      • Adjusted the rendering order to prioritize the most recent messages.
  • v1.2.2 - 2024-05-04 15:24:44

    • Fix: Resolved issues with message ID attribute changes leading to failures in locating target message DOM nodes.
  • v1.2.1 - 2024-05-04 14:33:12

    • Fix: Updated domain names for ChatGPT.
  • v1.2.0 - 2024-05-03 21:26:43

    • Optimizations:
      • Limited the number and total duration of time label renderings to prevent page lag.
      • Set time label rendering functions to execute asynchronously to avoid blocking page rendering.
      • Enhanced Fetch hijacking URL matching rules for accuracy and minimized interference with other requests. Hijacking operations are now performed only when URL matches are confirmed.
      • Replaced cold template HTML strings with direct examples of time formats when selecting templates.
    • New Features:
      • Added more elements for time formats, such as weekdays and months in English.
      • Added more rules for time formatting, such as 12-hour and 24-hour formats.
      • Introduced a code editor and injection system for custom HTML, CSS, and JavaScript styles.
      • Provided lifecycle hook functions window.beforeCreateTimeTag(messageId, timeTagHTML) and window.afterCreateTimeTag(messageId, timeTagNode).
  • v1.1.0 - 2024-05-02 17:50:04

    • New Feature: Added more templates for time formats.