ADS HERE!
Ane nemu trik untuk proteksi Adsense kita, dengan Adsense Shieldsalah satu temen FB ane share trik ini... Thanks Buat Rio Fernando
nah sekilas mengenai script ini, cara kerjanya yaitu menyembunyikan iklan adsense kita dari pengunjung yang sudah klik iklan kita. sudah pasti tujuan nya utk mencegah click fraud/click bomb.
hmmm,, ini script buat Wordpress..
ok caranya langsung saja cekidot :
1. Download script Adsense Shield disini (gratis)
2. Extract filenya
3. Buka file ad-alternate.html dg notepad atau html editor.
Disini kita punya dua pilihan, untuk menyembunyikan adsense, cukup kosongkan file tersebut dan simpan. Sedangkan jika hendak menampilkan iklan alternatif, isi file tersebut dg kode iklan alternatif yg diinginkan (amazon, clickbank dll).
4. Upload file shield.php dan ad-alternate.html ke root folder kita, biasanya di /public_html/
5. Masih di root folder /public_html/ itu, cari dan buka file index.php
6. Tambahkan kode include_once('./shield.php'); tepat setelah kode <?php, jadi nanti isi file index.php-nya akan seperti ini:
01 | <?php |
02 | include_once ( './shield.php' ); |
03 | /** |
04 | * Front to the <a title="WordPress" href="http://wordpress.org" rel="nofollow">WordPress</a> application. This file doesn't do anything, but loads |
05 | * wp-blog-header.php which does and tells WordPress to load the theme. |
06 | * |
07 | * @package WordPress |
08 | */ |
09 |
10 | /** |
11 | * Tells WordPress to load the WordPress theme and output it. |
12 | * |
13 | * @var bool |
14 | */ |
15 | define( 'WP_USE_THEMES' , true); |
16 |
17 | /** Loads the WordPress Environment and Template */ |
18 | require ( './wp-blog-header.php' ); |
19 | ?> |
Jika merasa waktu 24 jam itu terlalu lama, buka file shield.php dan ubah kode dibaris ke 12:
'expires.setTime(expires.getTime() + 86400000);',
dan ganti angka 86400000 dg lamanya waktu yg diinginkan dalam millisecond, konversi waktunya seperti ini:
24 hours = 86 400 000 milliseconds
1 hour = 3 600 000 milliseconds
1 minute = 60 000 milliseconds
source : http://fortifshare.internettvproduct.com/20110918163617/
http://www.kaskus.us/showthread.php?t=7484235
ADS HERE!
ini buat wordpress?
ReplyDeletebwt blogspot ada ga?
kalo utk blogspot ane blm nemu...hmmm
ReplyDeletedi oprek aja ya gan
follow backnya ditunggu member 52 ditunggu di http://ahasbi.blogspot.com/
ReplyDeletesaya juga sudah folow,.. folow jg ya gan,,.. manteb nie triknya,.. sayang untuk blogger gk da,..
ReplyDeletewah makasi linknya gan, jd g perlu ndaftar di web aslinya, heheheh
ReplyDelete