Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A more sensible approach to this law would be to require adult sites to include a clear marker in either an HTTP header or an HTML meta tag. For example:

<meta name="OnlineSafetyAct:SiteClassification" content="adult;nudity">

This would allow locally run browser content blockers to automatically detect such sites without blocking them individually, and it would be trivial for site operators to implement. Since it would be mandated by law, sites that refuse to comply could be subject to legal action.

Of course, this would still rely on parents taking the basic step of setting up a content blocker before allowing their children unrestricted internet access.



You can do something like this currently with schema.org metadata:

    {
      "@context": "https://schema.org",
      "@type": "WebPage",
      "contentRating": "18+",
      "isFamilyFriendly": false,
      "audience": {
        "@type": "PeopleAudience",
        "suggestedMinAge": 18,
        "requiredMinAge": 18
      },
    }
- https://schema.org/WebPage

- https://schema.org/PeopleAudience

- https://schema.org/AdultOrientedEnumeration




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: