|
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.4.1 |
| 222 | +// @version 2025.4.1.1 |
223 | 223 | // @license MIT
|
224 | 224 | // @icon https://cdn.jsdelivr.net/gh/adamlui/chatgpt-auto-continue@a8c9387/assets/images/icons/continue-symbol/black/icon48.png
|
225 | 225 | // @icon64 https://cdn.jsdelivr.net/gh/adamlui/chatgpt-auto-continue@a8c9387/assets/images/icons/continue-symbol/black/icon64.png
|
|
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@ab099a3/chromium/extension/components/modals.js#sha256-NGaCScpnN0140ej6eFh/+Yorx6VLea1uNoZ5kY5cX4Q=
|
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@c2aac90/chromium/extension/lib/settings.js#sha256-TuYeKA5lzdAQdgsZgR7TjlUamABhWwdfVgZsPM0+IJM= |
| 233 | +// @require https://cdn.jsdelivr.net/gh/adamlui/chatgpt-auto-continue@9f4e5b1/chromium/extension/lib/settings.js#sha256-lwjhc3z5/1zCooHxCyaf+BlVJqkBwf26kLfkddHWiLs= |
234 | 234 | // @require https://cdn.jsdelivr.net/gh/adamlui/chatgpt-auto-continue@80e800c/chromium/extension/lib/ui.js#sha256-/szI0bDpLL1aVTrc29iyToff58VMfeM/lSyjHWTipt0=
|
235 | 235 | // @resource rpgCSS https://cdn.jsdelivr.net/gh/adamlui/ai-web-extensions@727feff/assets/styles/rising-particles/dist/gray.min.css#sha256-48sEWzNUGUOP04ur52G5VOfGZPSnZQfrF3szUr4VaRs=
|
236 | 236 | // @resource rpwCSS https://cdn.jsdelivr.net/gh/adamlui/ai-web-extensions@727feff/assets/styles/rising-particles/dist/white.min.css#sha256-6xBXczm7yM1MZ/v0o1KVFfJGehHk47KJjq8oTktH4KE=
|
|
390 | 390 |
|
391 | 391 | // ...or add settings toggles
|
392 | 392 | : Object.keys(settings.controls).map(key => {
|
393 |
| - const menuLabel = `${ settings.controls[key].symbol || this.state.symbols[+settings.isEnabled(key)] } ` |
394 |
| - + settings.controls[key].label |
395 |
| - + this.state.separator + this.state.words[+settings.isEnabled(key)] |
| 393 | + const ctrlType = settings.controls[key].type |
| 394 | + const ctrlStatus = settings.controls[key].status |
| 395 | + const menuLabel = `${ |
| 396 | + settings.controls[key].symbol || this.state.symbols[+settings.typeIsEnabled(key)] } ${ |
| 397 | + settings.controls[key].label} ${ |
| 398 | + ctrlType == 'toggle' ? this.state.separator + this.state.words[+settings.typeIsEnabled(key)] |
| 399 | + : ctrlStatus ? `— ${ctrlStatus}` : '' }` |
396 | 400 | return GM_registerMenuCommand(menuLabel, () => {
|
397 | 401 | settings.save(key, !config[key]) ; syncConfigToUI({ updatedKey: key })
|
398 | 402 | notify(`${settings.controls[key].label}: ${
|
|
0 commit comments