File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
chatgpt/chatgpt-auto-refresh Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 220
220
// @description :zu *NGOKUPHEPHA* susa ukusetha kabusha ingxoxo yemizuzu eyi-10 + amaphutha enethiwekhi ahlala njalo + Ukuhlolwa kwe-Cloudflare ku-ChatGPT.
221
221
// @author Adam Lui
222
222
// @namespace https://github.com/adamlui
223
- // @version 2025.3.22.3
223
+ // @version 2025.3.23
224
224
// @license MIT
225
225
// @icon https://cdn.jsdelivr.net/gh/adamlui/chatgpt-auto-refresh@f11a0a8/assets/images/icons/openai/black/icon48.png
226
226
// @icon 64 https://cdn.jsdelivr.net/gh/adamlui/chatgpt-auto-refresh@f11a0a8/assets/images/icons/openai/black/icon64.png
373
373
} catch ( err ) { // if bad response
374
374
msgXHRtries ++ ; if ( msgXHRtries == 3 ) return resolve ( { } ) // try original/region-stripped/EN only
375
375
msgHref = env . browser . language . includes ( '-' ) && msgXHRtries == 1 ? // if regional lang on 1st try...
376
- msgHref . replace ( / ( [ ^ _ ] + _ [ ^ _ ] + ) _ [ ^ / ] * ( \/ . * ) / , '$1$2' ) // ...strip region before retrying
376
+ msgHref . replace ( / ( _ l o c a l e s \/ [ ^ _ ] + ) _ [ ^ _ ] + ( \/ ) / , '$1$2' ) // ...strip region before retrying
377
377
: ( msgHostDir + 'en/messages.json' ) // else use default English messages
378
378
fetchMsgs ( )
379
379
}
You can’t perform that action at this time.
0 commit comments