diff --git a/chatgpt/autoclear-chatgpt-history/autoclear-chatgpt-history.user.js b/chatgpt/autoclear-chatgpt-history/autoclear-chatgpt-history.user.js
index a9676b7b1..cf742bc36 100644
--- a/chatgpt/autoclear-chatgpt-history/autoclear-chatgpt-history.user.js
+++ b/chatgpt/autoclear-chatgpt-history/autoclear-chatgpt-history.user.js
@@ -225,7 +225,7 @@
// @description:zu Ziba itshala lokucabanga okuzoshintshwa ngokuzenzakalelayo uma ukubuka chatgpt.com
// @author Adam Lui
// @namespace https://github.com/adamlui
-// @version 2024.12.1
+// @version 2024.12.1.1
// @license MIT
// @icon https://media.autoclearchatgpt.com/images/icons/openai/black/icon48.png?a8868ef
// @icon64 https://media.autoclearchatgpt.com/images/icons/openai/black/icon64.png?a8868ef
@@ -277,7 +277,10 @@
const xhr = env.scriptManager.name == 'OrangeMonkey' ? GM_xmlhttpRequest : GM.xmlHttpRequest
// Init APP data
- const app = { configKeyPrefix: 'autoclearChatGPThistory', latestAssetCommitHash: '2612648', urls: {} }
+ const app = {
+ version: GM_info.script.version, configKeyPrefix: 'autoclearChatGPThistory',
+ chatgptJSver: /chatgpt\.js@([\d.]+)/.exec(GM_info.script.header)[1], urls: {}, latestAssetCommitHash: '2612648'
+ }
app.urls.assetHost = `https://cdn.jsdelivr.net/gh/adamlui/autoclear-chatgpt-history@${app.latestAssetCommitHash}`
const appData = await new Promise(resolve => xhr({
method: 'GET', url: `${app.urls.assetHost}/app.json`,
@@ -553,21 +556,20 @@
modals.stack.unshift('about') ; modals.stack = [...new Set(modals.stack)] // track for nav
// Init data/styles
- const chatgptJSver = (/chatgpt-([\d.]+)\.min/.exec(GM_info.script.header) || [null, ''])[1],
- headingStyle = 'font-size: 1.15rem',
- pStyle = 'position: relative ; left: 3px',
- pBrStyle = 'position: relative ; left: 4px ',
- aStyle = 'color: ' + ( chatgpt.isDarkMode() ? '#c67afb' : '#8325c4' ) // purple
+ const headingStyle = 'font-size: 1.15rem',
+ pStyle = 'position: relative ; left: 3px',
+ pBrStyle = 'position: relative ; left: 4px ',
+ aStyle = 'color: ' + ( chatgpt.isDarkMode() ? '#c67afb' : '#8325c4' ) // purple
// Show alert
const aboutModal = siteAlert(
`${app.symbol} ${app.msgs.appName}`, // title
`🏷️ ${app.msgs.about_version}: `
- + `${GM_info.script.version}\n`
+ + `${app.version}\n`
+ `⚡ ${app.msgs.about_poweredBy}: `
+ ``
+ ``
- + 'chatgpt.js' + ( chatgptJSver ? ( ' v' + chatgptJSver ) : '' ) + '\n'
+ + `chatgpt.js v${app.chatgptJSver}\n`
+ `📜 ${app.msgs.about_sourceCode}:\n`
+ ``
+ app.urls.gitHub + '',