How to Block Annoying Ads When Connecting to Wi-Fi by Adopting an 10 minutes?

How to Block Annoying Ads When Connecting to Wi-Fi by Adopting an 10 minutes? Stable, unlimited internet access gradually turned into a necessity rather than