全球纺织制造名录 · 公开工商登记与采购评价
Wide reading view0%

Guide

Embed a Mill Scout Badge Without Spoofing

Updated 2026-12-06 · 8 min read

Anyone can save a trust logo as a PNG or paste somebody else's SVG into a website footer. A Mill Scout badge is designed around one premise: the image is only a live doorway, and the real proof lives on the Mill Scout record it links to — paired with reciprocal domain ownership proof (rel="me") and check-digit-protected Mill Scout IDs (MSID).

This guide shows suppliers how to embed any of the four live badge formats cleanly on one or multiple websites (such as .com and .cn storefronts), how /verify/<MSID> and /co/<slug> links work behind the scenes, and how buyers confirm in ten seconds that a badge actually belongs to the site displaying it.

Why the badge image alone proves nothing (hosted-record model)

Mill Scout follows the same hosted-verification model used by Open Badges and Mastodon rather than attempting fragile HTTP Referer blocking. Every badge served from /badge/<slug>.svg renders live per request directly from the verification ledger, with no third-party JavaScript to install on your website.

Why does Mill Scout not block unauthorized domains using the browser Referer header? Because Referer fails open in the real world: adding referrerpolicy="no-referrer", viewing from a privacy browser, proxying the SVG, or hitting a shared CDN cache suppresses or swaps the header. Relying on Referer breaks legitimate embeds while waving deliberate spoofers straight through.

Instead, security comes from three verifiable layers that an impersonator cannot forge: the live click-through verification record hosted strictly on millscout.com, the reciprocal rel="me" handshake tying your official domain(s) to your dossier, and a 7-character GF(32) check-digit MSID that rejects altered or invented codes.

Step 1: Choose the right badge format and parameters

Every listed or reviewed supplier record exposes the exact same live SVG endpoint — https://www.millscout.com/badge/<your-slug>.svg — in four fixed-proportion formats. embed, stamp, and seal are 100% outlined vector paths (zero external font dependencies), so they render identically across macOS, Windows, iOS, Android, and email clients.

Append ?lang=en or ?lang=zh to pin the artwork language on multi-locale sites. If you omit lang, Mill Scout selects English or Chinese automatically from the visitor's browser Accept-Language header. Always set explicit width and height attributes matching the native aspect ratio to prevent Cumulative Layout Shift (CLS).

LIVE PREVIEWAll four live SVG badge formats (rendered from badge.ts)EN + ZH · zero font deps
TABLEFormat query breakdown4 cols · 4 rows
Format queryNative sizeBest placementWhat it displays
?format=embed (default)~179×28 pxCompact footers, email signatures, header trust barsMillScout mark + live tier (LISTED, GREEN, SILVER, GOLD, PLATINUM, or EXPIRED) + operating role
?format=stamp204×52 pxPrimary website footer brand column (recommended)Split architectural seal with MillScout wordmark, year, tier, and operating role (FACTORY, TRADING, SOURCING)
?format=seal120×120 pxSidebar cards, trade-fair exhibitor tiles, PDF footersSquare two-tone seal with centered emblem, year, tier, and role
?format=plaque400×188 pxAbout / Certifications pages, B2B storefronts, booth QR postersFull credential plaque with company name, one-line scope summary, tier, role, and 7-char MSID

All four formats read from the same live ledger; optional &h=<16..360> scales proportionally.

Preview all five tiers and formats

Step 2: Embed the live SVG (never self-host a static copy)

Always hotlink the live /badge/<your-slug>.svg URL rather than saving a static PNG or SVG to your own server. Because the artwork renders live from the ledger, any tier upgrade (Listed → Green → Silver → Gold → Platinum), renewal, or revocation reaches your footer automatically within one edge cache window (1 hour) without editing your site.

Replace <your-slug> with your canonical Mill Scout dossier slug (for example weaverine) and <YOUR_MSID> with your issued 7-character MSID (for example FKW2YHF). If your company is listed in the directory without an active verification credential yet, link directly to https://www.millscout.com/co/<your-slug>.

HTMLRecommended: Footer Stamp (204×52 HTML)11 lines

Select & copy canonical value:

<a href="https://www.millscout.com/verify/FKW2YHF"
   target="_blank"
   rel="noopener noreferrer"
   title="View our live Mill Scout verification record">
  <img src="https://www.millscout.com/badge/weaverine.svg?format=stamp&lang=en"
       alt="Mill Scout Green Factory verification badge"
       width="204"
       height="52"
       loading="lazy"
       decoding="async" />
</a>
HTMLCompact Inline Pill (28px footer / email)9 lines

Select & copy canonical value:

<a href="https://www.millscout.com/verify/FKW2YHF"
   target="_blank"
   rel="noopener noreferrer">
  <img src="https://www.millscout.com/badge/weaverine.svg?format=embed&lang=en"
       alt="Mill Scout verification badge"
       height="28"
       loading="lazy"
       decoding="async" />
</a>
HTMLCertifications Page Plaque (400×188, Chinese edition)10 lines

Select & copy canonical value:

<a href="https://www.millscout.com/verify/FKW2YHF"
   target="_blank"
   rel="noopener noreferrer">
  <img src="https://www.millscout.com/badge/weaverine.svg?format=plaque&lang=zh"
       alt="Mill Scout 绿牌 · 制造工厂 认证铭牌"
       width="400"
       height="188"
       loading="lazy"
       decoding="async" />
</a>
TSXReact / Next.js locale-aware component (zero CLS)19 lines

Select & copy canonical value:

export function MillScoutBadge({ locale }: { locale: string }) {
  const lang = locale.startsWith("zh") ? "zh" : "en";
  return (
    <a
      href="https://www.millscout.com/co/weaverine"
      target="_blank"
      rel="me noopener noreferrer"
    >
      <img
        src={`https://www.millscout.com/badge/weaverine.svg?format=stamp&lang=${lang}`}
        alt="Mill Scout supplier record"
        width={204}
        height={52}
        loading="lazy"
        decoding="async"
      />
    </a>
  );
}

Step 3: How /verify/<MSID>, /verify/<cred_id>, and /co/<slug> work

Mill Scout separates your permanent clickable identity from your changing standing so links you paste into footers, PDFs, or trade-show cards never break when you renew or move up a tier.

When a buyer clicks https://www.millscout.com/verify/<MSID>, the router validates the 7-character GF(32) check character first — rejecting any single-character typo or adjacent/non-adjacent character swap immediately with HTTP 400 Invalid MSID check character — looks up the persisted MSID, and issues a permanent 301 redirect to the entity's active /verify/cred_... assertion (or to /co/<slug> if no active credential exists yet).

TABLEURL shape breakdown4 cols · 3 rows
URL shapeExampleWhat it doesWhen to use it
/verify/<MSID>/verify/FKW2YHFValidates the 7-char GF(32) checksum and 301-redirects to your active credential or dossierBest short link for plaques, business cards, booth QR codes, and footer badges once an MSID is issued
/verify/<cred_id>/verify/cred_weaverine_01Renders the live verification record directly from the ledger; stays alive showing Expired or Revoked even if status changesDirect verification certificate URL provided on your dossier's Verification tab
/co/<slug>/co/weaverineCanonical company dossier showing legal names, USCI/LEI, registered official websites, sister factories, certificates, and reviewsRequired exact target for rel="me" domain ownership proof, and valid badge link for listed records

Every URL reads the same live verification ledger so the badge, /verify page, and dossier cannot disagree.

Step 4: Bind your domain(s) with reciprocal rel="me" proof

To prove that your website genuinely belongs to the legal entity in your Mill Scout dossier — and not to a third party copying your badge — set up a two-way reciprocal link between your official domain(s) and your Mill Scout dossier:

First, make sure every official domain you operate is listed on your Mill Scout dossier (Mill Scout supports multiple official websites per listed entity, such as an international www.example.com site alongside a domestic www.example.cn storefront). Second, add a <link rel="me"> tag in the <head> of each registered domain's homepage — or include me in the rel attribute of an <a> tag pointing directly to your canonical /co/<your-slug> URL.

  • Target path must be the exact canonical dossier URL https://www.millscout.com/co/<your-slug> (no query string, not /verify/...).
  • rel is parsed as a whitespace-separated token list, so rel="me noopener noreferrer" qualifies cleanly alongside secure new-tab attributes.
  • Only https:// homepages on port 443 matching a website domain already filed on the entity's dossier qualify; cross-domain redirect chains (offdomain) are rejected.
  • What rel="me" proves — and does not prove: it confirms that the operator of that website controls the domain claimed on the dossier. Domain control never elevates a company's verification tier and says nothing about factory equipment or product quality.
HTMLDomain proof in <head> (works on all official domains, e.g. .com and .cn)2 lines

Select & copy canonical value:

<!-- Add inside <head> on each official homepage registered on Mill Scout -->
<link rel="me" href="https://www.millscout.com/co/your-slug" />
HTMLCombined footer badge + reciprocal rel="me" anchor10 lines

Select & copy canonical value:

<a href="https://www.millscout.com/co/your-slug"
   target="_blank"
   rel="me noopener noreferrer">
  <img src="https://www.millscout.com/badge/your-slug.svg?format=stamp&lang=en"
       alt="Mill Scout public supplier record"
       width="204"
       height="52"
       loading="lazy"
       decoding="async" />
</a>

Register official website domains or claim a dossier

Step 5: How Mill Scout prevents unauthorized badge use

Because HTML and SVG on the open web can always be copied by a dishonest site, anti-spoofing relies on making forgery immediately obvious the moment a buyer clicks the badge or checks the MSID. Here is how each common spoofing attack breaks down against Mill Scout's verification design:

TABLEUnauthorized use / spoofing attempt breakdown3 cols · 5 rows
Unauthorized use / spoofing attemptWhat happens when a buyer checksHow Mill Scout stops it
Fake site hotlinks or copies a real mill's badge SVG onto scam-mill.comClicking opens millscout.com/verify/... or /co/... showing the real mill's legal name and official domain list (real-mill.com). scam-mill.com is not listed.Registered official website list on both /verify and /co/<slug> plus reciprocal rel="me" domain binding
Fake site links the copied badge to a lookalike page (millsc0ut-verify.com)Address bar is not https://www.millscout.com. Checking the MSID directly on millscout.com/verify/<MSID> shows either no record or a different company.Hosted verification strictly on millscout.com — buyers can type /verify/<MSID> directly
Scammer photoshops a static PNG or invents a fake 7-char MSID (F8K4M20)https://www.millscout.com/verify/F8K4M20 immediately returns 400 Invalid MSID check character or 404 No such record.Selective MSID issuance (msid_registry) + GF(32) check digit catching 100% of single-char edits and transpositions
Trading company embeds its partner factory's badge as its ownThe dossier shows the real factory's legal entity name, USCI/LEI, city, and FACTORY role — none matching the trader's proforma invoice or bank beneficiary.Strict legal-entity separation (each LLC keeps its own statutory IDs and contracting liability) + clear FACTORY vs TRADING role labels
Supplier keeps a badge up after verification expires or is revokedLive /badge/<slug>.svg switches to stone-gray EXPIRED / 已失效 and /verify/<cred_id> displays the lapsed or revoked standing.Zero static PNG issuance; live ledger-backed rendering and non-404ing revoked credential tombstones

A 10-second buyer check turns any copied badge into an immediate red flag before money moves.

  • 1. Click the badge and confirm your browser address bar starts with https://www.millscout.com/verify/ or https://www.millscout.com/co/.
  • 2. Compare the website domain you came from against the Official website(s) listed on the Mill Scout verification record.
  • 3. Confirm the Legal Entity Name and statutory ID (USCI / LEI) on the Mill Scout record match the beneficiary on your proforma invoice and bank details.
  • 4. Check the Operating Role (FACTORY, TRADING, or SOURCING) and Validity date — make sure the badge is not EXPIRED or REVOKED.
  • 5. If the badge is a non-clickable static image or links to a domain other than millscout.com, treat it as unverified and look the company up manually on /search.

Report unauthorized badge use or domain impersonation

FAQ

6 questions

Yes. Mill Scout supports multiple official websites per listed entity. Register both domains on your dossier (for example www.weaverine.com and www.weaverine.cn), pin ?lang=en on the international surface and ?lang=zh on the Chinese surface, and place <link rel="me" href="https://www.millscout.com/co/<your-slug>" /> in the <head> of each homepage.

If your company holds an issued MSID or active credential, linking the badge to https://www.millscout.com/verify/<MSID> (such as /verify/FKW2YHF) takes buyers straight to the live verification record while surviving future tier upgrades. Keep your <link rel="me"> tag in <head> pointed strictly at https://www.millscout.com/co/<your-slug>, which is the canonical URL checked for domain proof.

HTTP Referer checks are trivially bypassed by referrerpolicy="no-referrer", proxies, or privacy browsers, and fragment edge caches per referring site. Reciprocal domain proof (rel="me"), official domain lists on /verify, and live ledger rendering solve unauthorized use without breaking legitimate embeds.

No. A rel="me" tag proves website domain control only — it never alters your verification tier. Green requires active environmental certification on file (such as OEKO-TEX Standard 100, GOTS, GRS, bluesign, or ISO 14001), and Silver, Gold, and Platinum require recorded trade, compliance, or on-site review.

Because the badge image is served live from /badge/<slug>.svg, it automatically re-renders in muted stone as EXPIRED (已失效) within one cache TTL, and the /verify/<cred_id> link stays online showing the expired or revoked status instead of returning a broken 404.

File a dispute through /inquiries/new?kind=dispute with both the offending URL and your canonical dossier slug. Because your dossier and /verify page list only your registered official website domain(s) and legal entity identifiers, buyers clicking the copied badge can already see the domain mismatch immediately.

Keep reading

Verifying a supplier — all 19

Put this guide to work — search the mill register now.

Search the registerBuyer's due-diligence guide