File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
chatgpt/chatgpt-auto-refresh Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 220
220
// @description :zu *NGOKUPHEPHA* susa ukusetha kabusha ingxoxo yemizuzu eyi-10 + amaphutha enethiwekhi ahlala njalo + Ukuhlolwa kwe-Cloudflare ku-ChatGPT.
221
221
// @author Adam Lui
222
222
// @namespace https://github.com/adamlui
223
- // @version 2025.4.1.1
223
+ // @version 2025.4.1.2
224
224
// @license MIT
225
225
// @icon https://cdn.jsdelivr.net/gh/adamlui/chatgpt-auto-refresh@f11a0a8/assets/images/icons/openai/black/icon48.png
226
226
// @icon 64 https://cdn.jsdelivr.net/gh/adamlui/chatgpt-auto-refresh@f11a0a8/assets/images/icons/openai/black/icon64.png
418
418
save ( key , val ) { GM_setValue ( `${ app . configKeyPrefix } _${ key } ` , val ) ; config [ key ] = val }
419
419
}
420
420
settings . load ( Object . keys ( settings . controls ) )
421
- console . log ( config )
422
421
if ( ! config . refreshInterval ) settings . save ( 'refreshInterval' , 30 ) // init refresh interval to 30 secs if unset
423
422
424
423
// Define MENU functions
451
450
return GM_registerMenuCommand ( menuLabel , ( ) => {
452
451
if ( ctrlType == 'toggle' ) {
453
452
settings . save ( key , ! config [ key ] )
454
- notify ( `${ settings . controls [ key ] . label } : ${
455
- this . state . words [ + ( config [ key ] ^ / d i s a b l e d / i. test ( key ) ) ] } `)
453
+ notify ( `${ settings . controls [ key ] . label } : ${ this . state . words [ + settings . isEnabled ( key ) ] } ` )
456
454
} else { // Refresh Interval prompt
457
455
while ( true ) {
458
456
const refreshInterval = prompt (
You can’t perform that action at this time.
0 commit comments