Chatgpt Prompt Manager and loader

Improve version of ChatGPT Notepad With ability to browse and load prompt easily

As of 2023-05-22. See the latest version.

نووسەر
Holo Lawrance
Ratings
0 0 0
وەشان
1.0
Created
2023-05-22
Updated
2023-05-22
Size
5.64 KB
مۆڵەت
MIT
Applies to

This code are improvemnt of ChatGPT unofficial notepad, it creates a notepad-like interface that allows you to have multiple text windows. Each window has a title and a text area where you can type and save text. Here's how it works:

It starts by creating a floating window on the screen where the notepads will appear.

It creates a specified number of text windows (in this case, 10) and hides them initially.

For each text window, it creates a title input field and a text area where you can write and save your text. It also saves the title and text content in the browser's localStorage, so when you reopen the page, your saved content will be restored.

It creates a dropdown menu that shows the titles of all the text windows. When you select a title from the dropdown menu, the corresponding text window is displayed, and the previously displayed window is hidden.

It creates a "Load to ChatGPT" button. When you click this button, the text from the currently displayed text window is loaded into a ChatGPT textbox on the page. This allows you to transfer the text from the notepad to the ChatGPT.

Finally, it creates a "Show Credits" button. When you click this button, it displays a message showing the credits for the original developers of the ChatGPT-based notepad.

长期地址
遇到问题?请前往 GitHub 提 Issues。