How can I show the splash page and give the whole internet access to the client for the first 2 min?
I'm making a Captive portal Splash Page where Customers can place their Google ad-sense code in the Splash Screen that pops up when they connect to the WiFi. I'm able to show the Google Ads on the Splash Screen but the problem is, we don't know what the URL of the Google Adsense link is going to be. And, cause of this, we can't add that Ad's URL to the Walled Garden. So to tackle this issue, we want to give the Client the whole internet access for the first 2 minutes when the Client enters the Splash Page.
I tried to call the Grant URL in an Ajax Request. But due to CORS Policy, I wasn't able to do that.
Is there a workaround to solve this issue? Has anyone done this before?