mrfd / kirby-disable-floc
Automatically disable Google's floc in Kirby 3
Fund package maintenance!
paypal.me/mrfdnl/5
buymeacoff.ee/mrfd
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:kirby-plugin
Requires
- php: ^7.3|^7.4|^8.0
- getkirby/composer-installer: ^1.1
README
This plugin for Kirby 3 disables Google's FLoC automatically.
Commerical Usage
This plugin is free but if you use it in a commercial project please consider to
Requirements
- PHP 7.3+
- Kirby 3
Installation
Download
Download and copy the files to /site/plugins/kirby-disable-floc
.
Git submodule
$ git submodule add https://github.com/MRFD/kirby-disable-floc.git site/plugins/kirby-disable-floc
Composer
composer require MRFD/kirby-disable-floc
Usage
After installing this plugin, the Permissions-Policy
header is automatically added to every route by utilising Kirby's route:before
hook. This ensures that FLoC is disabled.
Options
mrfd.kirby-disable-floc. | Default | Description |
---|---|---|
enable | true |
enables or disables the plugin |
replace | true |
replacing existing Permissions-Policy header |
Disclaimer
This plugin is provided "as is" with no guarantee. Use it at your own risk and always test it yourself before using it in a production environment. If you find any issues, please create a new issue.
License
Kirby Disable FLoC is open-sourced software licensed under the MIT license.
Copyright © 2021 Marijn Roovers