|
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 2026.1.26.7 |
| 151 | +// @version 2026.1.26.8 |
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 |
|
415 | 415 | label: `${app.msgs.menuLabel_about} ${app.name}...` } |
416 | 416 | }}) |
417 | 417 | Object.assign(app.config, { lineHeightRatio: 1.313, maxFontSize: 24, minFontSize: 11 }) |
418 | | - settings.load(Object.keys(settings.controls), 'expanded', 'fontSize', 'minimized') |
| 418 | + settings.load(Object.keys(settings.controls), 'expanded', 'fontSize', 'minimized', 'notFirstRun') |
419 | 419 | if (!app.config.replyLang) settings.save('replyLang', env.browser.language) // init reply language if unset |
420 | 420 | if (!app.config.fontSize) settings.save('fontSize', 12.8791) // init reply font size if unset |
421 | 421 | if (!env.scriptManager.supportsStreaming) settings.save('streamingDisabled', true) // disable Streaming in unspported env |
|
2714 | 2714 | // Init UI props |
2715 | 2715 | env.ui = { app: { scheme: app.config.scheme || ui.getScheme() }, site: { scheme: ui.getScheme() }} |
2716 | 2716 |
|
| 2717 | + if (!app.config.notFirstRun) { |
| 2718 | + modals.alert('⚠️ Important Notice:', |
| 2719 | + `<b>${app.name}</b> is powered by AI technology. While designed to be helpful:\n\n` |
| 2720 | + + '• <b>AI can make mistakes</b> - Always verify important information\n' |
| 2721 | + + `• <b>Double-check critical decisions</b> - Don't rely solely on AI advice\n` |
| 2722 | + + '• <b>Not a substitute</b> - For professional, medical, or legal matters\n\n' |
| 2723 | + + 'Use responsibly!', |
| 2724 | + null, null, 388 |
| 2725 | + ) |
| 2726 | + settings.save('notFirstRun', true) |
| 2727 | + } |
| 2728 | + |
2717 | 2729 | // Create/ID/classify/listenerize/stylize APP container |
2718 | 2730 | app.div = dom.create.elem('div', { id: app.slug, class: 'fade-in snippet' }) |
2719 | 2731 | themes.apply(app.config.theme) ; ui.addListeners.appDiv() |
|
0 commit comments