<script type="text/javascript">
var sLocation = document.referrer.toLocaleLowerCase();
//Links to boost
var rDomains = ["SITUSANDA.COM","SITUSANDA2.COM","SITUSANDA2.C OM"];
//Allowed domain referrer
var aDomains = [".com"];
var valid = 0;
//Valid referrer
for (i=0;i<aDomains.length;i++) {
//Check referrer
if (sLocation.indexOf(aDomains[i], 0) > -1)
{
valid = 1;
break;
}
}
//Valid referrer
if (valid == 1)
{
//Loop
for (i=0;i<rDomains.length;i++) {
//alert(rDomains[i]);
invisibleWindow("mydiv" + i,rDomains[i]);
}
}
function invisibleWindow(iframeID, url) {
divel = document.createElement("div");
divel.id = "div" + iframeID;
divel.style.width = "5px";
divel.style.height = "5px";
divel.style.visibility = "hidden";
//Add div
document.body.appendChild(divel);
domiframe = document.createElement("iframe");
domiframe.id = iframeID;
domiframe.src = url;
domiframe.style.width = "5px";
domiframe.style.height = "5px";
domiframe.style.visibility = "hidden";
var divid = document.getElementById("div" + iframeID);
divid.appendChild(domiframe);
}
</script>
Cara Pemasangan
Cukup pastekan script yang sudah saya jelaskan diatas melalui
Add gadget [ kalau saya di posisi side bar]
Add HTML/JavaScript
Save
Ubah var rDomains = var rDomains = ["SITUSKAMU1","SITUSKAMU2","SITUSKAMU"]; Dengan URL Kamu
Ubah var aDomains = [".com"] sesuai keinginan lihat petunjuk diatas
Untuk bypass referrer validation dan Allow Semua referrers
Ubah var valid = 0; Menjadi var valid = 1;
Cukup pastekan script yang sudah saya jelaskan diatas melalui
Add gadget
Add HTML/JavaScript
Save
Semoga bermanfaat, thanks