{
  "id": 20608034,
  "title": "Taking the last two labels of a hostname as the site made every .co.jp domain the same party. A $third-party rule needs the Public Suffix List",
  "url": "https://urgent.news/2026/11/18/taking-the-last-two-labels-of-a-hostname-as-the-site-made-every-co-jp",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-18T14:43:23.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/takahiro_hashito_a1f3f0dc/taking-the-last-two-labels-of-a-hostname-as-the-site-made-every-cojp-domain-the-same-party-a-5e2a"
  },
  "original_language": "en",
  "account": "The tool in question simplifies the process of determining if a website element is third-party by taking the last two labels of a hostname as the site. However, this method is flawed, as it fails to accurately distinguish between different entities on certain domains, particularly those ending in .co.jp. This oversight can lead to incorrect assessments of what is considered first or third-party content. To rectify this issue, the correct approach involves identifying the longest public suffix plus an additional label from the Public Suffix List, which accurately determines the site's boundary. This method ensures that different companies and projects, such as tracker.co.jp and example.co.jp, are correctly identified as distinct entities, and GitHub Pages projects owned by different individuals are not mistakenly grouped together.",
  "summary": "Background I run a small browser tool that checks ad-blocker filter rules (the Adblock Plus / uBlock Origin style syntax) and tells you whether a rule would match a given URL. https://hashitosystem.com/en/tools/filterlint/ You paste rules, enter a request URL and the page it loads on, and the tool shows which rules hit. The matcher is labelled \"simplified\" in the source, and I knew it cut…",
  "key_points": [
    "Tool simplifies third-party determination using last two hostname labels",
    ".co.jp domains issue arises from flawed method",
    "Public Suffix List provides accurate site boundary identification"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}