|
3 | 3 | // @description Add AI chat & product/category summaries to Amazon shopping, powered by the latest LLMs like GPT-4o! |
4 | 4 | // @author KudoAI |
5 | 5 | // @namespace https://kudoai.com |
6 | | -// @version 2026.1.26.6 |
| 6 | +// @version 2026.1.26.7 |
7 | 7 | // @license MIT |
8 | 8 | // @icon https://amazongpt.kudoai.com/assets/images/icons/app/black-gold-teal/icon48.png?v=8e8ed1c |
9 | 9 | // @icon64 https://amazongpt.kudoai.com/assets/images/icons/app/black-gold-teal/icon64.png?v=8e8ed1c |
|
270 | 270 | label: `${app.msgs.menuLabel_about} ${app.name}...` } |
271 | 271 | }}) |
272 | 272 | Object.assign(app.config, { lineHeightRatio: 1.28, maxFontSize: 24, minFontSize: 11 }) |
273 | | - settings.load(Object.keys(settings.controls), 'expanded', 'fontSize', 'minimized') |
| 273 | + settings.load(Object.keys(settings.controls), 'expanded', 'fontSize', 'minimized', 'notFirstRun') |
274 | 274 | if (!app.config.replyLang) settings.save('replyLang', env.browser.language) // init reply language if unset |
275 | 275 | if (!app.config.fontSize) settings.save('fontSize', 14) // init reply font size if unset |
276 | 276 | if (!env.scriptManager.supportsStreaming) settings.save('streamingDisabled', true) // disable Streaming in unspported env |
|
2046 | 2046 | // Init UI props |
2047 | 2047 | env.ui = { app: { scheme: app.config.scheme || ui.getScheme() }, site: { scheme: ui.getScheme() }} |
2048 | 2048 |
|
| 2049 | + if (!app.config.notFirstRun) { |
| 2050 | + modals.alert('⚠️ Important Notice:', |
| 2051 | + `<b>${app.name}</b> is powered by AI technology. While designed to be helpful:\n\n` |
| 2052 | + + '• <b>AI can make mistakes</b> - Always verify important information\n' |
| 2053 | + + `• <b>Double-check critical decisions</b> - Don't rely solely on AI advice\n` |
| 2054 | + + '• <b>Not a substitute</b> - For professional, medical, or legal matters\n\n' |
| 2055 | + + 'Use responsibly!', |
| 2056 | + null, null, 388 |
| 2057 | + ) |
| 2058 | + settings.save('notFirstRun', true) |
| 2059 | + } |
| 2060 | + |
2049 | 2061 | // Exit on specific pages |
2050 | 2062 | if (document.querySelector('form[action*=Captcha]')) |
2051 | 2063 | return log.debug('Exited from Captcha page') |
|
0 commit comments