Browser Timeout: "This Screen will be closed."
-
thanks
-
@VGMoose So I think I'm onto something.
I was doing this: https://www.reddit.com/r/SwitchHacks/comments/1dggbrl/news_applet_as_a_plex_client_on_hos/And on one of my steps to develop it further, I patched a couple binaries to change the domains from *nintendo.net to a custom domain with a custom port.
Before I did that, I just had a dns rewrite with a catch-all server for *nintendo.com and *nintendo.net, with "valid" ssl certificates (real certs but self-signed, but since the switch on the post is hacked the CA verification is bypassed).
When I had this config, the browser never closed, I was actually able to stream full length movies (2~3 hrs).
After I patched the domains on the binaries, I pointed back all *nintendo.com & net to 127.0.0.1, and I was able to listen to the requests on my custom domain:port, and everything worked fine, EXCEPT this time the browser closed after a certain period of time (but I think it was less than the 20 mins mentioned here, but could be due to the news applet using a different browser)
TLDR; I think what makes the browser close, is actually based on requests to a *nintendo.net, and since I think browserdns blocks some (or all) of those, it always fail to connect to the server it is trying to, and eventually closes the browser.
I will run more tests since I do want to have the custom domains working.
PD: I think the browser on the news applet is different from the web auth, but since it had the same self-closing behaviour I thought it was worth mentioning it.
PD2: The videos are played by using hls streams (m3u8), forcing video to h264 and audio to aac, and bitrate to max 3000. It only works with that config for me, everything else results on an error. Again, don't know if the web auth browser has the same capabilities, but worth trying it.
-
pusheen insanity good dude soy seco k puerto rican YouTube group And website room Alastor Supremacy🛐 Russian Puerto Rico red crown holder Mexican womp womp Joseph's Baby Goats Art group! Deleted chat-perms Spotify ig Has a Youtube Channel join if your gang perfect GACHA LIFE BDNS ISSUES RESTORE la Zxx boobs l dca skibidi known <3 Ligma balls Youtube Is awesome alphabetical X corp. statem 1,000 members? Kicked Insane Clown Posse fans, Juggalos come fourth IMA BURN IN HELL, but<3 Banned simps Hazbin Hotel Fans bbc worshipper We <3 Gir sky children of the light fucking broke chat filter Survived a near death experience (yay) Minecraft Pros Nintendo Switch Users warrior cats vocaloid BDNS DATABASE ∀ Chainsaw Man ∀ Ukraine supporter PKM FAN neurodivergent people Coders soqrotis synonym for friends that start with s group i ♥ weezer A Silly one manga fan Silliest Goobers God of War fans Demon slayer Fan Tofu's Lovers The Dollars urdu and hindi speakers country and rock fans Fans of Star Wars smash or pass gang Animal Crossing Gang Certified homoerectus Stardust Crusaders certified crackhead Heavymetal fans!?!? Dark Humor Club Epic Gamers 55 switch players clowns Gang Fml Steam Fans One Piece Fans Banned
is insane
-
pusheen insanity good dude soy seco k puerto rican YouTube group And website room Alastor Supremacy🛐 Russian Puerto Rico red crown holder Mexican womp womp Joseph's Baby Goats Art group! Deleted chat-perms Spotify ig Has a Youtube Channel join if your gang perfect GACHA LIFE BDNS ISSUES RESTORE la Zxx boobs l dca skibidi known <3 Ligma balls Youtube Is awesome alphabetical X corp. statem 1,000 members? Kicked Insane Clown Posse fans, Juggalos come fourth IMA BURN IN HELL, but<3 Banned simps Hazbin Hotel Fans bbc worshipper We <3 Gir sky children of the light fucking broke chat filter Survived a near death experience (yay) Minecraft Pros Nintendo Switch Users warrior cats vocaloid BDNS DATABASE ∀ Chainsaw Man ∀ Ukraine supporter PKM FAN neurodivergent people Coders soqrotis synonym for friends that start with s group i ♥ weezer A Silly one manga fan Silliest Goobers God of War fans Demon slayer Fan Tofu's Lovers The Dollars urdu and hindi speakers country and rock fans Fans of Star Wars smash or pass gang Animal Crossing Gang Certified homoerectus Stardust Crusaders certified crackhead Heavymetal fans!?!? Dark Humor Club Epic Gamers 55 switch players clowns Gang Fml Steam Fans One Piece Fans Banned
why reddit haves to reload reload and reload
-
any new info on how to bypass it yet without third party ways? i just want to know if there is a way to bypass without needng anything just my switch lite
-
@Chimech0 This is really interesting, thanks for sharing! Funny how well the News applet fits Plex's layout. Also useful info about which formats of video are supported.
For Videos:
For playing videos, the social applet via Google drive works alright: https://browsedns.net/topic/1905/tutorial-watching-videos-on-google-drive if not really tedious. There's no time limit on the social applet, though.The social applet has a whitelist of which domains are allowed, and they all require HTTPS and Google Sites is specifically excluded. If it were possible though to serve HTML from one of these domains, an iframe would very likely allow sites outside of the whitelist to render.
For the timeout
I have tried messing with the overridden domains (just the ctest url though), and pointing them to various hosts / slowing them down, or blocking some but not all, and it seems to always dismiss after 20 minutes of screen on time.Those logs are here: https://browsedns.net/post/3358
I also think that it has to do with the nintendo URL not being able to be hit, but the issue might be, as soon as it is hit, the applet dismisses itself and displays "successful connection". If it has to do with an HTTPS url though, we're even more out of luck without modding.
Still, it's worth trying changing an https URL to point to an invalid https cert and seeing what happens. Or on my modded switch I could try the some CA verification bypass. Probably that'w with these exefs_patches ?
-
Also, if you extract the whitelist for the Social applet, it's a file called
listLnsGlobal.txt
with this content (as of 1/06/22, when I did this):^https://([0-9A-Za-z\-]+\.)*nintendo\.net(/|$) ^https://([0-9A-Za-z\-]+\.)*nintendo\.(co\.jp|com|eu|co\.uk|es|pt|ch|at|de|nl|be|ru|fr|it|co\.za|co\.kr|tw|com\.hk|com\.au|ca|co\.nz)(/|$) ^https://([0-9A-Za-z\-]+\.)*nintendo-europe\.com(/|$) ^https://([0-9A-Za-z\-]+\.)*nintendoservicecentre\.co\.uk(/|$) ^https://([0-9A-Za-z\-]+\.)*nintendoswitch\.cn(/|$) ^https://([0-9A-Za-z\-]+\.)*nintendoswitch\.com\.cn(/|$) ^https://([0-9A-Za-z\-]+\.)*google\.(com|ad|ae|com\.af|com\.ag|com\.ai|al|am|co\.ao|com\.ar|as|at|com\.au|az|ba|com\.bd|be|bf|bg|com\.bh|bi|bj|com\.bn|com\.bo|com\.br|bs|bt|co\.bw|by|com\.bz|ca|cd|cf|cg|ch|ci|co\.ck|cl|cm|cn|com\.co|co\.cr|com\.cu|cv|com\.cy|cz|de|dj|dk|dm|com\.do|dz|com\.ec|ee|com\.eg|es|com\.et|fi|com\.fj|fm|fr|ga|ge|gg|com\.gh|com\.gi|gl|gm|gp|gr|com\.gt|gy|com\.hk|hn|hr|ht|hu|co\.id|ie|co\.il|im|co\.in|iq|is|it|je|com\.jm|jo|co\.jp|co\.ke|com\.kh|ki|kg|co\.kr|com\.kw|kz|la|com\.lb|li|lk|co\.ls|lt|lu|lv|com\.ly|co\.ma|md|me|mg|mk|ml|com\.mm|mn|ms|com\.mt|mu|mv|mw|com\.mx|com\.my|co\.mz|com\.na|com\.nf|com\.ng|com\.ni|ne|nl|no|com\.np|nr|nu|co\.nz|com\.om|com\.pa|com\.pe|com\.pg|com\.ph|com\.pk|pl|pn|com\.pr|ps|pt|com\.py|com\.qa|ro|ru|rw|com\.sa|com\.sb|sc|se|com\.sg|sh|si|sk|com\.sl|sn|so|sm|sr|st|com\.sv|td|tg|co\.th|com\.tj|tk|tl|tm|tn|to|com\.tr|tt|com\.tw|co\.tz|com\.ua|co\.ug|co\.uk|com\.uy|co\.uz|com\.vc|co\.ve|vg|co\.vi|com\.vn|vu|ws|rs|co\.za|co\.zm|co\.zw|cat)(/|$) ^https://(about|safety)\.google(/|$) ---- ^https?://([0-9A-Za-z\-]+\.)*google(\.[A-Za-z]+)*/(search\?|translate\?|amp/) ---- ^https?://([0-9A-Za-z\-]+\.)*(sites|mail|news)\.google(\.[A-Za-z]+)*/ ^https://([0-9A-Za-z\-]+\.)*facebook\.com(/|$) ^https://([0-9A-Za-z\-]+\.)*twitter\.com(/|$)
Lines that start with
----
are overridden to be specifically not allowed, even if they match an earlier rule. Prior to this, you could serve iframes from asites.google.com
domain, and watch YT or other videos like that.These values (again for the ShareApplet) can be overridden via AMS by putting a file at:
sd:/atmosphere/contents/010000000000080D/romfs/listLnsGlobal.txt
-
poyo Knights Of Tolkien Tier Two Mod Starter Mod Raven Empire Luna Certified Gouki's group of groupfullness indie game fanreplied to VGMoose last edited by
@VGMoose might there be a way to simulate the standby mode of the switch? the timeout only happens if the switch isn't in standby mode, so making the site think the switch is in standby while it's not might work?
-
I would love to further understand the conditions around the timeout via reverse engineering, but my skillset isn't really there yet.
My guess is, standby pausing the timeout is a side effect of the actual foreground app pausing. (So, the loop where it performs the check is not running, as well as no code on the page running either).
-
For more information on how to watch videos please read https://browsedns.net/topic/1905/tutorial.
Since you're on the switch we do have weblinks, to visit the weblinks page click here. You sould be able to bookmark sites you like to use on the SwitchBru Dashboard. I will provide you more information on that once i am able to.
If you send me a link of a website you would like to use, i will edit your profile and enter it there if you would like me to. In order to visit your profile just click on your profile picture and tap 'Visit Profile'. You may also click here to visit your profile if you do not understand the first method.
Anymore questions?
-
@stamp specifically, using YouTube to access DNS just means setting the DNS up in settings first, then opening the YouTube app from the eShop which opens the browser. This will also automatically re-launch the browser when the timeout occurs.
And then bookmarks can be managed like Raven mentioned, or on the https://dns.switchbru.com landing page under "Useful Links"
-
so annoying. i have 15 mins before it kicks me out, even with pressing x and i dont get a cancel button lol. if theres any way to more easily access my socials or websites, id love to know.