|
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.1.18.1 |
| 223 | +// @version 2025.1.19 |
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
|
|
282 | 282 |
|
283 | 283 | // Init APP data
|
284 | 284 | const app = {
|
285 |
| - name: 'ChatGPT Auto Refresh', version: GM_info.script.version, symbol: '↻', cssPrefix: 'chatgpt-auto-refresh', |
| 285 | + name: 'ChatGPT Auto Refresh', version: GM_info.script.version, symbol: '↻', slug: 'chatgpt-auto-refresh', |
286 | 286 | configKeyPrefix: 'chatGPTautoRefresh', chatgptJSver: /chatgpt\.js@([\d.]+)/.exec(GM_info.scriptMetaStr)[1],
|
287 | 287 | author: { name: 'Adam Lui', url: 'https://github.com/adamlui' },
|
288 | 288 | urls: {
|
|
521 | 521 |
|
522 | 522 | const modals = {
|
523 | 523 | stack: [], // of types of undismissed modals
|
524 |
| - class: `${app.cssPrefix}-modal`, |
| 524 | + class: `${app.slug}-modal`, |
525 | 525 |
|
526 | 526 | alert(title = '', msg = '', btns = '', checkbox = '', width = '') { // generic one from chatgpt.alert()
|
527 | 527 | const alertID = chatgpt.alert(title, msg, btns, checkbox, width),
|
|
798 | 798 | const toggles = {
|
799 | 799 |
|
800 | 800 | sidebar: {
|
801 |
| - class: `${app.cssPrefix}-sidebar-toggle`, |
| 801 | + class: `${app.slug}-sidebar-toggle`, |
802 | 802 |
|
803 | 803 | create() {
|
804 | 804 |
|
|
0 commit comments