mrfd/kirby-disable-floc

Automatically disable Google's floc in Kirby 3

v0.0.1 2021-05-11 12:00 UTC

This package is auto-updated.

Last update: 2024-05-12 18:47:40 UTC


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

Credits