mirror of
https://github.com/hacks-guide/Guide_3DS.git
synced 2025-08-30 20:00:09 +02:00
fix wrong redirection for unsupported kor ssloth-browser
This commit is contained in:
@@ -28,15 +28,16 @@ function sslothable(s, n) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// CVer:NVer map for KOR region
|
// CVer:NVer map for KOR region
|
||||||
|
// KOR/CHN/TWN Old 3DS browser (spider) 1.7630 (v10240, shipped with 11.1~11.8) isn't supported by browserhax
|
||||||
// CHN/TWN isn't validated for now as those cannot exploit atm
|
// CHN/TWN isn't validated for now as those cannot exploit atm
|
||||||
function sslothablekor(s, n) {
|
function sslothablekor(s, n, o) {
|
||||||
if
|
if
|
||||||
(
|
(
|
||||||
(s == 4 && n == 33) ||
|
(!o && s == 4 && n == 33) ||
|
||||||
(s == 5 && n == 34) ||
|
(!o && s == 5 && n == 34) ||
|
||||||
(s == 6 && n == 35) ||
|
(!o && s == 6 && n == 35) ||
|
||||||
(s == 7 && n == 35) ||
|
(!o && s == 7 && n == 35) ||
|
||||||
(s == 8 && n == 35) ||
|
(!o && s == 8 && n == 35) ||
|
||||||
(s == 9 && n == 36) ||
|
(s == 9 && n == 36) ||
|
||||||
(s == 10 && n == 37) ||
|
(s == 10 && n == 37) ||
|
||||||
(s == 12 && n == 38) ||
|
(s == 12 && n == 38) ||
|
||||||
@@ -119,7 +120,7 @@ function redirect() {
|
|||||||
window.location.href = "installing-boot9strap-(soundhax)";
|
window.location.href = "installing-boot9strap-(soundhax)";
|
||||||
}
|
}
|
||||||
// check for versions that are not cartupdated, cartupdated consoles cannot access the browser, see troubleshooting for solution
|
// check for versions that are not cartupdated, cartupdated consoles cannot access the browser, see troubleshooting for solution
|
||||||
else if (sslothablekor(minor.value, nver.value)) {
|
else if (sslothablekor(minor.value, nver.value, isO3DS)) {
|
||||||
window.location.href = "installing-boot9strap-(ssloth-browser)";
|
window.location.href = "installing-boot9strap-(ssloth-browser)";
|
||||||
}
|
}
|
||||||
else if (minor.value < 15 && isO3DS) {
|
else if (minor.value < 15 && isO3DS) {
|
||||||
|
Reference in New Issue
Block a user