File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33// @description Add AI chat & product/category summaries to Amazon shopping, powered by the latest LLMs like GPT-4o!
44// @author KudoAI
55// @namespace https://kudoai.com
6- // @version 2025.9.5.5
6+ // @version 2025.9.5.6
77// @license MIT
88// @icon https://amazongpt.kudoai.com/assets/images/icons/app/black-gold-teal/icon48.png?v=8e8ed1c
99// @icon 64 https://amazongpt.kudoai.com/assets/images/icons/app/black-gold-teal/icon64.png?v=8e8ed1c
128128
129129( async ( ) => {
130130
131- // Init ENV context
131+ // Init DATA
132132 window . env = {
133133 browser : { language : chatgpt . getUserLanguage ( ) } ,
134134 scriptManager : {
145145 window . inputEvents = { } ; [ 'down' , 'move' , 'up' ] . forEach ( action =>
146146 inputEvents [ action ] = ( window . PointerEvent ? 'pointer' : env . browser . isMobile ? 'touch' : 'mouse' ) + action )
147147 window . xhr = typeof GM != 'undefined' && GM . xmlHttpRequest || GM_xmlhttpRequest
148-
149- // Init APP data
150148 window . app = {
151149 version : GM_info . script . version , chatgptjsVer : / c h a t g p t \. j s @ ( [ \d . ] + ) / . exec ( GM_info . scriptMetaStr ) [ 1 ] ,
152150 commitHashes : {
201199 method : 'GET' , onload : resp => resolve ( JSON . parse ( resp . responseText ) ) ,
202200 url : `${ app . urls . aiwebAssets } /data/katex-delimiters.json`
203201 } ) )
204-
205- // Init API data
206202 window . apis = Object . assign ( Object . create ( null ) , await new Promise ( resolve => xhr ( {
207203 method : 'GET' , onload : resp => resolve ( JSON5 . parse ( resp . responseText ) ) ,
208204 url : `${ app . urls . aiwebAssets } /data/ai-chat-apis.json5`
You can’t perform that action at this time.
0 commit comments