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-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// @icon 64 https://assets.ddgpt.com/images/icons/app/icon64.png?v=533ce0f
250250
251251( async ( ) => {
252252
253- // Init ENV context
253+ // Init DATA
254254 window . env = {
255255 browser : { language : chatgpt . getUserLanguage ( ) } ,
256256 scriptManager : {
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 : / c h a t g p t \. j s @ ( [ \d . ] + ) / . exec ( GM_info . scriptMetaStr ) [ 1 ] ,
275273 commitHashes : {
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`
You can’t perform that action at this time.
0 commit comments