|
148 | 148 | // @description:zu Yengeza izimpendulo ze-AI ku-DuckDuckGo (inikwa amandla yi-GPT-4o!) |
149 | 149 | // @author KudoAI |
150 | 150 | // @namespace https://kudoai.com |
151 | | -// @version 2026.1.26.5 |
| 151 | +// @version 2026.1.26.6 |
152 | 152 | // @license MIT |
153 | 153 | // @icon https://assets.ddgpt.com/images/icons/app/icon48.png?v=533ce0f |
154 | 154 | // @icon64 https://assets.ddgpt.com/images/icons/app/icon64.png?v=533ce0f |
|
424 | 424 | if (!app.config.replyLang) settings.save('replyLang', env.browser.language) // init reply language if unset |
425 | 425 | if (!app.config.fontSize) settings.save('fontSize', 14.948771158854168) // init reply font size if unset |
426 | 426 | if (!env.scriptManager.supportsStreaming) settings.save('streamingDisabled', true) // disable Streaming in unspported env |
427 | | - if (!app.config.notFirstRun && env.browser.isMobile) settings.save('autoGet', true) // reverse default auto-get disabled if mobile |
428 | | - settings.save('notFirstRun', true) |
429 | 427 | log.debug(`Success! app.config = ${log.prettifyObj(app.config)}`) |
430 | 428 |
|
431 | 429 | // Define UI functions |
|
2723 | 2721 | site: { isCentered: !!document.documentElement.className.includes('center'), scheme: ui.getScheme() } |
2724 | 2722 | } |
2725 | 2723 |
|
| 2724 | + if (!app.config.notFirstRun) { |
| 2725 | + if (env.browser.isMobile) settings.save('autoGet', true) // reverse default auto-get disabled if mobile |
| 2726 | + modals.alert('⚠️ Important Notice:', |
| 2727 | + `<b>${app.name}</b> is powered by AI technology. While designed to be helpful:\n\n` |
| 2728 | + + '• <b>AI can make mistakes</b> - Always verify important information\n' |
| 2729 | + + `• <b>Double-check critical decisions</b> - Don't rely solely on AI advice\n` |
| 2730 | + + '• <b>Not a substitute</b> - For professional, medical, or legal matters\n\n' |
| 2731 | + + 'Use responsibly!', |
| 2732 | + null, null, 388 |
| 2733 | + ) |
| 2734 | + settings.save('notFirstRun', true) |
| 2735 | + } |
| 2736 | + |
2726 | 2737 | // Create/ID/classify/listenerize/stylize APP container |
2727 | 2738 | app.div = dom.create.elem('div', { id: app.slug, class: 'fade-in' }) |
2728 | 2739 | themes.apply(app.config.theme) ; ui.addListeners.appDiv() |
|
0 commit comments