ChatGPT Code Previewer
A simple extension to render HTML (with CSS and JS), SVG, and Markdown code generated by ChatGPT directly on the page.
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"manifest_version": 3,
"name": "ChatGPT Code Previewer",
"description": "A simple extension to render HTML (with CSS and JS), SVG, and Markdown code generated by ChatGPT directly on the page.",
"author": "[email protected]",
"version": "1.3",
"icons": {
"16": "icon16.png",
"48": "icon48.png",
"128": "icon128.png"
},
"action": {
"default_popup": "popup.html"
},
"content_scripts": [
{
"matches": [
"https://chat.openai.com/*"
],
"js": [
"marked.js",
"script-shared.js",
"script-openai.js"
],
"css": [
"styles.css"
],
"runAi": "document_idle"
}
]
}