Apologies if this question has been asked before (I have been searching for this topic since yesterday).
I have a custom splash page in our set up which collects optional client contact info - then redirects to the grant URL which allows internet access - and then redirects back to a specific page.
On public captive portals I've tried out in the wild - this splash page (pop-up window) normally then closes - and this is what I want to do on ours but I've no idea how. I've seen a suggestion of using a simple window.close(). This works fine if I visit the page to test in isolation - but it's not working as part of this process (tested on iOS + Android).
I do think I'm missing something here. Has anyone got any pointer here?
Thanks.