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.
1 parent a150eb0 commit 0e57708Copy full SHA for 0e57708
starters/chrome/extension/service-worker.js
@@ -11,13 +11,13 @@ const app = {
11
}
12
chrome.storage.sync.set({ app }) // save to Chrome storage
13
14
-// Launch ChatGPT on install
+// Launch CHATGPT on install
15
chrome.runtime.onInstalled.addListener(details => {
16
if (details.reason == 'install')
17
chrome.tabs.create({ url: 'https://chatgpt.com/' })
18
})
19
20
-// Sync settings to activated tabs
+// Sync SETTINGS to activated tabs
21
chrome.tabs.onActivated.addListener(activeInfo =>
22
chrome.tabs.sendMessage(activeInfo.tabId, { action: 'syncConfigToUI' }))
23
0 commit comments