您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Claude-like Artefacts inside ChatGPT Code Blocks.
ChatGPT Artefacts is a userscript that enhances your ChatGPT experience by adding Claude-like artefact functionality to code blocks. This script allows you to open code snippets in a side panel or a new tab, making it easier to view and interact with code examples provided by ChatGPT.
Run Demo Button: Adds a "Run Demo" button next to code blocks, allowing you to open the code in a slide-out side panel.
Open in New Tab Button: Provides an "Open in New Tab" button to view the code in a separate browser tab.
Slide-out Panel: A resizable side panel that displays the code content in an iframe for easy viewing.
Code Cleaning: Automatically removes the added buttons when displaying code in the side panel or new tab.
Responsive Design: The side panel is draggable and resizable, with a minimum width of 300px and a maximum of 900px.
Visual Enhancements: Hover effects and tooltips for buttons, improving user experience.
This script is designed for use on the ChatGPT platform (https://*.chatgpt.com/*).
Issues and pull requests are welcome on the GitHub repository.
This script is distributed under the MIT License.