|
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.5.9 |
| 223 | +// @version 2025.5.9.1 |
224 | 224 | // @license MIT
|
225 | 225 | // @icon https://assets.chatgptautorefresh.com/images/icons/openai/black/icon48.png?v=f11a0a8
|
226 | 226 | // @icon64 https://assets.chatgptautorefresh.com/images/icons/openai/black/icon64.png?v=f11a0a8
|
|
463 | 463 | }
|
464 | 464 | syncConfigToUI({ updatedKey: key })
|
465 | 465 | }, env.scriptManager.supportsTooltips ? { title: ctrl.helptip || ' ' } : undefined)
|
466 |
| - }); |
| 466 | + }) |
467 | 467 |
|
468 | 468 | // Add About/Donate entries
|
469 |
| - ['about', 'donate'].forEach(entryType => this.entryIDs.push(GM_registerMenuCommand( |
| 469 | + ;['about', 'donate'].forEach(entryType => this.entryIDs.push(GM_registerMenuCommand( |
470 | 470 | `${ entryType == 'about' ? '💡' : '💖' } ${
|
471 | 471 | app.msgs[`menuLabel_${entryType}`]} ${ entryType == 'about' ? app.msgs.appName : '' }`,
|
472 | 472 | () => entryType == 'about' ? modals.open(entryType) : modals.safeWinOpen(app.urls.donate['ko-fi']),
|
|
949 | 949 |
|
950 | 950 | toolbarMenu.register() // create browser toolbar menu
|
951 | 951 | toggles.sidebar.update.navicon({ preload: true }) // preload sidebar NAVICON variants
|
952 |
| - await Promise.race([chatgpt.isLoaded(), new Promise(resolve => setTimeout(resolve, 5000))]); // initial UI loaded |
953 |
| - |
954 |
| - // Add RISING PARTICLES styles |
955 |
| - ['rpg', 'rpw'].forEach(cssType => document.head.append(dom.create.style(GM_getResourceText(`${cssType}CSS`)))) |
956 |
| - |
| 952 | + await Promise.race([chatgpt.isLoaded(), new Promise(resolve => setTimeout(resolve, 5000))]) // initial UI loaded |
| 953 | + ;['rpg', 'rpw'].forEach(cssType => // add Rising Particles styles |
| 954 | + document.head.append(dom.create.style(GM_getResourceText(`${cssType}CSS`)))) |
957 | 955 | toggles.sidebar.insert()
|
958 | 956 |
|
959 | 957 | // Prevent sporadic convo RESETS
|
|
0 commit comments