No network then redirect page

Hello friends please what is the app inventor code to display no network when there is no network on the phone and redirect the url page to home page this will privent the user from viewing the URL link to site?
Example ( Webpage not available
The webpage at https://reaxxl.com/ could not be loaded because:

net::ERR_NAME_NOT_RESOLVED)

Try this IsWiFiConnection block from this extension: