Skip to content

Commit 34dea60

Browse files
committed
1 parent 976800f commit 34dea60

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

chatgpt/amazongpt/amazongpt.user.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
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
// @icon64 https://amazongpt.kudoai.com/assets/images/icons/app/black-gold-teal/icon64.png?v=8e8ed1c
@@ -128,7 +128,7 @@
128128

129129
(async () => {
130130

131-
// Init ENV context
131+
// Init DATA
132132
window.env = {
133133
browser: { language: chatgpt.getUserLanguage() },
134134
scriptManager: {
@@ -145,8 +145,6 @@
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: /chatgpt\.js@([\d.]+)/.exec(GM_info.scriptMetaStr)[1],
152150
commitHashes: {
@@ -201,8 +199,6 @@
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`

0 commit comments

Comments
 (0)