|
/ Documentation /Feature/ Resource Blocking

Resource Blocking

Keep your website privacy-compliant by controlling when scripts and content load. Resource Blocking ensures nothing runs without your visitor’s permission.

What is Resource Blocking?

Resource Blocking is a consent-first approach to loading third-party scripts and embedded content on your website.

When enabled, SureCookie analyzes every script and piece of embedded content as your page renders. Anything non-essential gets paused until the visitor gives explicit consent. No surprises, no privacy violations.

Think of it as a gatekeeper – scripts wait at the door until they’re invited in.

How It Works

The process is straightforward:

  1. A visitor lands on your page
  2. SureCookie scans all scripts and embedded content in real-time
  3. Non-essential resources are blocked before they can execute
  4. The visitor sees your consent banner and makes their choice
  5. Only the approved categories get unblocked and run

All of this happens instantly, behind the scenes.

Getting Started

You’ll find this setting in your SureCookie admin dashboard:

Enable Script and Content Blocking

resource blocking setting

Toggle it on, and you’re protected.

Smart Categorization

Not all scripts are treated the same. SureCookie carefully sorts every resource into the right category:

  • Essential – Required for basic site functionality (always allowed)
  • Analytics – Tools that help you understand visitor behavior
  • Marketing – Advertising and retargeting scripts
  • Functional – Features that enhance user experience

When a visitor consents to Analytics only, just those scripts run. Marketing stays blocked. It’s precise, respectful, and exactly how consent should work.

Supported Content Types

Beyond scripts, SureCookie also blocks embedded content that may collect data without permission:

  • YouTube videos
  • Vimeo videos
  • VimeoPress videos
  • Google Maps
  • Various external embeds
  • The list continuously goes on…

We’re constantly expanding support for new services.

Supported Services

We maintain a live dataset of all supported blocking services. Rather than listing everything here (it grows regularly), you can always find the current list at:

View Supported Services →

This ensures you’re always seeing the most up-to-date information.

Powered by SureCookie Library

Resource Blocking is backed by our cloud-based scanning infrastructure at library.surecookie.com.

What makes it different:

  • Real Browser Scanning – We detect scripts the way browsers actually load them, not just by reading source code
  • Compliance Ready – Our detection patterns stay current with GDPR, CCPA, and other privacy regulations
  • Privacy First – The scanning itself respects privacy. We analyze behavior patterns, not personal data

This combination means fewer missed scripts, better compliance, and less manual work for you.

Quick Recap

What it doesWhy it matters
Blocks scripts before they runNo data collection without consent
Categorizes resources automaticallyVisitors control exactly what runs
Supports videos and mapsEmbedded content is covered too
Uses real browser scanningCatches what other tools miss

Need Help?

If a script isn’t being detected or you’re seeing unexpected behavior, reach out to our support team. We’re happy to investigate and update our detection library if needed.

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
On this page
Scroll to Top