Linux 软件免费装
Banner图

Unloadly – Disable Unused CSS & JS

开发者 babatechs
更新时间 2026年9月2日 08:53
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

pagespeed dequeue unused css unused javascript disable scripts

下载

1.0.0

详情介绍:

Contact forms, sliders, shop plugins, and page builders often print their CSS and JavaScript on every page — including pages that never use them. That extra weight slows first paint, blocks rendering, and shows up in PageSpeed as unused CSS and unused JavaScript. Unloadly stops those files from loading in the first place. Edit a page, tick a plugin, and its frontend CSS and JS stay off that URL. You do not copy script handles. You do not minify. You do not fight a cache plugin. Use it next to any cache plugin. Unloadly removes the files; the cache plugin serves what is left. Flush or regenerate the page cache after you change Unloadly rules. Features How it works
  1. Edit a page or post. In the Unloadly box, tick plugins that are not needed on that URL (for example WooCommerce on an About page, or a contact form plugin off the contact page).
  2. Update the page. Those plugins’ CSS and JS are dequeued on the frontend for that URL only.
  3. Optional: open Settings → Unloadly to dequeue CSS or JS handles sitewide, and to strip discovery links from the document head.
Typical stacks Unloadly unloads assets by plugin folder and by script/style handle. It is meant to sit beside the tools you already use, not replace them. Do not tick a plugin on a URL that actually needs it. Who it is for Site owners who already cache and still see “Reduce unused JavaScript” or “Reduce unused CSS”. Agencies that want a checkbox per plugin instead of a full asset scanner. Unloadly is not a replacement for a cache or CSS minifier. Hooks Developers can change post types, protected plugins, protected handles, and the disabled list for a request. Hook names are prefixed with unloadly_. See includes/Hook.php. Support Plugin page: https://versouq.com/unloadly-disable-unused-css-js/. Email support@versouq.com. After the plugin is listed, you can also use the WordPress.org support forum.

安装:

  1. Upload the unloadly folder to /wp-content/plugins/.
  2. Activate Unloadly through the Plugins screen.
  3. Open Settings > Unloadly for sitewide options.
  4. Edit a page or post and use the Unloadly box to disable plugin assets for that URL.
  5. If you use a page cache, flush it after you change rules.

屏幕截图:

  • General settings: dequeue CSS and JS handles sitewide, and optionally remove oEmbed, REST API, and RSD links from the document head.
  • Sanity check: view source and search for the plugin folder name. This is a quick check, not a complete audit.

升级注意事项:

1.0.0 First public release.

常见问题:

Does this replace a caching plugin?

No. Unloadly only removes selected CSS and JS from the page output. Use it with any page cache, and flush that cache after you change Unloadly rules.

Will this disable a plugin completely?

No. PHP still runs. Only matching frontend CSS and JS are dequeued.

Can I keep a plugin's assets on some pages?

Yes. Per-page rules are stored on that page or post. Sitewide handle lists apply everywhere.

Does it work with WooCommerce, Elementor, or Divi?

Yes. Tick those plugins only on pages that do not use them. Leave WooCommerce loaded on shop, cart, and checkout. Leave Elementor or Divi loaded on pages built with them.

How do I check that a plugin's CSS and JS were unloaded?

View the page source and search for the plugin folder name (the directory under wp-content/plugins). If the name is gone, those files were probably not printed. That is a quick sanity check, not a complete audit. Some plugins load from a CDN, print inline code, or use handles with no folder path, so the name might be missing even when other code from that plugin is still on the page.

Where can I get support?

Email support@versouq.com or open a thread on the WordPress.org support forum.

更新日志:

1.0.0