← Back to homepage

SmartConsent Test Suite

Dynamically injects simulated cookie banners to test each blocking layer.

Checking SmartConsent status...

Layer 2-3: CSS Hider + Element Hider Free

Injects a fresh banner element into the DOM. SmartConsent's css-hider.css and element-hider.js MutationObserver should hide it. Result is logged below — PASS if hidden within 3s.

Layer 4: Auto-Reject Protect

Injects banners with mock CMP JS APIs. If Protect is active, auto-reject.js should call the reject API or click the reject button.

Layer 5: Cookie Cleanup Protect

Sets fake tracking cookies on this domain. SmartConsent's hourly cleanup should remove tracker cookies but keep normal ones.

Scroll Lock Removal Free

Adds scroll-lock classes + inline overflow:hidden to body. SmartConsent should auto-remove them.