Developers, it’s time for you to choose a side: will you help rid the web of privacy-invading tracking or be complicit in it?

https://cleanuptheweb.org/

#CleanUpTheWeb #FlocOffGoogle

  • Helix@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    3 years ago

    Would be nice if the site was actually useful, like telling me what to put in my nginx server config to add the header. I’ll edit this comment to include it later.

    • j0ta@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      3 years ago

      To opt your site out of FLoC, you need to send the Permissions Policy HTTP response header.

      Permissions Policy is a new header that allows a site to control which features and APIs can be used in the browser. To opt-out, use this header:

      Permissions-Policy: interest-cohort=()

      If you have access to the .htaccess file on your Apache server, you can edit it with this code to set your Permissions Policy:

      <IfModule mod_headers.c> Header always set Permissions-Policy: interest-cohort=() </IfModule>