Artifacts For Poe

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

Pada tanggal 30 Juni 2024. Lihat %(latest_version_link).

Penulis
teezzz20
Nilai
0 0 0
Versi
2024-06-29
Dibuat
30 Juni 2024
Diperbarui
30 Juni 2024
Size
8,14 KB
Lisensi
MIT
Berlaku untuk

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.

License

This script is released under the MIT License.