|
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.7 |
| 6 | +// @version 2026.1.26.8 |
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', 'notFirstRun') |
| 273 | + settings.load(Object.keys(settings.controls), 'expanded', 'fontSize', 'minimized', 'aiSafetyWarned') |
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) { |
| 2049 | + if (!app.config.aiSafetyWarned) { |
2050 | 2050 | modals.alert('⚠️ Important Notice:', |
2051 | 2051 | `<b>${app.name}</b> is powered by AI technology. While designed to be helpful:\n\n` |
2052 | 2052 | + '• <b>AI can make mistakes</b> - Always verify important information\n' |
|
2055 | 2055 | + 'Use responsibly!', |
2056 | 2056 | null, null, 388 |
2057 | 2057 | ) |
2058 | | - settings.save('notFirstRun', true) |
| 2058 | + settings.save('aiSafetyWarned', true) |
2059 | 2059 | } |
2060 | 2060 |
|
2061 | 2061 | // Exit on specific pages |
|
0 commit comments