switch-browser icon indicating copy to clipboard operation
switch-browser copied to clipboard

5.0.0 support?

Open Ep8Script opened this issue 7 years ago • 5 comments

It seems that window.nx is no longer supported as of 5.0.0. Can you confirm this? I can't get anything to work in either the ShareApplet, LoginApplet or the WifiWebAuthApplet. Just looking to make sure it's not just me. Thanks!

Ep8Script avatar Mar 22 '18 05:03 Ep8Script

I just had a look in the whole "window" function/variable list, seems it has been removed from everywhere but the eshop... :(

Ep8Script avatar Mar 22 '18 06:03 Ep8Script

Aw man :(

I'll have to take a look, because while it wouldn't surprise me that Nintendo would remove access to the nx API, I feel like I remember it being used as part of the interface for the WifiWebAuthApplet as well as the applet used to link social media accounts (possibly LoginApplet?)

If that's the case, it might be specially set up to only allow access to those interfaces on specific domains. I can't really check if that's the case right now, however, as my Switch isn't homebrewed yet.

sudofox avatar Mar 22 '18 17:03 sudofox

@sudofox is your switch on 5.0.0? The DNS trick should still work, might be worth at least confirming that it is indeed gone. I'm trying to keep my Switch on 4.1.0 so I can't really confirm myself.

Also @Ep8Script how are you checking if the API is present in eshop?

jaames avatar Mar 22 '18 17:03 jaames

@jaames I'm not sure -- I will look into setting aside some time soon to check up on it and update you when I have further information to provide regarding system version and availability of the nx object and its associated native functions.

sudofox avatar Mar 22 '18 17:03 sudofox

The DNS trick still works, that's how I managed to have a look at it on the WifiWebAuthApplet, on a JavaScript console runner thing. I dumped the whole window object and nx wasn't there.

Of course it's basically impossible to tell if it's still in the LoginApplet, but I read through some of the JavaScript files on the eShop and it seems at least 1 still references nx functions, so guessing it's still available there.

Edit: Oh my bad. I'm checking if it's still on the eShop by accessing it from PC and then searching through the files in the dev console if window.nx is present. The URL is here: https://bugyo.hac.lp1.eshop.nintendo.net/ashigaru/ This thread should help you with working out how to do it. :)

Ep8Script avatar Mar 22 '18 20:03 Ep8Script