~mfru/wp-blue-infinity-blocker

35e0da14d9b803449a9ab78a70d24d231a8b005f — Max Frühschütz 2 years ago 8f44358
correct function names
1 files changed, 2 insertions(+), 2 deletions(-)

M blue-infinity-blocker.php
M blue-infinity-blocker.php => blue-infinity-blocker.php +2 -2
@@ 31,7 31,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', 'blb_fake_tracker_available');
function bfbibt_fake_tracker_available()  {
function blb_fake_tracker_available()  {
	// Let Meta think that their tracker is already installed
	$fake_tracker_1 = '<span id="iab-pcm-sdk"></span>';
	$fake_tracker_2 = '<span id="iab-autofill-sdk"></span>';


@@ 40,7 40,7 @@ function bfbibt_fake_tracker_available()  {
}

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

	$block_text_selection_script = '