Disable Scripts Per Post – Free WordPress Script Manager Plugin
Control exactly which CSS and JS files load on each post or page. Scan, match, and disable with one click.
100% free · Per-page control · Wildcard & regex · Built-in scanner
Why Control Scripts on a Per-Page Basis?
Most WordPress sites load every plugin’s CSS and JS on every page — even pages that don’t use them. This wastes bandwidth, slows load times, and hurts Core Web Vitals. Disable Scripts Per Post lets you scan each page, see exactly what is loading, and disable unnecessary assets with one click.

Key Features
Powerful Script Control
Built-in Script Scanner
View every CSS and JS file loaded on any page. See file size, source, and type — all from the WordPress editor.
Three Match Modes
Exact URL matching, wildcard patterns (*.css), and full regex support. Target specific files or entire plugin directories.
Per-Page & Global Rules
Set rules for individual pages or apply globally. Disable Contact Form 7 CSS everywhere except your contact page.
Safe & Easy to Use
Test Mode
Preview changes before going live. Test mode shows what would be disabled without affecting visitors.
Easy Rollback
Rules are reversible with one click. No permanent changes — disable or re-enable scripts anytime.
Frontend Toolbar
Quick-access toolbar on the frontend for logged-in admins. Toggle scripts without visiting wp-admin.
Compatibility
Works with every WordPress theme and plugin. No conflicts with caching plugins, CDNs, or performance optimization tools. Tested with GeneratePress, Astra, Kadence, WP Rocket, Perfmatters, and all major plugins.
Disable Scripts Per Post vs Perfmatters Script Manager
Perfmatters is the industry-standard WordPress performance plugin with a built-in Script Manager. Disable Scripts Per Post is a lightweight, free alternative focused exclusively on script control. Here’s how they compare:
| Feature | Disable Scripts Per Post | Perfmatters Script Manager |
| Price | Free | $24.95/yr (1 site) |
| Per-Page Script Control | ✅ | ✅ |
| Global Script Rules | ✅ | ✅ |
| Exact URL Matching | ✅ | ✅ |
| Wildcard Matching | ✅ | ✅ |
| Regex Matching | ✅ | ✅ |
| Built-in Scanner | ✅ | ✅ |
| Test Mode | ✅ | ❌ |
| Frontend Toolbar | ✅ | ❌ |
| Database Optimization | ❌ | ✅ |
| Lazy Loading | ❌ | ✅ |
| Local Fonts Hosting | ❌ | ✅ |
| Heartbeat Control | ❌ | ✅ |
| Plugin Weight | <3KB | ~50KB |
How to Install & Set Up Disable Scripts Per Post
Get started in under 5 minutes:
Frequently Asked Questions
Will this break my site if I disable the wrong script?
Use Test Mode first to preview changes before going live. All rules are reversible with one click — you can re-enable any disabled script instantly. We recommend testing on a staging site when making large changes.
Can I disable scripts from specific plugins site-wide?
Yes. Use wildcard patterns like */plugin-name/* to match entire plugin directories. For example, disable all Contact Form 7 assets everywhere except on your contact page.
How is this different from Perfmatters Script Manager?
Perfmatters Script Manager is a premium feature (requires paid license) and is part of a broader performance suite. Disable Scripts Per Post is 100% free and focused solely on script control. See the comparison table below for a detailed breakdown.
Does this plugin itself add overhead to my site?
Under 3KB total. The scanner and frontend toolbar are admin-only — zero performance impact on your visitors. The plugin only loads its own assets for logged-in administrators.
Does this work with page builders like Elementor?
Yes. The scanner detects all enqueued scripts regardless of the page builder. Elementor, Gutenberg, Divi, and Beaver Builder are all fully supported.