Linux 软件免费装

knuspermedia Local Fonts & Icons

开发者 knuspermedia
更新时间 2026年11月9日 16:24
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

font awesome gdpr google fonts dsgvo local fonts

下载

1.4.0

详情介绍:

When a page loads Google Fonts or Font Awesome from their servers, every visitor's browser sends its IP address to Google or Font Awesome. German courts have ruled that this can violate the GDPR (DSGVO). knuspermedia Local Fonts & Icons finds these fonts and icons on your pages, downloads them once to your own server and rewrites the page, so visitors only load them from your domain. It works automatically after activation, no configuration needed. This plugin is not affiliated with Google or Fonticons, Inc. (Font Awesome). What it handles Only stylesheets and font files are stored, in wp-content/uploads/knuspermedia-local-fonts-icons/. The plugin never stores JavaScript. Check your pages Under Settings → Local Fonts & Icons you can check any page of your site for remaining references to Google Fonts or Font Awesome, see which files were stored locally and clear the cache. Common page cache plugins (WP Rocket, W3 Total Cache, LiteSpeed Cache, WP Super Cache, Autoptimize and others) are purged automatically. This plugin is a technical tool. It does not provide legal advice and cannot guarantee that your website complies with the GDPR or any other law. WP-CLI

安装:

  1. Upload the plugin through Plugins → Add New or copy the knuspermedia-local-fonts-icons folder to wp-content/plugins/.
  2. Activate the plugin. If you use OMGF, deactivate it, so the two plugins don't interfere.
  3. Visit your site once, then go to Settings → Local Fonts & Icons and use "Check page".
  4. Clear your page cache if your cache plugin isn't purged automatically.

常见问题:

Does it work with page builders like Divi or Elementor?

Yes. Fonts the builder adds to the page are localized, and fonts its scripts add later in the browser are blocked by the JavaScript guard. The plugin doesn't run inside the builder's editor preview.

What happens to Font Awesome's JavaScript version?

The script (e.g. js/all.min.js) is replaced by the stylesheet of the same release (css/all.min.css). Icons look the same; features that only exist in the SVG version, such as layers, masking and power transforms, are not available. A script enqueued through WordPress is replaced right away, a script tag that a theme prints directly from the next page view on; common page caches are purged once at that moment, so the first view isn't kept.

What about Font Awesome Kits and Pro?

A kit that is enqueued through WordPress is replaced right away. A kit whose script tag a theme prints directly is removed and replaced from the next page view on. Kits are replaced by Font Awesome Free, so Pro icons and custom kit icons are missing; bundle the Pro files with your theme instead. Pro stylesheets loaded from pro.fontawesome.com are mirrored if your domain is allowed in your Font Awesome account.

Does it cover the login page?

Yes, for stylesheets and scripts enqueued through WordPress. The login page is not a template, so WordPress doesn't buffer it and files that a plugin prints directly there stay untouched.

Does it handle Google Maps, reCAPTCHA or YouTube?

No. Only fonts and icons are handled. Other Google services need consent from your visitors, e.g. through a cookie consent tool. Fonts that Google Maps adds in the browser are blocked by the JavaScript guard.

How can I see a page without the plugin?

Append ?nowpdf to the URL.

更新日志:

1.4.0 1.3.0 1.2.0 1.1.0 1.0.2 1.0.1 1.0.0