Skip to content

Commit 80550c9

Browse files
committed
1 parent bab4f0e commit 80550c9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

chatgpt/chatgpt-auto-continue/chatgpt-auto-continue.user.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@
219219
// @description:zu ⚡ Terus menghasilkan imibuzo eminingi ye-ChatGPT ngokwesizulu
220220
// @author Adam Lui
221221
// @namespace https://github.com/adamlui
222-
// @version 2025.2.28
222+
// @version 2025.2.28.1
223223
// @license MIT
224224
// @icon https://assets.chatgptautocontinue.com/images/icons/continue-symbol/circled/with-robot/icon48.png?v=8b39fb4
225225
// @icon64 https://assets.chatgptautocontinue.com/images/icons/continue-symbol/circled/with-robot/icon64.png?v=8b39fb4
@@ -502,9 +502,7 @@
502502
postMessage({ action: 'getExtensionInfo', source: `${app.slug}.user.js` })
503503
addEventListener('message', handleMsgResp)
504504
function handleMsgResp(resp) {
505-
const sender = resp.data.source.toLowerCase()
506-
env.extensionActive = sender.includes(app.slug.toLowerCase()) && sender.includes('extension')
507-
}
505+
const sender = resp.data.source ; env.extensionActive = sender.includes(app.slug) && /extension/i.test(sender) }
508506
await new Promise(resolve => setTimeout(resolve, 100)) // wait for extension response
509507
removeEventListener('message', handleMsgResp)
510508

0 commit comments

Comments
 (0)