{"id":2420,"date":"2026-02-25T04:07:50","date_gmt":"2026-02-25T12:07:50","guid":{"rendered":"https:\/\/surecookie.com\/docs\/resource-blocking\/"},"modified":"2026-02-25T04:46:59","modified_gmt":"2026-02-25T12:46:59","slug":"resource-blocking","status":"publish","type":"docs","link":"https:\/\/surecookie.com\/docs\/resource-blocking\/","title":{"rendered":"Resource Blocking"},"content":{"rendered":"\n<p>Keep your website privacy-compliant by controlling when scripts and content load. Resource Blocking ensures nothing runs without your visitor&#8217;s permission.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is Resource Blocking?<\/h2>\n\n\n\n<p>Resource Blocking is a consent-first approach to loading third-party scripts and embedded content on your website.<\/p>\n\n\n\n<p>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.<\/p>\n\n\n\n<p>Think of it as a gatekeeper &#8211; scripts wait at the door until they&#8217;re invited in.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How It Works<\/h2>\n\n\n\n<p>The process is straightforward:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>A visitor lands on your page<\/li>\n\n\n\n<li>SureCookie scans all scripts and embedded content in real-time<\/li>\n\n\n\n<li>Non-essential resources are blocked before they can execute<\/li>\n\n\n\n<li>The visitor sees your consent banner and makes their choice<\/li>\n\n\n\n<li>Only the approved categories get unblocked and run<\/li>\n<\/ol>\n\n\n\n<p>All of this happens instantly, behind the scenes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Getting Started<\/h2>\n\n\n\n<p>You&#8217;ll find this setting in your SureCookie admin dashboard:<\/p>\n\n\n\n<p><strong>Enable Script and Content Blocking<\/strong><\/p>\n\n\n\n<figure data-spectra-id=\"spectra-mm20zczj-0xu12g\" class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1405\" src=\"https:\/\/surecookie.com\/wp-content\/uploads\/2026\/02\/resource-blocking-setting-scaled.png\" class=\"wp-image-2431\" alt=\"Resource blocking settings in SureCookie for enhanced website security and user privacy.\" title=\"Resource Blocking\" srcset=\"https:\/\/surecookie.com\/wp-content\/uploads\/2026\/02\/resource-blocking-setting-scaled.png 2560w, https:\/\/surecookie.com\/wp-content\/uploads\/2026\/02\/resource-blocking-setting-300x165.png 300w, https:\/\/surecookie.com\/wp-content\/uploads\/2026\/02\/resource-blocking-setting-1024x562.png 1024w, https:\/\/surecookie.com\/wp-content\/uploads\/2026\/02\/resource-blocking-setting-768x421.png 768w, https:\/\/surecookie.com\/wp-content\/uploads\/2026\/02\/resource-blocking-setting-1536x843.png 1536w, https:\/\/surecookie.com\/wp-content\/uploads\/2026\/02\/resource-blocking-setting-2048x1124.png 2048w\" sizes=\"auto, (max-width: 2560px) 100vw, 2560px\" \/> <\/figure>\n\n\n\n<p>Toggle it on, and you&#8217;re protected.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Smart Categorization<\/h2>\n\n\n\n<p>Not all scripts are treated the same. SureCookie carefully sorts every resource into the right category:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Essential<\/strong> &#8211; Required for basic site functionality (always allowed)<\/li>\n\n\n\n<li><strong>Analytics<\/strong> &#8211; Tools that help you understand visitor behavior<\/li>\n\n\n\n<li><strong>Marketing<\/strong> &#8211; Advertising and retargeting scripts<\/li>\n\n\n\n<li><strong>Functional<\/strong> &#8211; Features that enhance user experience<\/li>\n<\/ul>\n\n\n\n<p>When a visitor consents to Analytics only, just those scripts run. Marketing stays blocked. It&#8217;s precise, respectful, and exactly how consent should work.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Supported Content Types<\/h2>\n\n\n\n<p>Beyond scripts, SureCookie also blocks embedded content that may collect data without permission:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>YouTube videos<\/li>\n\n\n\n<li>Vimeo videos<\/li>\n\n\n\n<li>VimeoPress videos<\/li>\n\n\n\n<li>Google Maps<\/li>\n\n\n\n<li>Various external embeds<\/li>\n\n\n\n<li>The list continuously goes on&#8230;<\/li>\n<\/ul>\n\n\n\n<p>We&#8217;re constantly expanding support for new services.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Supported Services<\/h2>\n\n\n\n<p>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:<\/p>\n\n\n\n<p><strong><a href=\"https:\/\/library.surecookie.com\/dataset\/blocking-scripts.json\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">View Supported Services \u2192<\/a><\/strong><\/p>\n\n\n\n<p>This ensures you&#8217;re always seeing the most up-to-date information.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Powered by SureCookie Library<\/h2>\n\n\n\n<p>Resource Blocking is backed by our cloud-based scanning infrastructure at <a href=\"https:\/\/library.surecookie.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">library.surecookie.com<\/a>.<\/p>\n\n\n\n<p>What makes it different:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Real Browser Scanning<\/strong> &#8211; We detect scripts the way browsers actually load them, not just by reading source code<\/li>\n\n\n\n<li><strong>Compliance Ready<\/strong> &#8211; Our detection patterns stay current with GDPR, CCPA, and other privacy regulations<\/li>\n\n\n\n<li><strong>Privacy First<\/strong> &#8211; The scanning itself respects privacy. We analyze behavior patterns, not personal data<\/li>\n<\/ul>\n\n\n\n<p>This combination means fewer missed scripts, better compliance, and less manual work for you.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Quick Recap<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>What it does<\/th><th>Why it matters<\/th><\/tr><\/thead><tbody><tr><td>Blocks scripts before they run<\/td><td>No data collection without consent<\/td><\/tr><tr><td>Categorizes resources automatically<\/td><td>Visitors control exactly what runs<\/td><\/tr><tr><td>Supports videos and maps<\/td><td>Embedded content is covered too<\/td><\/tr><tr><td>Uses real browser scanning<\/td><td>Catches what other tools miss<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Need Help?<\/h2>\n\n\n\n<p>If a script isn&#8217;t being detected or you&#8217;re seeing unexpected behavior, reach out to our support team. We&#8217;re happy to investigate and update our detection library if needed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p> [&hellip;]<\/p>\n","protected":false},"author":32,"featured_media":0,"template":"","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"pfd_doc_title":"","spectra_gs_classes":"[\"\"]","footnotes":""},"docs_category":[36],"docs_tag":[],"class_list":["post-2420","docs","type-docs","status-publish","hentry","docs_category-consent-and-compliance"],"spectra_custom_meta":{"spectra_gs_classes":["[\"\"]"],"surerank_seo_checks":["a:15:{s:14:\"h2_subheadings\";a:3:{s:6:\"status\";s:7:\"success\";s:7:\"message\";s:38:\"Page contains at least one subheading.\";s:4:\"type\";s:4:\"page\";}s:13:\"media_present\";a:3:{s:6:\"status\";s:7:\"success\";s:7:\"message\";s:55:\"This page includes images or videos to enhance content.\";s:4:\"type\";s:4:\"page\";}s:13:\"links_present\";a:3:{s:6:\"status\";s:7:\"success\";s:7:\"message\";s:30:\"Links are present on the page.\";s:4:\"type\";s:4:\"page\";}s:10:\"url_length\";a:3:{s:6:\"status\";s:7:\"success\";s:7:\"message\";s:35:\"Page URL is short and SEO-friendly.\";s:4:\"type\";s:4:\"page\";}s:19:\"search_engine_title\";a:3:{s:6:\"status\";s:7:\"success\";s:7:\"message\";s:55:\"Search engine title is present and under 60 characters.\";s:4:\"type\";s:4:\"page\";}s:25:\"search_engine_description\";a:3:{s:6:\"status\";s:7:\"success\";s:7:\"message\";s:62:\"Search engine description is present and under 160 characters.\";s:4:\"type\";s:4:\"page\";}s:13:\"canonical_url\";a:3:{s:6:\"status\";s:7:\"success\";s:7:\"message\";s:37:\"Canonical tag is present on the page.\";s:4:\"type\";s:4:\"page\";}s:15:\"open_graph_tags\";a:3:{s:6:\"status\";s:7:\"success\";s:7:\"message\";s:40:\"Open Graph tags are present on the page.\";s:4:\"type\";s:4:\"page\";}s:16:\"keyword_in_title\";a:3:{s:6:\"status\";s:10:\"suggestion\";s:7:\"message\";s:38:\"No focus keyword set to analyze title.\";s:4:\"type\";s:7:\"keyword\";}s:22:\"keyword_in_description\";a:3:{s:6:\"status\";s:10:\"suggestion\";s:7:\"message\";s:49:\"No focus keyword set to analyze meta description.\";s:4:\"type\";s:7:\"keyword\";}s:14:\"keyword_in_url\";a:3:{s:6:\"status\";s:10:\"suggestion\";s:7:\"message\";s:36:\"No focus keyword set to analyze URL.\";s:4:\"type\";s:7:\"keyword\";}s:18:\"keyword_in_content\";a:3:{s:6:\"status\";s:10:\"suggestion\";s:7:\"message\";s:40:\"No focus keyword set to analyze content.\";s:4:\"type\";s:7:\"keyword\";}s:12:\"broken_links\";a:2:{s:6:\"status\";s:7:\"success\";s:7:\"message\";s:34:\"No broken links found on the page.\";}s:9:\"all_links\";a:2:{i:0;s:60:\"https:\/\/library.surecookie.com\/dataset\/blocking-scripts.json\";i:1;s:31:\"https:\/\/library.surecookie.com\/\";}s:14:\"image_alt_text\";a:5:{s:6:\"status\";s:7:\"success\";s:11:\"description\";a:1:{i:0;s:48:\"Images on the post\/page have alt text attributes\";}s:7:\"message\";s:49:\"All images on this page have alt text attributes.\";s:11:\"show_images\";b:0;s:4:\"type\";s:4:\"page\";}}"],"surerank_seo_checks_last_updated":["1775655277"],"_edit_lock":["1772023650:32"],"_uag_custom_page_level_css":[""],"site-sidebar-layout":["default"],"site-content-layout":[""],"ast-site-content-layout":["default"],"site-content-style":["default"],"site-sidebar-style":["default"],"ast-global-header-display":[""],"ast-banner-title-visibility":[""],"ast-main-header-display":[""],"ast-hfb-above-header-display":[""],"ast-hfb-below-header-display":[""],"ast-hfb-mobile-header-display":[""],"site-post-title":[""],"ast-breadcrumbs-content":[""],"ast-featured-img":[""],"footer-sml-layout":[""],"ast-disable-related-posts":[""],"theme-transparent-header-meta":[""],"adv-header-id-meta":[""],"stick-header-meta":[""],"header-above-stick-meta":[""],"header-main-stick-meta":[""],"header-below-stick-meta":[""],"astra-migrate-meta-layouts":["set"],"ast-page-background-enabled":["default"],"ast-page-background-meta":["a:3:{s:7:\"desktop\";a:12:{s:16:\"background-color\";s:25:\"var(--ast-global-color-4)\";s:16:\"background-image\";s:0:\"\";s:17:\"background-repeat\";s:6:\"repeat\";s:19:\"background-position\";s:13:\"center center\";s:15:\"background-size\";s:4:\"auto\";s:21:\"background-attachment\";s:6:\"scroll\";s:15:\"background-type\";s:0:\"\";s:16:\"background-media\";s:0:\"\";s:12:\"overlay-type\";s:0:\"\";s:13:\"overlay-color\";s:0:\"\";s:15:\"overlay-opacity\";s:0:\"\";s:16:\"overlay-gradient\";s:0:\"\";}s:6:\"tablet\";a:12:{s:16:\"background-color\";s:0:\"\";s:16:\"background-image\";s:0:\"\";s:17:\"background-repeat\";s:6:\"repeat\";s:19:\"background-position\";s:13:\"center center\";s:15:\"background-size\";s:4:\"auto\";s:21:\"background-attachment\";s:6:\"scroll\";s:15:\"background-type\";s:0:\"\";s:16:\"background-media\";s:0:\"\";s:12:\"overlay-type\";s:0:\"\";s:13:\"overlay-color\";s:0:\"\";s:15:\"overlay-opacity\";s:0:\"\";s:16:\"overlay-gradient\";s:0:\"\";}s:6:\"mobile\";a:12:{s:16:\"background-color\";s:0:\"\";s:16:\"background-image\";s:0:\"\";s:17:\"background-repeat\";s:6:\"repeat\";s:19:\"background-position\";s:13:\"center center\";s:15:\"background-size\";s:4:\"auto\";s:21:\"background-attachment\";s:6:\"scroll\";s:15:\"background-type\";s:0:\"\";s:16:\"background-media\";s:0:\"\";s:12:\"overlay-type\";s:0:\"\";s:13:\"overlay-color\";s:0:\"\";s:15:\"overlay-opacity\";s:0:\"\";s:16:\"overlay-gradient\";s:0:\"\";}}"],"ast-content-background-meta":["a:3:{s:7:\"desktop\";a:12:{s:16:\"background-color\";s:25:\"var(--ast-global-color-5)\";s:16:\"background-image\";s:0:\"\";s:17:\"background-repeat\";s:6:\"repeat\";s:19:\"background-position\";s:13:\"center center\";s:15:\"background-size\";s:4:\"auto\";s:21:\"background-attachment\";s:6:\"scroll\";s:15:\"background-type\";s:0:\"\";s:16:\"background-media\";s:0:\"\";s:12:\"overlay-type\";s:0:\"\";s:13:\"overlay-color\";s:0:\"\";s:15:\"overlay-opacity\";s:0:\"\";s:16:\"overlay-gradient\";s:0:\"\";}s:6:\"tablet\";a:12:{s:16:\"background-color\";s:25:\"var(--ast-global-color-5)\";s:16:\"background-image\";s:0:\"\";s:17:\"background-repeat\";s:6:\"repeat\";s:19:\"background-position\";s:13:\"center center\";s:15:\"background-size\";s:4:\"auto\";s:21:\"background-attachment\";s:6:\"scroll\";s:15:\"background-type\";s:0:\"\";s:16:\"background-media\";s:0:\"\";s:12:\"overlay-type\";s:0:\"\";s:13:\"overlay-color\";s:0:\"\";s:15:\"overlay-opacity\";s:0:\"\";s:16:\"overlay-gradient\";s:0:\"\";}s:6:\"mobile\";a:12:{s:16:\"background-color\";s:25:\"var(--ast-global-color-5)\";s:16:\"background-image\";s:0:\"\";s:17:\"background-repeat\";s:6:\"repeat\";s:19:\"background-position\";s:13:\"center center\";s:15:\"background-size\";s:4:\"auto\";s:21:\"background-attachment\";s:6:\"scroll\";s:15:\"background-type\";s:0:\"\";s:16:\"background-media\";s:0:\"\";s:12:\"overlay-type\";s:0:\"\";s:13:\"overlay-color\";s:0:\"\";s:15:\"overlay-opacity\";s:0:\"\";s:16:\"overlay-gradient\";s:0:\"\";}}"],"pfd_doc_title":[""],"footnotes":[""],"_edit_last":["32"],"views":["270"],"_uag_page_assets":["a:9:{s:3:\"css\";s:263:\".uag-blocks-common-selector{z-index:var(--z-index-desktop) !important}@media (max-width: 976px){.uag-blocks-common-selector{z-index:var(--z-index-tablet) !important}}@media (max-width: 767px){.uag-blocks-common-selector{z-index:var(--z-index-mobile) !important}}\n\";s:2:\"js\";s:0:\"\";s:18:\"current_block_list\";a:13:{i:0;s:14:\"core\/paragraph\";i:1;s:12:\"core\/heading\";i:2;s:9:\"core\/list\";i:3;s:14:\"core\/list-item\";i:4;s:10:\"core\/image\";i:5;s:10:\"core\/table\";i:6;s:11:\"core\/search\";i:7;s:10:\"core\/group\";i:8;s:17:\"core\/latest-posts\";i:9;s:20:\"core\/latest-comments\";i:10;s:13:\"core\/archives\";i:11;s:15:\"core\/categories\";i:12;s:14:\"core\/shortcode\";}s:8:\"uag_flag\";b:0;s:11:\"uag_version\";s:10:\"1777553787\";s:6:\"gfonts\";a:0:{}s:10:\"gfonts_url\";s:0:\"\";s:12:\"gfonts_files\";a:0:{}s:14:\"uag_faq_layout\";b:0;}"],"helpful":["0"],"unhelpful":["0"],"redirects":["0"],"_uag_css_file_name":["uag-css-2420.css"]},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"navanath b","author_link":"https:\/\/surecookie.com\/author\/navanathbbsf-io\/"},"uagb_comment_info":0,"uagb_excerpt":"[&hellip;]","_links":{"self":[{"href":"https:\/\/surecookie.com\/wp-json\/wp\/v2\/docs\/2420","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/surecookie.com\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/surecookie.com\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/surecookie.com\/wp-json\/wp\/v2\/users\/32"}],"version-history":[{"count":10,"href":"https:\/\/surecookie.com\/wp-json\/wp\/v2\/docs\/2420\/revisions"}],"predecessor-version":[{"id":2439,"href":"https:\/\/surecookie.com\/wp-json\/wp\/v2\/docs\/2420\/revisions\/2439"}],"wp:attachment":[{"href":"https:\/\/surecookie.com\/wp-json\/wp\/v2\/media?parent=2420"}],"wp:term":[{"taxonomy":"docs_category","embeddable":true,"href":"https:\/\/surecookie.com\/wp-json\/wp\/v2\/docs_category?post=2420"},{"taxonomy":"docs_tag","embeddable":true,"href":"https:\/\/surecookie.com\/wp-json\/wp\/v2\/docs_tag?post=2420"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}