~mfru/wp-blue-infinity-blocker

dd01d3329087e1d4b270eba1be992db75a66f99c — Max Frühschütz 2 years ago 7f9336d
rename plugin
2 files changed, 8 insertions(+), 8 deletions(-)

R wp-block-meta-in-app-browser-tracking.php => blue-infinity-blocker.php
M readme.txt
R wp-block-meta-in-app-browser-tracking.php => blue-infinity-blocker.php +5 -5
@@ 1,7 1,7 @@
<?php
/**
* Plugin Name: Block Meta In-App Browser Tracking
* Plugin URI: https://git.sr.ht/~mfru/wp-block-meta-in-app-browser-tracking
* Plugin Name: Blue Infinity Blocker
* Plugin URI: https://git.sr.ht/~mfru/blue-infinity-blocker
* Description: A plugin that acts as a measure against Metas newest habit of injecting custom tracking JS into in-app browser sessions.
* Version: 1.0.0
* Author: Maximilian Frühschütz


@@ 11,7 11,7 @@
*/

/**
*    Block Meta In-App Browser Tracking — A plugin that acts as a measure against Metas newest habit of injecting custom tracking JS into in-app browser sessions.
*    Blue Infinity Blocker — A plugin that acts as a measure against Metas newest habit of injecting custom tracking JS into in-app browser sessions.
*    Copyright (C) 2022  Maximilian Frühschütz
*
*    This program is free software: you can redistribute it and/or modify


@@ 30,7 30,7 @@

// Source for implementation: https://krausefx.com/blog/ios-privacy-instagram-and-facebook-can-track-anything-you-do-on-any-website-in-their-in-app-browser

add_action('wp_head', 'bfbibt_fake_tracker_available');
add_action('wp_head', 'blb_fake_tracker_available');
function bfbibt_fake_tracker_available()  {
	// Let Meta think that their tracker is already installed
	$fake_tracker_1 = '<span id="iab-pcm-sdk"></span>';


@@ 39,7 39,7 @@ function bfbibt_fake_tracker_available()  {
	echo $fake_tracker_1 . $fake_tracker_2;
}

add_action('wp_footer', 'bfbibt_stop_text_selection');
add_action('wp_footer', 'blb_stop_text_selection');
function bfbibt_stop_text_selection() {
	// prevents Meta from tracking selected text


M readme.txt => readme.txt +3 -3
@@ 1,4 1,4 @@
=== Block Meta In-App Browser Tracking === 
=== Blue Infinity Blocker === 
Contributors: mfru
Donate link: https://ko-fi.com/mfruehschuetz
Tags: block, in-app, tracking


@@ 17,8 17,8 @@ More info on what is going on: https://krausefx.com/blog/ios-privacy-instagram-a

== Installation ==

1. Upload the files to the `/wp-content/plugins/wp-block-meta-in-app-browser-tracking/` directory or install through WordPress directly.
2. Activate the "Block Meta In-Browser Tracking" plugin through the 'Plugins' menu in WordPress
1. Upload the files to the `/wp-content/plugins/blue-infinity-blocker/` directory or install through WordPress directly.
2. Activate the "Blue Infinity Blocker" plugin through the 'Plugins' menu in WordPress
3. Done, all the measures are applied automatically.

= 1.0 =