File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
chatgpt/chatgpt-auto-continue Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 219
219
// @description :zu ⚡ Terus menghasilkan imibuzo eminingi ye-ChatGPT ngokwesizulu
220
220
// @author Adam Lui
221
221
// @namespace https://github.com/adamlui
222
- // @version 2025.2.28
222
+ // @version 2025.2.28.1
223
223
// @license MIT
224
224
// @icon https://assets.chatgptautocontinue.com/images/icons/continue-symbol/circled/with-robot/icon48.png?v=8b39fb4
225
225
// @icon 64 https://assets.chatgptautocontinue.com/images/icons/continue-symbol/circled/with-robot/icon64.png?v=8b39fb4
502
502
postMessage ( { action : 'getExtensionInfo' , source : `${ app . slug } .user.js` } )
503
503
addEventListener ( 'message' , handleMsgResp )
504
504
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 ) && / e x t e n s i o n / i. test ( sender ) }
508
506
await new Promise ( resolve => setTimeout ( resolve , 100 ) ) // wait for extension response
509
507
removeEventListener ( 'message' , handleMsgResp )
510
508
You can’t perform that action at this time.
0 commit comments