diff --git a/chatgpt/chatgpt-auto-continue/chatgpt-auto-continue.user.js b/chatgpt/chatgpt-auto-continue/chatgpt-auto-continue.user.js index 931edb984..1baed62e1 100644 --- a/chatgpt/chatgpt-auto-continue/chatgpt-auto-continue.user.js +++ b/chatgpt/chatgpt-auto-continue/chatgpt-auto-continue.user.js @@ -219,7 +219,7 @@ // @description:zu ⚡ Terus menghasilkan imibuzo eminingi ye-ChatGPT ngokwesizulu // @author Adam Lui // @namespace https://github.com/adamlui -// @version 2024.6.8.1 +// @version 2024.6.8.2 // @license MIT // @match *://chatgpt.com/* // @match *://chat.openai.com/* @@ -350,7 +350,7 @@ pStyle = 'position: relative ; left: 3px', pBrStyle = 'position: relative ; left: 4px ', aStyle = 'color: ' + ( chatgpt.isDarkMode() ? '#c67afb' : '#8325c4' ) // purple - const aboutModalID = alert( + const aboutModalID = siteAlert( msgs.appName || config.appName, // title `🏷️ ${ msgs.about_version || 'Version' }: ` + `${ GM_info.script.version }\n` @@ -400,7 +400,7 @@ else if (latestSubVer > currentSubVer) { // if outdated // Alert to update - const updateModalID = alert(( msgs.alert_updateAvail || 'Update available' ) + '! 🚀', // title + const updateModalID = siteAlert(( msgs.alert_updateAvail || 'Update available' ) + '! 🚀', // title ( msgs.alert_newerVer || 'An update to' ) + ' ' // msg + ( msgs.appName || config.appName ) + ' ' + `(v${ latestVer }) ${ msgs.alert_isAvail || 'is available' }! ` @@ -426,7 +426,7 @@ }} // Alert to no update, return to About modal - alert(( msgs.alert_upToDate || 'Up-to-date' ) + '!', // title + siteAlert(( msgs.alert_upToDate || 'Up-to-date' ) + '!', // title `${ msgs.appName || 'ChatGPT Auto-Continue' } (v${ currentVer }) ` // msg + ( msgs.alert_isUpToDate || 'is up-to-date' ) + '!', '', '', updateAlertWidth @@ -439,7 +439,7 @@ function notify(msg, position = '', notifDuration = '', shadow = '') { chatgpt.notify(`${ config.appSymbol } ${ msg }`, position, notifDuration, shadow || chatgpt.isDarkMode() ? '' : 'shadow') } - function alert(title = '', msg = '', btns = '', checkbox = '', width = '') { + function siteAlert(title = '', msg = '', btns = '', checkbox = '', width = '') { return chatgpt.alert(`${ config.appSymbol } ${ title }`, msg, btns, checkbox, width )} })()