Skip to content

Commit 00bea62

Browse files
committed
Corrected msgHostDir (fixes chatgpt-widescreen#147) ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/chatgpt-infinity]
1 parent fefd1bb commit 00bea62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chatgpt/chatgpt-infinity/chatgpt-infinity.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199
// @description:zh-TW 從無所不知的 ChatGPT 生成無窮無盡的答案 (用任何語言!)
200200
// @author Adam Lui
201201
// @namespace https://github.com/adamlui
202-
// @version 2025.5.18.1
202+
// @version 2025.5.19
203203
// @license MIT
204204
// @icon https://assets.chatgptinfinity.com/images/icons/infinity-symbol/circled/with-robot/icon48.png?v=8df6f33
205205
// @icon64 https://assets.chatgptinfinity.com/images/icons/infinity-symbol/circled/with-robot/icon64.png?v=8df6f33
@@ -287,7 +287,7 @@
287287
onload: resp => resolve(JSON.parse(resp.responseText))
288288
})),
289289
msgs: await new Promise(resolve => {
290-
const msgHostDir = app.urls.resourceHost + '/greasemonkey/_locales/',
290+
const msgHostDir = app.urls.resourceHost + '/chromium/extension/_locales/',
291291
msgLocaleDir = ( env.browser.language ? env.browser.language.replace('-', '_') : 'en' ) + '/'
292292
let msgHref = msgHostDir + msgLocaleDir + 'messages.json', msgXHRtries = 0
293293
function fetchMsgs() { xhr({ method: 'GET', url: msgHref, onload: handleMsgs })}

0 commit comments

Comments
 (0)