This plugin for Kirby 3 disables Google's FLoC automatically.
This plugin is free but if you use it in a commercial project please consider to
- PHP 7.3+
- Kirby 3
Download and copy the files to /site/plugins/kirby-disable-floc
.
$ git submodule add https://github.com/MRFD/kirby-disable-floc.git site/plugins/kirby-disable-floc
composer require MRFD/kirby-disable-floc
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.
mrfd.kirby-disable-floc. | Default | Description |
---|---|---|
enable | true |
enables or disables the plugin |
replace | true |
replacing existing Permissions-Policy header |
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.
Kirby Disable FLoC is open-sourced software licensed under the MIT license.
Copyright © 2021 Marijn Roovers