WIP BrowseNX - Web Browser launcher (Source)

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by crc32, Jan 21, 2019.

  1. crc32
    OP

    crc32 Member

    Newcomer
    2
    Jan 21, 2019
    United Kingdom
    A basic browser launcher which simply opens up the fully enabled web browser. Mash L as it opens to enter a URL, otherwise you'll be greeted with the 4TU Dashboard.
    Options at startup
    • Auto - Don't press anything, will send you to 4TU dash or your default url
    • Manual - Mash L to open a screen where you can enter a url to browse to manually
    • Set Default - Mash R to open a screen where you can enter a url as the new defaut url to browse to on startup
    • Reset Default - Mash X to clear whatever has been set as a default URL and set it back to the 4TU dash
    If you have issues with security certificates, use this tool: https://github.com/thedax/NX-ntpc/releases (Thanks to @DigitalDNA for finding)
    If you're being forced to update when opening the app, use a tool like GagOrder to disable the supernag on your console, this isn't the fault of the app it's just something currently unavoidable for any browser launching app.

    The releases on Github now come pre-packaged with switch-sys-tweak which hides the supernag on supported CFWs


    Disclaimer:
    This is NSP only due to browser launching only working via a special NCA containing the whitelist. NSPs are extremely likely to get you banned at some point!

    See below for releases and sauce...

    Release Page - https://github.com/crc-32/BrowseNX/releases

    Release 0.3.1
    NOTE: The title ID of switch-sys-tweaks (supernag patcher) has changed, before manually installing this release, please remove the folder (sdcard)/atmosphere/titles/01FF415446660000 to ensure future compatibility and avoid unnecessary crashes. Appstore release should do this automatically.
    • Since the detection for supernag seems to override the sysmodule, now checking if the sysmodule is running and if it is, ignoring the supernag state (this fixes the issue where despite the supernag being patched, BrowseNX would still complain)

    Release 0.3.0
    This was going to be 1.0.0 but it didn't feel right without fully fixing NRO support
    • Added initial NRO support
      • 'Initial' because it only works when hbloader is overriding a game or app, not gallery
      • Doesn't support html5 video playback
    • Added supernag contingency
      • App will now show an error telling you that the supernag is active and suggest how to remove it, stops accidental fw update via Nintendo error message and confusion
    • Added supernag fix
      • Each release will now come with a sysmodule pre-packaged which hides the supernag while CFW is active, atmosphere/fs_mitm CFW's only

    Release 0.2.0
    • Fixed icon for all CFWs
    • Added a 'Default URL' option which can be set to change the automatically launched URL, stored at sdmc:/defUrl.txt (if there's no file it still goes to Fortheusers dash)
    • Improved error catching so a fatal error doesn't require you to reboot nearly as often, using the error applet you can get specific errors as well as often useful error codes, helps contributors for debugging
    • URL entry now checks for common issues with the URL before opening browser (which would fatally crash)

    Release 0.1.1
    • Added an icon to the NSP! Although bear in mind it took its sweet time changing over in the home menu for me.


    This project is affiliated with 4TU/Switchbru
     
    Last edited by crc32, Feb 14, 2019 at 1:53 PM
    Quwel, scionae, MattKimura and 14 others like this.
  2. Ep8Script

    Ep8Script GBAtemp Fan

    Member
    4
    Aug 5, 2017
    Australia
  3. linuxares

    linuxares I'm not a generous god!

    Moderator
    14
    Aug 5, 2007
    Sweden
    Curious, what is this 4TU dashboard? :)
     
    Xandrid likes this.
  4. crc32
    OP

    crc32 Member

    Newcomer
    2
    Jan 21, 2019
    United Kingdom
    Used for the Switchbru dns, basically a web based pseudo switch UI to enter urls and save favourites among other handy stuff
     
    linuxares likes this.
  5. lordelan

    lordelan GBAtemp Psycho!

    Member
    10
    Jan 4, 2015
    Germany
    Please remove the COLOR tags around your black sentences. They are not readable for users (like me) using gbatemp's dark theme.
     
  6. Ep8Script

    Ep8Script GBAtemp Fan

    Member
    4
    Aug 5, 2017
    Australia
    @crc32 already explained a little, but the 4TU (shorthand for ForTheUsers, you can find our website here: https://fortheusers.org/) Dashboard is the name for the page that is used for the SwitchBru DNS (more info: https://switchbru.com/dns/) and would be really beneficial for other pages to use on the Switch.
    It's an easy starting point for web browsing without having normal browser navigation (e.g. URL/search bar, bookmarks) and allows people to easily navigate to any webpage or search Google, with the ability to save favorite pages too!
    It also lets you add friends and send messages to people directly on the Switch, and in the next month or two will allow you to play a new type of browser game.
    Hope that explanation made it a little more clear!
    You might've heard of the SwitchBru DNS before anyway, but for future purposes on all other applications, it'll be referred to as the ForTheUsers Dashboard. :)
     
  7. linuxares

    linuxares I'm not a generous god!

    Moderator
    14
    Aug 5, 2007
    Sweden
    Oh my, sounds like a good "start page" then :)
     
    Xandrid, Ep8Script and crc32 like this.
  8. swabbo
    This message by swabbo has been removed from public view by linuxares, Jan 22, 2019, Reason: Not an imageboard + fixed now.
    Jan 21, 2019
  9. crc32
    OP

    crc32 Member

    Newcomer
    2
    Jan 21, 2019
    United Kingdom
    Sorry about that, I can't at the moment as I can't edit the post due to the limitations of being a newcomer. (No links)
     
  10. linuxares

    linuxares I'm not a generous god!

    Moderator
    14
    Aug 5, 2007
    Sweden
    @crc32 what do you need fixed? I added the URL earlier to your post, since It was legit and I feel you aren't here for malicious intendents.
     
  11. Zumoly

    Zumoly GBATemp Analyst

    Member
    6
    Apr 27, 2018
    Mali
    Yorosso
    Cool! Now I have a reason to connect my Switch to the internet.
     
  12. lordelan

    lordelan GBAtemp Psycho!

    Member
    10
    Jan 4, 2015
    Germany
    Especially since you have a user account and messaging system (you still have it, don't you?) you should make that page available for PC users as well.
    Or is it already? If yes, please tell me the url.
    Would be cool to log in from PC and add a few fav pages to my profile rather than doing that on the Switch. :)
    Also it would be cool if I could write with people there although I'm at work (aka not at my Switch).
    Thinking of it: You should think about putting your messaging stuff into a native app (maybe even a service with overlay notifications if someone's writing while you're playing a game?) because there's no such a thing there, especially for banned users and I don't see apps like Telegram or LINE are getting any official NX ports at any point. :)

    We're talking about the color=black (?) tags around black lines in the first post. They are invisible for dark theme users.
    If the tags are removed, it's automatically black on the default (white) theme and white on the dark theme (which for example I am using).
     
    Ep8Script likes this.
  13. linuxares

    linuxares I'm not a generous god!

    Moderator
    14
    Aug 5, 2007
    Sweden
    There we go, did it help?
     
  14. Ep8Script

    Ep8Script GBAtemp Fan

    Member
    4
    Aug 5, 2017
    Australia
    Next time you use the DNS, press +/- (for "Information") and view the URL - we don't tend to share it publically since it's not styled too well across all PCs, but it is doable! And you're right, an app like that would be pretty cool although I'm not sure who would do it.
     
    lordelan likes this.
  15. TamarindoJuice

    TamarindoJuice GBAtemp Regular

    Member
    4
    Jan 30, 2016
    Brazil
    Awesome!
    I know it's pretty WIP but please, put a cool icon on it!
     
    Last edited by TamarindoJuice, Jan 21, 2019
  16. lordelan

    lordelan GBAtemp Psycho!

    Member
    10
    Jan 4, 2015
    Germany
    It did. ;)
    Thx for the hint. :)
     
  17. crc32
    OP

    crc32 Member

    Newcomer
    2
    Jan 21, 2019
    United Kingdom
    Cool icon coming SoonTM
     
  18. cucholix

    cucholix Banners guy

    Member
    7
    Jan 17, 2017
    Chile
    Could you create a .nro version? It's possible?
     
  19. Draxzelex

    Draxzelex GBAtemp Guru

    Member
    17
    Aug 6, 2017
    United States
    New York City
    Read the disclaimer in the OP.
     
    crc32 and cucholix like this.
  20. crc32
    OP

    crc32 Member

    Newcomer
    2
    Jan 21, 2019
    United Kingdom
    Kind of, there might be some chance of full browser launching once it's been reverse engineered more (don't get your hopes up though), but other than that the only thing planned for NRO is to launch the normal wifi captive portal used by, for example, the SwitchBru DNS. It's as @Draxzelex says.
     
    cucholix likes this.
  21. Admiral-Purple

    Admiral-Purple Member

    Newcomer
    3
    May 25, 2018
    United States
    So what’s the difference between this and the captive portal? I haven’t tried this yet but it seems to be just another way to launch the portal.
     
Loading...