From 2651ec2c8eca68f26280e9c33e2000bc112d69da Mon Sep 17 00:00:00 2001 From: "adamlui@protonmail.com" Date: Tue, 10 Sep 2024 15:53:00 +0000 Subject: [PATCH] =?UTF-8?q?Abstracted=20URLs=20into=20`app.urls`=20for=20i?= =?UTF-8?q?mproved=20maintainability=20=E2=86=9E=20[auto-sync=20from=20`ad?= =?UTF-8?q?amlui/chatgpt-apps/chatgpt-auto-talk`]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../chatgpt-auto-talk/chatgpt-auto-talk.user.js | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/chatgpt/chatgpt-auto-talk/chatgpt-auto-talk.user.js b/chatgpt/chatgpt-auto-talk/chatgpt-auto-talk.user.js index f02ccecf18..e22284b22a 100644 --- a/chatgpt/chatgpt-auto-talk/chatgpt-auto-talk.user.js +++ b/chatgpt/chatgpt-auto-talk/chatgpt-auto-talk.user.js @@ -225,7 +225,7 @@ // @description:zu Dlala izimpendulo ze-ChatGPT ngokuzenzakalela // @author Adam Lui // @namespace https://github.com/adamlui -// @version 2024.9.8 +// @version 2024.9.10 // @license MIT // @icon https://cdn.jsdelivr.net/gh/adamlui/chatgpt-auto-talk@9f1ed3c/assets/images/icons/openai/black/icon48.png // @icon64 https://cdn.jsdelivr.net/gh/adamlui/chatgpt-auto-talk@9f1ed3c/assets/images/icons/openai/black/icon64.png @@ -256,6 +256,7 @@ const app = { name: 'ChatGPT Auto-Talk', symbol: '📣', configKeyPrefix: 'chatGPTautoTalk', urls: { + chatgptJS: 'https://chatgpt.js.org', relatedApps: 'https://github.com/adamlui/chatgpt-apps', gitHub: 'https://github.com/adamlui/chatgpt-auto-talk', greasyFork: 'https://greasyfork.org/en/scripts/500940-chatgpt-auto-talk' }, latestAssetCommitHash: '6c3eccf' // for cached messages.json + navicon @@ -442,19 +443,19 @@ aStyle = 'color: ' + ( chatgpt.isDarkMode() ? '#c67afb' : '#8325c4' ) // purple const aboutModalID = siteAlert( msgs.appName || app.name, // title - `🏷️ ${ msgs.about_version || 'Version' }: ` - + `${ GM_info.script.version }\n` - + `${ msgs.about_poweredBy || 'Powered by' }: ` - + `` + `🏷️ ${ msgs.about_version || 'Version' }: ` + + `${ GM_info.script.version }\n` + + `${ msgs.about_poweredBy || 'Powered by' }: ` + + `` + 'chatgpt.js' + ( chatgptJSver ? ( ' v' + chatgptJSver ) : '' ) + '\n' - + `📜 ${ msgs.about_sourceCode || 'Source code' }:\n` - + `` + + `📜 ${ msgs.about_sourceCode || 'Source code' }:\n` + + `` + app.urls.gitHub + '', [ // buttons function checkForUpdates() { updateCheck() }, function getSupport() { safeWindowOpen(app.urls.support) }, function leaveAReview() { safeWindowOpen(app.urls.greasyFork + '/feedback#post-discussion') }, - function moreChatGPTapps() { safeWindowOpen('https://github.com/adamlui/chatgpt-apps') } + function moreChatGPTapps() { safeWindowOpen(app.urls.relatedApps) } ], '', 478 // set width )