File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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// @icon 64 https://assets.bravegpt.com/images/icons/app/icon64.png?v=e8ca7c2
249249
250250( async ( ) => {
251251
252- // Init ENV context
252+ // Init DATA
253253 window . env = {
254254 browser : { language : chatgpt . getUserLanguage ( ) } ,
255255 scriptManager : {
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 : / c h a t g p t \. j s @ ( [ \d . ] + ) / . exec ( GM_info . scriptMetaStr ) [ 1 ] ,
274272 commitHashes : {
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`
You can’t perform that action at this time.
0 commit comments