|
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.25.2 |
| 222 | +// @version 2025.2.26 |
223 | 223 | // @license MIT
|
224 | 224 | // @icon https://assets.chatgptautocontinue.com/images/icons/continue-symbol/circled/with-robot/icon48.png?v=8b39fb4
|
225 | 225 | // @icon64 https://assets.chatgptautocontinue.com/images/icons/continue-symbol/circled/with-robot/icon64.png?v=8b39fb4
|
|
230 | 230 | // @require https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@3.7.1/dist/chatgpt.min.js#sha256-uv1k2VxGy+ri3+2C+D/kTYSBCom5JzvrNCLxzItgD6M=
|
231 | 231 | // @require https://cdn.jsdelivr.net/gh/adamlui/chatgpt-auto-continue@762a364/chromium/extension/components/modals.js#sha256-8fzds+ArFmEQI54xYPNBzzMqQ6xH/CKKBH+X/Exel6M=
|
232 | 232 | // @require https://cdn.jsdelivr.net/gh/adamlui/chatgpt-auto-continue@762a364/chromium/extension/lib/dom.js#sha256-U+SUWAkqLIY6krdR2WPhVy5/f+cTV03n3F8b+Y+/Py0=
|
233 |
| -// @require https://cdn.jsdelivr.net/gh/adamlui/chatgpt-auto-continue@f97537d/chromium/extension/lib/settings.js#sha256-HdFJl1zsgq8CpaoXoGyGWPsU9HeLpkMyvW9B8pHOQVQ= |
| 233 | +// @require https://cdn.jsdelivr.net/gh/adamlui/chatgpt-auto-continue@0f41b33/chromium/extension/lib/settings.js#sha256-VTgdpNswFMINRQuHbAutrurUiB+BOsIGZ+XWusb5NBI= |
234 | 234 | // @resource rpgCSS https://assets.aiwebextensions.com/styles/rising-particles/dist/gray.min.css?v=727feff#sha256-48sEWzNUGUOP04ur52G5VOfGZPSnZQfrF3szUr4VaRs=
|
235 | 235 | // @resource rpwCSS https://assets.aiwebextensions.com/styles/rising-particles/dist/white.min.css?v=727feff#sha256-6xBXczm7yM1MZ/v0o1KVFfJGehHk47KJjq8oTktH4KE=
|
236 | 236 | // @grant GM_setValue
|
|
388 | 388 |
|
389 | 389 | // ...or add settings toggles
|
390 | 390 | else Object.keys(settings.controls).forEach(key => {
|
391 |
| - const settingIsEnabled = config[key] ^ /disabled/i.test(key) |
392 |
| - const menuLabel = `${ settings.controls[key].symbol || this.state.symbols[+settingIsEnabled] } ` |
| 391 | + const menuLabel = `${ settings.controls[key].symbol || this.state.symbols[+settings.isEnabled(key)] } ` |
393 | 392 | + settings.controls[key].label
|
394 |
| - + this.state.separator + this.state.words[+settingIsEnabled] |
| 393 | + + this.state.separator + this.state.words[+settings.isEnabled(key)] |
395 | 394 | this.ids.push(GM_registerMenuCommand(menuLabel, () => {
|
396 | 395 | settings.save(key, !config[key]) ; syncConfigToUI({ updatedKey: key })
|
397 | 396 | notify(`${settings.controls[key].label}: ${
|
|
0 commit comments