Greasy Fork is available in English.

Artifacts For Poe

Add preview, download, and new window functionality for code blocks on Poe.com, inspired by Anthropic's Artifacts feature.

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください。
作者
teezzz20
1日のインストール数
0
累計インストール数
19
評価
0 0 0
バージョン
2024-06-29
作成日
2024/06/30
更新日
2024/06/30
ライセンス
MIT
対象サイト

Artifacts For Poe

This userscript adds preview, download, and new window functionality for code blocks on Poe.com, inspired by Anthropic's Artifacts feature.

Usage

After installation, you'll see three new buttons next to the copy button on each code block:

  1. Download: Downloads the code file.
  2. New Window: Opens the preview in a new window.
  3. Preview: Click to toggle between code view and preview.

Notes

  • The script attempts to detect the appropriate file extension for downloads based on the code content. However, this may not always be accurate for all code types.
  • New window popups may be blocked by your browser. Make sure to allow popups for Poe.com if you want to use this feature.
  • The preview feature may not work perfectly for all code types, especially for code that requires specific environments or dependencies.
  • This code is developed with the assistance of Claude Sonnet 3.5, an AI language model by Anthropic. While Claude provided significant help in coding and problem-solving, the final implementation and decision-making were done by the human developer.

License

This script is released under the MIT License.