Linux 软件免费装
Banner图

Auto SRI

开发者 Zafir Sk Heerah
更新时间 2025年12月10日 20:48
PHP版本: 5.0 及以上
WordPress版本: 6.8
版权: GPLv2 or later
版权网址: 版权信息

标签

performance security integrity csp sri

下载

2.0 2.1 1.8 1.9

详情介绍:

Auto SRI automatically adds Subresource Integrity (SRI) attributes to scripts and styles loaded from external sources. This improves security, protects against tampering, and enables strict Content Security Policy (CSP) setups. Features Why some scripts are excluded This plugin automatically excludes: Want to whitelist a dynamic provider? Contact us at izafirsk@gmail.com. These exclusions prevent:

安装:

  1. Upload the plugin to /wp-content/plugins/auto-sri == Frequently Asked Questions ==
Does this plugin apply SRI in the WordPress admin panel? No. The plugin automatically skips the WordPress admin panel (wp-admin) to prevent any conflicts with admin scripts and ensure smooth backend operation. = Why are some scripts not receiving SRI? =\ Scripts from Google reCAPTCHA, Google Fonts, WordPress.com widgets, and other dynamic sources cannot support SRI because their content changes on every request. This plugin intelligently detects those sources and safely skips them. = Why are some scripts not receiving SRI? =\ Scripts from Google reCAPTCHA, Google Fonts, wsimg, ywxi, and other dynamic sources cannot support SRI because their content changes on every request. This plugin intelligently detects those sources and safely skips them. = Does this affect performance? =\ No. SRI hashes are computed once and stored in the WordPress options table. = Does this break Elementor or CookieYes? =\ No. This plugin is fully compatible and tested against common dynamic script loaders. = Does this plugin help with CSP? =\ Yes — it allows you to safely enforce: For excluded domains, you should whitelist them in your CSP.

升级注意事项:

2.1 Improved settings page UX and added settings link.

更新日志:

2.1 2.0 1.9 1.8 1.7 1.6 1.5 1.4 1.3