Paste HTML to inventory static resources

Paste page HTML below. The tool counts images, scripts, stylesheets, iframes, media and preconnects locally, separates internal from external by registrable domain, and measures inline script and style characters. No network, no upload, no dependencies.

Not checked yet.

Definitions

ItemRuleBoundary
Imageimg with a non-empty srcCSS backgrounds excluded
Scriptscript with srcInline counted separately
Stylesheetlink rel containing stylesheetInternal and external
ExternalRegistrable domain differsSubdomains internal; .com.cn uses three labels
Inline sizeCharacters of script/style contentNot compressed bytes

The tool counts only statically declared HTML resources: JS-inserted resources, CSS background images and srcset alternatives are excluded, so results are lower bounds; they do not judge availability or performance. It shares the rules of scripts/homepage_resource_probe.py: on the 25 cached homepages all 12 metrics match the published CSV.

Logic: js/resource-check.js (no dependencies, no network); scripts/test_resource_check.js covers 10 assertion groups (internal/external, subdomains, CN suffixes, inline characters, CSV). Parity: scripts/parity_resource_check.js. Run:

node scripts/test_resource_check.js

Related: the homepage resource inventory pilot, the homepage image-attributes pilot, and the page text-share pilot.

About the author

Lingyi Information Official (delivery team) works on requirements, proposals and acceptance for corporate websites, brand and smart-manufacturing projects. This tool counts statically declared HTML resources only; it does not judge availability, loading performance or privacy impact and is not a performance score.

Count resources before loading

Paste HTML to see images, scripts, stylesheets and external hosts; no network, CSV export.

Request a recheck plan