File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 199
199
// @description :zh-TW 從無所不知的 ChatGPT 生成無窮無盡的答案 (用任何語言!)
200
200
// @author Adam Lui
201
201
// @namespace https://github.com/adamlui
202
- // @version 2025.3.22.2
202
+ // @version 2025.3.23
203
203
// @license MIT
204
204
// @icon https://cdn.jsdelivr.net/gh/adamlui/chatgpt-infinity@8df6f33/assets/images/icons/infinity-symbol/circled/with-robot/icon48.png
205
205
// @icon 64 https://cdn.jsdelivr.net/gh/adamlui/chatgpt-infinity@8df6f33/assets/images/icons/infinity-symbol/circled/with-robot/icon64.png
362
362
} catch ( err ) { // if bad response
363
363
msgXHRtries ++ ; if ( msgXHRtries == 3 ) return resolve ( { } ) // try original/region-stripped/EN only
364
364
msgHref = env . browser . language . includes ( '-' ) && msgXHRtries == 1 ? // if regional lang on 1st try...
365
- msgHref . replace ( / ( [ ^ _ ] + _ [ ^ _ ] + ) _ [ ^ / ] * ( \/ . * ) / , '$1$2' ) // ...strip region before retrying
365
+ msgHref . replace ( / ( _ l o c a l e s \/ [ ^ _ ] + ) _ [ ^ _ ] + ( \/ ) / , '$1$2' ) // ...strip region before retrying
366
366
: ( msgHostDir + 'en/messages.json' ) // else use default English messages
367
367
fetchMsgs ( )
368
368
}
You can’t perform that action at this time.
0 commit comments