Generate JavaScript Commands in the Console with OpenAI

Опубликовано: 25 Октябрь 2024
на канале: Wes Higbee
262
7

https://github.com/g0t4/dotfiles/blob...

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