Generate JavaScript Commands in the Console with OpenAI

3 months ago
2

https://github.com/g0t4/dotfiles/blob/cea7c80ad4e1fbfc53c2f473764a4f802e6a9fa9/zsh/universals/3-last/ask-openai/km-devtools.py

Just like generating commands at the command line and in the vim command mode, it makes sense to add integrated support to generate commands right inside of the Chrome DevTools to be able to ask a question and get back valid JavaScript to execute!

Combines all of this into a simple keyboard shortcut
- Open ChatGPT
- Explain what you need help with, i.e. JS in DevTools console
- Ask a question
- Copy and paste the response

Loading comments...