We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
await chatgpt.isLoaded()
KudoAI/chatgpt.js-chrome-starter
1 parent 68f4567 commit 9d37ba4Copy full SHA for 9d37ba4
starters/chrome/extension/content.js
@@ -44,9 +44,9 @@
44
// Run MAIN routine
45
46
if (config.extensionDisabled) return
47
- await chatgpt.isLoaded()
+
48
chatgpt.printAllFunctions() // to console
49
- if (!config.skipAlert) {
+ if (!config.skipAlert) { // alert to extension load
50
chatgpt.alert('≫ ChatGPT extension loaded! 🚀', // title
51
'Success! Press Ctrl+Shift+J to view all chatgpt.js methods.', // msg
52
function getHelp() { // button
@@ -55,6 +55,8 @@
55
settings.save('skipAlert', !config.skipAlert) }
56
)}
57
58
+ await chatgpt.isLoaded()
59
60
// Your code here...
61
62
0 commit comments