Test — EHS EHS Script

Testing the EHS EHS script

This page simulates a Webflow page in English (<html lang="en">) with different content scenarios. The script runs automatically upon loading, and dynamic content is injected after 2 seconds to test the ChangeObserver.

Title / Subtitle

EHS Overview

Should be: EHS Compliance Overview

Paragraph

Our EHS ensures safety and regulatory compliance at all sites.

Should be: "Our EHS team ensures safety..."

Button / CTA

Contact our EHS

The button text should change to "Contact our EHS team." The href should remain the same. /en/contact-hse (unchanged; it's an attribute).

Menu / Navigation

The link text should read "EHS Resources".

Borderline case: longer word (should NOT be replaced)

Our HSE2000 monitoring platform tracks incidents in real time.

Should remain unchanged: "HSE2000" is not a standalone term.

Borderline case: term with a hyphen (must be replaced)

All EHS documentation is centralized here.

Should be: "EHS-related documentation..."

Email (must NOT be replaced)

Contact: hse@tennaxia.com

Should remain unchanged (entire text node skipped due to "@").

URL displayed as text (must NOT be replaced)

See policy: https://tennaxia.com/en/hse-policy

Should remain unchanged (entire text node skipped due to "http").

Code block (must NOT be replaced)

const department = "EHS";

Should stay unchanged (inside <code>/<pre>).

JSON-LD / Structured Data (must NOT be replaced)

Check in the Inspector (Elements tab) to make sure the JSON hasn't been modified—it's not visible on the screen, so there's no direct preview here.

Dynamically Loaded Content (MutationObserver Test)

Loading... (simulates a CMS Collection List loaded via AJAX)

Automatic Results

Check performed 2.5 seconds after the page loaded (after dynamic injection):