Skip to content

Commit 5d8a533

Browse files
committed
1 parent 34dea60 commit 5d8a533

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

chatgpt/bravegpt/bravegpt.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-Brave Search (inikwa amandla yi-GPT-4o!)
149149
// @author KudoAI
150150
// @namespace https://kudoai.com
151-
// @version 2025.9.5.5
151+
// @version 2025.9.5.6
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
@@ -249,7 +249,7 @@
249249

250250
(async () => {
251251

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

0 commit comments

Comments
 (0)