My need was to open the site in a dedicated browser to keep it separate from the default browser, so I put together some code I had available from other projects to create this app. I have shared it in case it might be useful to others, although for most people using the default browser to view the site is the best choice.
Thanks. I'm technologically dumb and have been working with a site link I made a button on my homescreen somehow - except I keep forgetting to close all the tabs cause it just opens a new one in my mobile browser everytime.
I had 0 chance of getting op's thingy to work on my own but what you suggested worked.