Paste HTML to check body links
Paste page HTML below. The tool counts links inside body paragraphs (20+ visible characters, at most five anchors) and classifies targets into product, solution, service, contact, other internal and external. No network, no upload, no dependencies.
Not checked yet.
Definitions
| Item | Rule | Boundary |
|---|---|---|
| Body paragraph | p with 20+ visible characters and ≤5 anchors | Navigation and link lists excluded |
| Product page | href containing product / chanpin / prolist | Keyword lower bound |
| Solution / service | solution / fangan / service / fuwu | Same |
| Internal / external | Same or different registrable domain | Subdomains internal |
| Business links | Product + solution + service | Contact excluded |
The tool counts only links written statically in HTML; JS-rendered copy is not seen, and keyword matching misses custom paths, so business links are a lower bound. It shares the rules of scripts/article_inline_link_probe.py: on the 36 cached article pages all eight metrics match the published CSV.
Logic: js/body-link-check.js (no dependencies, no network); scripts/test_body_link_check.js covers 11 assertion groups (paragraph threshold, anchor cap, four targets, internal/external, entities, scripts, CSV). Parity: scripts/parity_body_link_check.js. Run:
node scripts/test_body_link_check.js
Related: the article body-link pilot, the article anchor-text pilot, and the article body-structure pilot.