Adapter for code ChatGPT wrote
ChatGPT’s extension won’t load?
ChatGPT still writes a lot of Manifest V2 extensions, and Chrome stopped running those in 2025. Paste every file it gave you. You get a version 3 zip and the four clicks to install it.
Fits Windows · Mac · Chrome · phoneWhy ChatGPT’s code doesn’t fit
- It learned from older code. Most of the code ChatGPT saw was written years ago, so it reaches for versions that have since changed: Chrome extensions on Manifest V2, Discord bots on discord.js v13.
- It leaves out the boring parts. Icons it mentions but never makes, a userscript header without a path, a token pasted straight into the code.
- It can’t install anything for you. It tells you to “load it unpacked” or “run npm install”, and stops there. The steps below each result are for your actual device.
What gets refitted
- manifest_version 2 → 3
- browser_action / page_action → action
- background scripts → service worker
- site addresses → host_permissions
- inline <script> moved to a file (Chrome blocks it)
- missing icon files removed so Chrome loads it
- chrome.extension.* → chrome.runtime.*
- comments and trailing commas removed from manifest.json