This should work the other way: a website must send a header that the content in the response is safe for those under 18. If there is no header, the browser doesn't display the page. It is easy to implement and there is no need to change existing websites for this.