Changeset 2516863
- Timestamp:
- 04/17/2021 04:34:10 PM (5 years ago)
- Location:
- wpm-floc
- Files:
-
- 16 edited
- 1 copied
-
tags/0.1.14 (copied) (copied from wpm-floc/trunk)
-
tags/0.1.14/inc/FLoC/Component.php (modified) (1 diff)
-
tags/0.1.14/readme.txt (modified) (3 diffs)
-
tags/0.1.14/vendor/autoload.php (modified) (1 diff)
-
tags/0.1.14/vendor/composer/InstalledVersions.php (modified) (2 diffs)
-
tags/0.1.14/vendor/composer/autoload_real.php (modified) (5 diffs)
-
tags/0.1.14/vendor/composer/autoload_static.php (modified) (2 diffs)
-
tags/0.1.14/vendor/composer/installed.php (modified) (2 diffs)
-
tags/0.1.14/wpmfloc.php (modified) (3 diffs)
-
trunk/inc/FLoC/Component.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/vendor/autoload.php (modified) (1 diff)
-
trunk/vendor/composer/InstalledVersions.php (modified) (2 diffs)
-
trunk/vendor/composer/autoload_real.php (modified) (5 diffs)
-
trunk/vendor/composer/autoload_static.php (modified) (2 diffs)
-
trunk/vendor/composer/installed.php (modified) (2 diffs)
-
trunk/wpmfloc.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wpm-floc/tags/0.1.14/inc/FLoC/Component.php
r2516816 r2516863 40 40 */ 41 41 public function disable( $headers, $wp ) { 42 if ( isset( $headers['Permissions-Policy'] ) && ! empty( $headers['Permissions-Policy'] ) ) {42 if ( isset( $headers['Permissions-Policy'] ) && ! empty( $headers['Permissions-Policy'] ) && strpos( $headers['Permission-Policy'], 'interest-cohort' ) === false ) { 43 43 $headers['Permissions-Policy'] = $headers['Permissions-Policy'] . ', interest-cohort=()'; 44 44 } else { -
wpm-floc/tags/0.1.14/readme.txt
r2516843 r2516863 1 1 === Disable FLoC === 2 2 Contributors: wpmunich,luehrsen 3 Tags: privacy,floc,header,federated learning ofcohorts,tracking3 Tags: privacy,floc,header,federated,cohorts,tracking 4 4 Requires at least: 5.0 5 5 Tested up to: 5.7 … … 7 7 License: GPLv2 8 8 License URI: https://www.gnu.de/documents/gpl-2.0.html 9 Stable tag: 0.1.1 39 Stable tag: 0.1.14 10 10 11 11 A simple zero-config plugin to opt-out of Google "Federated Learning of Cohorts" (FLoC). 12 12 13 13 == Description == 14 ## Disable the tracking of your users with FLoC .14 ## Disable the tracking of your users with FLoC 15 15 16 16 **Federated Learning of Cohorts** (FLoC) is a replacement for third party cookies in chromium browsers like Chrome to target users with ads based on their interests. The proposed solution is better than using 17 17 third party cookies, but it still raises concerns in terms of privacy and data protection. 18 19 ## How does this plugin work? 18 20 19 21 This plugin tells your WordPress system to send a special header that disables FLoC on your website. There is no configuration needed besides installing the plugin. … … 40 42 1. Activate 'Disable FLoC' through the 'Plugins' menu in WordPress 41 43 44 == Frequently Asked Questions == 45 = How do I check if it is working? = 46 When you look at the headers of a page request to your WordPress you should see a **Permissions-Policy** header with the value **interest-cohort=()**. 47 48 = The plugin is active, but the header is not there. = 49 The most common issue are caching plugins, that are often stripping headers. Make sure that HTTP Headers get cached with your site in the configuration of your page cache. 50 51 = Why should I install this plugin when I'm not using the Chrome browser? = 52 The plugin does not only stop your browser from tracking with FLoC, but also the browsers from all of your users. So you're not primarily installing the plugin for yourself, but for your users. 53 42 54 == Changelog == 43 55 = 1.0.0 = -
wpm-floc/tags/0.1.14/vendor/autoload.php
r2516843 r2516863 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit 0334ed9bdd880d62f012105e434968bb::getLoader();7 return ComposerAutoloaderInit829402fce9b9c6f950f7bab4b3be30a2::getLoader(); -
wpm-floc/tags/0.1.14/vendor/composer/InstalledVersions.php
r2516843 r2516863 31 31 array ( 32 32 ), 33 'reference' => ' 7f782ae85d7bf55446e3a37d38f547e83999e430',33 'reference' => 'a9538c0439f8b57b374b60abca3ffb7c80d7ad04', 34 34 'name' => 'wpmunich/lhbpp', 35 35 ), … … 52 52 array ( 53 53 ), 54 'reference' => ' 7f782ae85d7bf55446e3a37d38f547e83999e430',54 'reference' => 'a9538c0439f8b57b374b60abca3ffb7c80d7ad04', 55 55 ), 56 56 ), -
wpm-floc/tags/0.1.14/vendor/composer/autoload_real.php
r2516843 r2516863 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 0334ed9bdd880d62f012105e434968bb5 class ComposerAutoloaderInit829402fce9b9c6f950f7bab4b3be30a2 6 6 { 7 7 private static $loader; … … 23 23 } 24 24 25 spl_autoload_register(array('ComposerAutoloaderInit 0334ed9bdd880d62f012105e434968bb', 'loadClassLoader'), true, true);25 spl_autoload_register(array('ComposerAutoloaderInit829402fce9b9c6f950f7bab4b3be30a2', 'loadClassLoader'), true, true); 26 26 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); 27 spl_autoload_unregister(array('ComposerAutoloaderInit 0334ed9bdd880d62f012105e434968bb', 'loadClassLoader'));27 spl_autoload_unregister(array('ComposerAutoloaderInit829402fce9b9c6f950f7bab4b3be30a2', 'loadClassLoader')); 28 28 29 29 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); … … 31 31 require __DIR__ . '/autoload_static.php'; 32 32 33 call_user_func(\Composer\Autoload\ComposerStaticInit 0334ed9bdd880d62f012105e434968bb::getInitializer($loader));33 call_user_func(\Composer\Autoload\ComposerStaticInit829402fce9b9c6f950f7bab4b3be30a2::getInitializer($loader)); 34 34 } else { 35 35 $map = require __DIR__ . '/autoload_namespaces.php'; … … 52 52 53 53 if ($useStaticLoader) { 54 $includeFiles = Composer\Autoload\ComposerStaticInit 0334ed9bdd880d62f012105e434968bb::$files;54 $includeFiles = Composer\Autoload\ComposerStaticInit829402fce9b9c6f950f7bab4b3be30a2::$files; 55 55 } else { 56 56 $includeFiles = require __DIR__ . '/autoload_files.php'; 57 57 } 58 58 foreach ($includeFiles as $fileIdentifier => $file) { 59 composerRequire 0334ed9bdd880d62f012105e434968bb($fileIdentifier, $file);59 composerRequire829402fce9b9c6f950f7bab4b3be30a2($fileIdentifier, $file); 60 60 } 61 61 … … 64 64 } 65 65 66 function composerRequire 0334ed9bdd880d62f012105e434968bb($fileIdentifier, $file)66 function composerRequire829402fce9b9c6f950f7bab4b3be30a2($fileIdentifier, $file) 67 67 { 68 68 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
wpm-floc/tags/0.1.14/vendor/composer/autoload_static.php
r2516843 r2516863 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 0334ed9bdd880d62f012105e434968bb7 class ComposerStaticInit829402fce9b9c6f950f7bab4b3be30a2 8 8 { 9 9 public static $files = array ( … … 32 32 { 33 33 return \Closure::bind(function () use ($loader) { 34 $loader->prefixLengthsPsr4 = ComposerStaticInit 0334ed9bdd880d62f012105e434968bb::$prefixLengthsPsr4;35 $loader->prefixDirsPsr4 = ComposerStaticInit 0334ed9bdd880d62f012105e434968bb::$prefixDirsPsr4;36 $loader->classMap = ComposerStaticInit 0334ed9bdd880d62f012105e434968bb::$classMap;34 $loader->prefixLengthsPsr4 = ComposerStaticInit829402fce9b9c6f950f7bab4b3be30a2::$prefixLengthsPsr4; 35 $loader->prefixDirsPsr4 = ComposerStaticInit829402fce9b9c6f950f7bab4b3be30a2::$prefixDirsPsr4; 36 $loader->classMap = ComposerStaticInit829402fce9b9c6f950f7bab4b3be30a2::$classMap; 37 37 38 38 }, null, ClassLoader::class); -
wpm-floc/tags/0.1.14/vendor/composer/installed.php
r2516843 r2516863 7 7 array ( 8 8 ), 9 'reference' => ' 7f782ae85d7bf55446e3a37d38f547e83999e430',9 'reference' => 'a9538c0439f8b57b374b60abca3ffb7c80d7ad04', 10 10 'name' => 'wpmunich/lhbpp', 11 11 ), … … 28 28 array ( 29 29 ), 30 'reference' => ' 7f782ae85d7bf55446e3a37d38f547e83999e430',30 'reference' => 'a9538c0439f8b57b374b60abca3ffb7c80d7ad04', 31 31 ), 32 32 ), -
wpm-floc/tags/0.1.14/wpmfloc.php
r2516843 r2516863 4 4 * 5 5 * @package wpmfloc 6 * @version 0.1.1 36 * @version 0.1.14 7 7 * 8 8 * Plugin Name: Disable FLoC … … 11 11 * Author: WP Munich 12 12 * Author URI: https://www.wp-munich.com 13 * Version: 0.1.1 313 * Version: 0.1.14 14 14 * Text Domain: wpm-floc 15 15 */ … … 25 25 26 26 if ( ! defined( 'WPMFLOC_VERSION' ) ) { 27 define( 'WPMFLOC_VERSION', '0.1.1 3' );27 define( 'WPMFLOC_VERSION', '0.1.14' ); 28 28 } 29 29 -
wpm-floc/trunk/inc/FLoC/Component.php
r2516816 r2516863 40 40 */ 41 41 public function disable( $headers, $wp ) { 42 if ( isset( $headers['Permissions-Policy'] ) && ! empty( $headers['Permissions-Policy'] ) ) {42 if ( isset( $headers['Permissions-Policy'] ) && ! empty( $headers['Permissions-Policy'] ) && strpos( $headers['Permission-Policy'], 'interest-cohort' ) === false ) { 43 43 $headers['Permissions-Policy'] = $headers['Permissions-Policy'] . ', interest-cohort=()'; 44 44 } else { -
wpm-floc/trunk/readme.txt
r2516843 r2516863 1 1 === Disable FLoC === 2 2 Contributors: wpmunich,luehrsen 3 Tags: privacy,floc,header,federated learning ofcohorts,tracking3 Tags: privacy,floc,header,federated,cohorts,tracking 4 4 Requires at least: 5.0 5 5 Tested up to: 5.7 … … 7 7 License: GPLv2 8 8 License URI: https://www.gnu.de/documents/gpl-2.0.html 9 Stable tag: 0.1.1 39 Stable tag: 0.1.14 10 10 11 11 A simple zero-config plugin to opt-out of Google "Federated Learning of Cohorts" (FLoC). 12 12 13 13 == Description == 14 ## Disable the tracking of your users with FLoC .14 ## Disable the tracking of your users with FLoC 15 15 16 16 **Federated Learning of Cohorts** (FLoC) is a replacement for third party cookies in chromium browsers like Chrome to target users with ads based on their interests. The proposed solution is better than using 17 17 third party cookies, but it still raises concerns in terms of privacy and data protection. 18 19 ## How does this plugin work? 18 20 19 21 This plugin tells your WordPress system to send a special header that disables FLoC on your website. There is no configuration needed besides installing the plugin. … … 40 42 1. Activate 'Disable FLoC' through the 'Plugins' menu in WordPress 41 43 44 == Frequently Asked Questions == 45 = How do I check if it is working? = 46 When you look at the headers of a page request to your WordPress you should see a **Permissions-Policy** header with the value **interest-cohort=()**. 47 48 = The plugin is active, but the header is not there. = 49 The most common issue are caching plugins, that are often stripping headers. Make sure that HTTP Headers get cached with your site in the configuration of your page cache. 50 51 = Why should I install this plugin when I'm not using the Chrome browser? = 52 The plugin does not only stop your browser from tracking with FLoC, but also the browsers from all of your users. So you're not primarily installing the plugin for yourself, but for your users. 53 42 54 == Changelog == 43 55 = 1.0.0 = -
wpm-floc/trunk/vendor/autoload.php
r2516843 r2516863 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit 0334ed9bdd880d62f012105e434968bb::getLoader();7 return ComposerAutoloaderInit829402fce9b9c6f950f7bab4b3be30a2::getLoader(); -
wpm-floc/trunk/vendor/composer/InstalledVersions.php
r2516843 r2516863 31 31 array ( 32 32 ), 33 'reference' => ' 7f782ae85d7bf55446e3a37d38f547e83999e430',33 'reference' => 'a9538c0439f8b57b374b60abca3ffb7c80d7ad04', 34 34 'name' => 'wpmunich/lhbpp', 35 35 ), … … 52 52 array ( 53 53 ), 54 'reference' => ' 7f782ae85d7bf55446e3a37d38f547e83999e430',54 'reference' => 'a9538c0439f8b57b374b60abca3ffb7c80d7ad04', 55 55 ), 56 56 ), -
wpm-floc/trunk/vendor/composer/autoload_real.php
r2516843 r2516863 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 0334ed9bdd880d62f012105e434968bb5 class ComposerAutoloaderInit829402fce9b9c6f950f7bab4b3be30a2 6 6 { 7 7 private static $loader; … … 23 23 } 24 24 25 spl_autoload_register(array('ComposerAutoloaderInit 0334ed9bdd880d62f012105e434968bb', 'loadClassLoader'), true, true);25 spl_autoload_register(array('ComposerAutoloaderInit829402fce9b9c6f950f7bab4b3be30a2', 'loadClassLoader'), true, true); 26 26 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); 27 spl_autoload_unregister(array('ComposerAutoloaderInit 0334ed9bdd880d62f012105e434968bb', 'loadClassLoader'));27 spl_autoload_unregister(array('ComposerAutoloaderInit829402fce9b9c6f950f7bab4b3be30a2', 'loadClassLoader')); 28 28 29 29 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); … … 31 31 require __DIR__ . '/autoload_static.php'; 32 32 33 call_user_func(\Composer\Autoload\ComposerStaticInit 0334ed9bdd880d62f012105e434968bb::getInitializer($loader));33 call_user_func(\Composer\Autoload\ComposerStaticInit829402fce9b9c6f950f7bab4b3be30a2::getInitializer($loader)); 34 34 } else { 35 35 $map = require __DIR__ . '/autoload_namespaces.php'; … … 52 52 53 53 if ($useStaticLoader) { 54 $includeFiles = Composer\Autoload\ComposerStaticInit 0334ed9bdd880d62f012105e434968bb::$files;54 $includeFiles = Composer\Autoload\ComposerStaticInit829402fce9b9c6f950f7bab4b3be30a2::$files; 55 55 } else { 56 56 $includeFiles = require __DIR__ . '/autoload_files.php'; 57 57 } 58 58 foreach ($includeFiles as $fileIdentifier => $file) { 59 composerRequire 0334ed9bdd880d62f012105e434968bb($fileIdentifier, $file);59 composerRequire829402fce9b9c6f950f7bab4b3be30a2($fileIdentifier, $file); 60 60 } 61 61 … … 64 64 } 65 65 66 function composerRequire 0334ed9bdd880d62f012105e434968bb($fileIdentifier, $file)66 function composerRequire829402fce9b9c6f950f7bab4b3be30a2($fileIdentifier, $file) 67 67 { 68 68 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
wpm-floc/trunk/vendor/composer/autoload_static.php
r2516843 r2516863 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 0334ed9bdd880d62f012105e434968bb7 class ComposerStaticInit829402fce9b9c6f950f7bab4b3be30a2 8 8 { 9 9 public static $files = array ( … … 32 32 { 33 33 return \Closure::bind(function () use ($loader) { 34 $loader->prefixLengthsPsr4 = ComposerStaticInit 0334ed9bdd880d62f012105e434968bb::$prefixLengthsPsr4;35 $loader->prefixDirsPsr4 = ComposerStaticInit 0334ed9bdd880d62f012105e434968bb::$prefixDirsPsr4;36 $loader->classMap = ComposerStaticInit 0334ed9bdd880d62f012105e434968bb::$classMap;34 $loader->prefixLengthsPsr4 = ComposerStaticInit829402fce9b9c6f950f7bab4b3be30a2::$prefixLengthsPsr4; 35 $loader->prefixDirsPsr4 = ComposerStaticInit829402fce9b9c6f950f7bab4b3be30a2::$prefixDirsPsr4; 36 $loader->classMap = ComposerStaticInit829402fce9b9c6f950f7bab4b3be30a2::$classMap; 37 37 38 38 }, null, ClassLoader::class); -
wpm-floc/trunk/vendor/composer/installed.php
r2516843 r2516863 7 7 array ( 8 8 ), 9 'reference' => ' 7f782ae85d7bf55446e3a37d38f547e83999e430',9 'reference' => 'a9538c0439f8b57b374b60abca3ffb7c80d7ad04', 10 10 'name' => 'wpmunich/lhbpp', 11 11 ), … … 28 28 array ( 29 29 ), 30 'reference' => ' 7f782ae85d7bf55446e3a37d38f547e83999e430',30 'reference' => 'a9538c0439f8b57b374b60abca3ffb7c80d7ad04', 31 31 ), 32 32 ), -
wpm-floc/trunk/wpmfloc.php
r2516843 r2516863 4 4 * 5 5 * @package wpmfloc 6 * @version 0.1.1 36 * @version 0.1.14 7 7 * 8 8 * Plugin Name: Disable FLoC … … 11 11 * Author: WP Munich 12 12 * Author URI: https://www.wp-munich.com 13 * Version: 0.1.1 313 * Version: 0.1.14 14 14 * Text Domain: wpm-floc 15 15 */ … … 25 25 26 26 if ( ! defined( 'WPMFLOC_VERSION' ) ) { 27 define( 'WPMFLOC_VERSION', '0.1.1 3' );27 define( 'WPMFLOC_VERSION', '0.1.14' ); 28 28 } 29 29
Note: See TracChangeset
for help on using the changeset viewer.