|
148 | 148 | // @description:zu Yengeza izimpendulo ze-AI ku-Brave Search (inikwa amandla yi-GPT-4o!) |
149 | 149 | // @author KudoAI |
150 | 150 | // @namespace https://kudoai.com |
151 | | -// @version 2025.9.29.1 |
| 151 | +// @version 2025.9.30 |
152 | 152 | // @license MIT |
153 | 153 | // @icon https://assets.bravegpt.com/images/icons/app/icon48.png?v=e8ca7c2 |
154 | 154 | // @icon64 https://assets.bravegpt.com/images/icons/app/icon64.png?v=e8ca7c2 |
|
1150 | 1150 |
|
1151 | 1151 | // Notify of mode change |
1152 | 1152 | if (mode == 'sticky' && prevStickyState == config.stickySidebar) return |
1153 | | - feedback.notify(`${ app.msgs[`menuLabel_${ mode }Sidebar`] || log.toTitleCase(mode) + ' Sidebar' } ${ |
1154 | | - menus.toolbar.state.words[+config[configKeyName]]}`, |
1155 | | - undefined, anchorModeDisabled ? 2.75 : undefined) // +1s duration if conflicting mode notif shown |
| 1153 | + feedback.notify( |
| 1154 | + `${ app.msgs[`menuLabel_${ mode }Sidebar`] || log.toTitleCase(mode) + ' Sidebar' } ${ |
| 1155 | + menus.toolbar.state.words[+config[configKeyName]]}`, |
| 1156 | + undefined, anchorModeDisabled ? 2.75 : undefined // +1s duration if conflicting mode notif shown |
| 1157 | + ) |
1156 | 1158 | }, |
1157 | 1159 |
|
1158 | 1160 | streaming() { |
|
1184 | 1186 | } else { // functional toggle |
1185 | 1187 | settings.save('streamingDisabled', !config.streamingDisabled) |
1186 | 1188 | feedback.notify(`${settings.controls.streamingDisabled.label} ${ |
1187 | | - menus.toolbar.state.words[+!config.streamingDisabled]}`) |
| 1189 | + menus.toolbar.state.words[+!config.streamingDisabled]}`) |
1188 | 1190 | } |
1189 | 1191 | } |
1190 | 1192 | } |
|
2190 | 2192 | function schemeNotify(scheme) { |
2191 | 2193 |
|
2192 | 2194 | // Show notification |
2193 | | - feedback.notify(`${app.msgs.menuLabel_colorScheme}: ` |
2194 | | - + ( scheme == 'light' ? app.msgs.scheme_light || 'Light' |
2195 | | - : scheme == 'dark' ? app.msgs.scheme_dark || 'Dark' |
2196 | | - : app.msgs.menuLabel_auto ).toUpperCase() ) |
| 2195 | + feedback.notify(`${app.msgs.menuLabel_colorScheme}: ${( |
| 2196 | + scheme == 'light' ? app.msgs.scheme_light || 'Light' |
| 2197 | + : scheme == 'dark' ? app.msgs.scheme_dark || 'Dark' |
| 2198 | + : app.msgs.menuLabel_auto).toUpperCase() |
| 2199 | + }`) |
| 2200 | + |
2197 | 2201 | // Append scheme icon |
2198 | 2202 | const notifs = document.querySelectorAll('.chatgpt-notif'), notif = notifs[notifs.length -1] |
2199 | 2203 | notif.append(icons.create({ |
|
0 commit comments