Works with your stack
Cookie consent for Debloat
exclude the banner
Debloat defers and delays scripts, and it leaves scripts held by a banner alone. It sets no cookie and stores nothing in the browser. With Delay All Scripts on, the banner itself has to be excluded.
Debloat
WordPress plugin
- Tested version
- 1.4.0
- How
- Tested automatically around each Cookie Rocks version
- Last test
- 7 November 2026
- Latest version
- 1.4.0 tested
- Active installs
- 30,000+
What Debloat adds to your visitors’ browser
No trackers In our test of Debloat 1.4.0 on 7 November 2026, the plugin itself added no tracker and no cookie. What you place in your pages with it, such as a video or a map, still counts.
What matters for consent with Debloat
Held scripts stay held
Debloat works on the page after the banner has rewritten it, and it only touches plain JavaScript. A held tracker keeps waiting for the choice.
Delay All Scripts and the banner
Debloat reads no common no-optimize attribute. With Delay All Scripts on, add the banner’s scripts to its delay exclusions, or the banner appears only after the first gesture.
Nothing of its own
Debloat does not merge scripts and sets no cookie or browser storage on visitor pages.
What our tests found on Debloat
Depends on a setting · DebloatDebloat's Delay All Scripts can delay the banner until the first gesture
setting “Delay All Scripts” · by default: off
Its defer and delay options are off by default. Exclusions match the script text in its Exclude Scripts lists. With Delay All Scripts, add the banner's scripts to these exclusions.
What to do: With Delay All Scripts, add the consent banner's scripts to the delay exclusions, or the banner appears only after the first gesture.
Read in its code, 16 October 2026, Debloat 1.4.0.
Full detail
Debloat's Defer JS, Delay JS and Delay All Scripts are off by default. It reads no standard no-optimize attribute: exclusions match the tag text (or id:, url:) in its Exclude Scripts lists and the filters debloat/delay_js_excludes and debloat/defer_js_excludes. Delayed scripts run on mousemove, mousedown, keydown, touchstart or wheel, or after the maximum delay; Defer Inline JS turns inline scripts into data: scripts with defer.
Good to know · DebloatDebloat leaves scripts held by a consent plugin untouched
Debloat works on the page after the consent plugin and only delays ordinary scripts, so a held script stays held. It sets no cookie or browser storage on visitor pages.
Read in its code, 16 October 2026, Debloat 1.4.0.
Full detail
Debloat's output buffer starts on template_redirect at priority -999, outside a consent plugin's buffer at a higher priority, so it receives the rewritten page; it delays or defers only scripts with no type or a type containing javascript, so a script held as text/plain stays held. It does not merge scripts, has no iframe lazy loading in 1.4.0, and sets no cookie or browser storage on visitor pages.
How we test it
Around each version, with its latest release
Around each Cookie Rocks version, a fresh WordPress installs its latest version from WordPress.org next to Cookie Rocks and runs the same checks. A new version joins the next run on its own.
- Debloat 1.4.0, tested on 7 November 2026.
- The banner shows, the trackers of the test page wait for consent and load after it, and Cookie Rocks raises no PHP error.
- Settings of the test: Default settings after activation.
- Last run: Debloat 1.4.0 on 7 November 2026, with WordPress 7.1.3.
Light as a pebble
11.43 kB once, 1.00 kB per page. Measured, not promised.
lighter than the font on this page*
Every kilobyte costs your visitors time and costs you Core Web Vitals. Cookie Rocks adds 11.43 kB to the first page a visitor opens, then 1.00 kB to each page after that, because its files stay in the browser cache. It calls no outside server and never shifts your layout.

11.43 kB First visit, in total
1.00 kB Each next page
7.74 kB JavaScript, first visit
3.48 kB Stylesheet, first visit
0 Requests to other servers
0 Layout shift caused
* The font on this page is Inter, compressed and cut down to the Latin alphabet. It still weighs 26.23 kB.
Optimisation
Other plugins of the same kind.
Questions
What happens after the 30-day trial?
The banner, your visitors’ choices and your proofs of consent keep working. Without a key, most settings lock, updates and support stop. Take a key at any time and everything opens again.
For Debloat users
A lighter page, consent first.
debloat stays on
Every feature of the complete plugin for 30 days, no card.
- During the trial: everything, including the full settings and the scans
- After 30 days without a key: the banner, your visitors’ choices and your proofs of consent keep working
- What waits for a key: most settings, updates and support

Get your trial key
Your e-mail and your site. Your key arrives as soon as you confirm your e-mail.