Skip to content

Commit 6ebdbed

Browse files
committed
Changed config key check for showing AI safety warning from notFirstRun to aiSafetyWarned to align w/ other KudoAI scripts ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/bravegpt]
1 parent 0684ae2 commit 6ebdbed

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

chatgpt/bravegpt/bravegpt.user.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
// @description:zu Yengeza izimpendulo ze-AI ku-Brave Search (inikwa amandla yi-GPT-4o!)
149149
// @author KudoAI
150150
// @namespace https://kudoai.com
151-
// @version 2026.1.26.8
151+
// @version 2026.1.26.9
152152
// @license MIT
153153
// @icon https://assets.bravegpt.com/images/icons/app/icon48.png?v=e8ca7c2
154154
// @icon64 https://assets.bravegpt.com/images/icons/app/icon64.png?v=e8ca7c2
@@ -415,7 +415,7 @@
415415
label: `${app.msgs.menuLabel_about} ${app.name}...` }
416416
}})
417417
Object.assign(app.config, { lineHeightRatio: 1.313, maxFontSize: 24, minFontSize: 11 })
418-
settings.load(Object.keys(settings.controls), 'expanded', 'fontSize', 'minimized', 'notFirstRun')
418+
settings.load(Object.keys(settings.controls), 'expanded', 'fontSize', 'minimized', 'aiSafetyWarned')
419419
if (!app.config.replyLang) settings.save('replyLang', env.browser.language) // init reply language if unset
420420
if (!app.config.fontSize) settings.save('fontSize', 12.8791) // init reply font size if unset
421421
if (!env.scriptManager.supportsStreaming) settings.save('streamingDisabled', true) // disable Streaming in unspported env
@@ -2714,7 +2714,7 @@
27142714
// Init UI props
27152715
env.ui = { app: { scheme: app.config.scheme || ui.getScheme() }, site: { scheme: ui.getScheme() }}
27162716

2717-
if (!app.config.notFirstRun) {
2717+
if (!app.config.aiSafetyWarned) {
27182718
modals.alert('⚠️ Important Notice:',
27192719
`<b>${app.name}</b> is powered by AI technology. While designed to be helpful:\n\n`
27202720
+ '• <b>AI can make mistakes</b> - Always verify important information\n'
@@ -2723,7 +2723,7 @@
27232723
+ 'Use responsibly!',
27242724
null, null, 388
27252725
)
2726-
settings.save('notFirstRun', true)
2726+
settings.save('aiSafetyWarned', true)
27272727
}
27282728

27292729
// Create/ID/classify/listenerize/stylize APP container

0 commit comments

Comments
 (0)