Skip to content

Commit b5df18d

Browse files
committed
1 parent 0569ac4 commit b5df18d

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

chatgpt/duckduckgpt/duckduckgpt.user.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
// @description:zu Yengeza izimpendulo ze-AI ku-DuckDuckGo (inikwa amandla yi-GPT-4o!)
149149
// @author KudoAI
150150
// @namespace https://kudoai.com
151-
// @version 2025.9.5.4
151+
// @version 2025.9.5.6
152152
// @license MIT
153153
// @icon https://assets.ddgpt.com/images/icons/app/icon48.png?v=533ce0f
154154
// @icon64 https://assets.ddgpt.com/images/icons/app/icon64.png?v=533ce0f
@@ -250,7 +250,7 @@
250250

251251
(async () => {
252252

253-
// Init ENV context
253+
// Init DATA
254254
window.env = {
255255
browser: { language: chatgpt.getUserLanguage() },
256256
scriptManager: {
@@ -268,8 +268,6 @@
268268
window.inputEvents = {} ; ['down', 'move', 'up'].forEach(action =>
269269
inputEvents[action] = ( window.PointerEvent ? 'pointer' : env.browser.isMobile ? 'touch' : 'mouse' ) + action)
270270
window.xhr = typeof GM != 'undefined' && GM.xmlHttpRequest || GM_xmlhttpRequest
271-
272-
// Init APP data
273271
window.app = {
274272
version: GM_info.script.version, chatgptjsVer: /chatgpt\.js@([\d.]+)/.exec(GM_info.scriptMetaStr)[1],
275273
commitHashes: {
@@ -324,8 +322,6 @@
324322
method: 'GET', onload: resp => resolve(JSON.parse(resp.responseText)),
325323
url: `${app.urls.aiwebAssets}/data/katex-delimiters.json`
326324
}))
327-
328-
// Init API data
329325
window.apis = Object.assign(Object.create(null), await new Promise(resolve => xhr({
330326
method: 'GET', onload: resp => resolve(JSON5.parse(resp.responseText)),
331327
url: `${app.urls.aiwebAssets}/data/ai-chat-apis.json5`

0 commit comments

Comments
 (0)