Adapter for code ChatGPT wrote
Make ChatGPT’s code a bookmark.
A bookmarklet is a bookmark that runs code on the page you’re looking at. No extension needed, and it works on phones.
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
- wrapped so it doesn’t replace the page
- encoded so it fits in a bookmark
- userscript header removed
- warning for GM_ functions (they only work in Tampermonkey)