You specify the websites that you want to block on your iOS device, which are then synchronized across your iOS and macOS devices.
The rules are based on regular expressions, which allows for fine control over a blocked URL. For example you can block the landing page of YouTube and still watch individual videos.
To help you stick to your rules about:blank has an option that requires you to enter a random string to delete existing rules.
Furthermore you can block websites on the fly inside of Safari.