This website contains age-restricted materials including nudity and explicit depictions of sexual activity.
By entering, you affirm that you are at least 18 years of age or the age of majority in the jurisdiction you are accessing the website from and you consent to viewing sexually explicit content.
It’s usually even easier than that… In my jurisdiction, ads have to be clearly labeled and identified. It should be relatively trivial to detect this label.