ChatGPT Preset Text Button

Adds a button on chatgpt.com to insert preset text into the input area

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
codebyBowen
日安装量
0
总安装量
15
评分
0 0 0
版本
1.6
创建于
2024-11-23
更新于
2024-11-23
大小
2.1 KB
许可证
MIT
适用于

ChatGPT Preset Text Button

A simple Tampermonkey userscript that adds a button to chatgpt.com pages, allowing you to insert preset text into the input area with a single click.

Features

  • Quick Text Insertion: Easily insert customizable preset text into the ChatGPT input field.
  • Unobtrusive Design: A small button positioned on the right side of the page.
  • Customizable: Modify the preset text and button appearance to suit your needs.

Installation

  1. Install Tampermonkey Extension:
  1. Enable Developer Mode:
  • In your browser's extensions settings (e.g., chrome://extensions/ for Chrome), enable Developer mode to allow script customization.
  1. Add the Userscript:
  • Click the Tampermonkey icon in your browser toolbar.
  • Select "Add a new script".
  • Copy the userscript code from this repository and paste it into the editor.
  • Save the script.

Usage

  • Navigate to ChatGPT:

  • Use the Insert Button:

    • You'll see a button labeled "Insert Preset Text" on the right side of the page.
    • Click the button to insert the preset text into the input area.

Customization

  • Change the Preset Text:

    • In the script, modify the presetText variable to the text you want to insert.
  • Adjust Button Appearance:

    • Customize the button styles in the script (e.g., backgroundColor, color, padding) to match your preferences.

Notes

  • Browser Compatibility:

    • This script works on browsers that support Tampermonkey, such as Chrome, Firefox, Edge, and Safari.
  • Permissions:

Repository Name Suggestions

  • chatgpt-preset-text-button
  • chatgpt-quick-insert
  • chatgpt-input-shortcut