Fix .com to .ru "gatewayAdapt=glo2rus" aliexpress redirect for Ukraine.

After visiting aliexpress.ru it can mess up the locale settings on aliexpress.com - "com" will redirect to "ru" ("gatewayAdapt=glo2rus") and reset the location/language/currency settings. This script pins locale settings cookie, sets currency to USD, language to EN, country to UA, and redirects "ru" to "com". Please clear cookies on all "aliexpress" domains before using this userscript.

Δημιουργός
Parampampam12
Ημερήσιες εγκαταστάσεις
1
Σύνολο εγκαταστάσεων
671
Βαθμολογίες
3 1 0
Έκδοση
0.1
Δημιουργήθηκε την
05/07/2022
Ενημερώθηκε την
05/07/2022
Άδεια
MIT
Εφαρμόζεται σε

After visiting aliexpress.ru it can mess up the locale settings on aliexpress.com - "com" will start redirecting to "ru" ("gatewayAdapt=glo2rus") and reset the location/language/currency settings.

This script pins locale settings cookie, sets currency to USD, language to EN, country to UA, and redirects "ru" to "com".

Please clear cookies on all "aliexpress" domains before using this userscript.

This uBlock rule may also help to prevent ru->com redirect (not sure): *://is.alicdn.com/js/6v/biz/common/store-proxy/store-proxy2.html.