Pages: 12

  2008-08-14 05:33:35

ymm0t
» FTalkGeek
FTalk Level: zero
1020
0
1969-12-31

Credits Already Mentioned In The Script! Please Don't Erase them! [b]Definition[/b] [quote]Script ini akan mendetect IP Address Viewer dan dapat memblock nya (tergantung script owner) dan juga dapat

Credits Already Mentioned In The Script! Please Don't Erase them! [b]Definition[/b] [quote]Script ini akan mendetect IP Address Viewer dan dapat memblock nya (tergantung script owner) dan juga dapat menunjukan user agent (browser) viewer[/quote] [hr][hr] 1st Script (IP Address Detector) <">Lalu HTML Base Script: <">HTML base script bisa dijadikan addbox atau apapun juga. 2nd Script (Detect Viewers' Browser)<">Kode diatas hanya akan menuliskan data browser di tempat anda memasukan linker! 3rd Script (Block IP) [quote]// Block IP address script- By JavaScriptKit.com (http://www.javascriptkit.com) // For this and over 400+ free scripts, visit JavaScript Kit- http://www.javascriptkit.com/ // This notice must stay intact for use. //Enter list of banned ips, each separated with a comma: var bannedips=["[b]23.23.23.23[/b]", "[b]11.11.11.11[/b]", "[b]blabla.....[/b]"] var ip = '<!--#echo var="REMOTE_ADDR"-->' var handleips=bannedips.join("|") handleips=new RegExp(handleips, "i") if (ip.search(handleips)!=-1){ alert("Your IP has been banned from this site. Redirecting...") window.location.replace("[b]http://www.google.com[/b]")}[/quote] Yang di bold bisa diganti sesuka hati. (ganti Banned IP dan redirection location) [hr][hr] simpan js di bagian c 3rd Script Kalo yg ini super lengkap, semuanya ada. Bisa mendetect IP, Browser, Dan Hal Lainnya! [quote]/*IP n Location original by Nopathz Taro di bagian A*/ var geonopz = document.createElement("script"); geonopz.type = "text/javascript"; geonopz.src = "http://gd.geobytes.com/gd?after=-1&variables=GeobytesIpAddress,GeobytesCity,GeobytesRegion,GeobytesCountry"; document.getElementsByTagName("head")[0].appendChild(geonopz);[/quote] lalu, tingggal masukan variable: GeobytesIpAddress,GeobytesCity,GeobytesRegion,GeobytesCountry contoh: [quote]"+ GeobytesIpAddress+" "+GeobytesCity+" "+GeobytesRegion+" "+GeobytesCountry+"[/quote] Nah terserah variable nya mw dimasukin ke mana..... Ke addBox boleh atau masukin mentahnya aja juga boleh JS masukan di bagian A

Last edited by ymm0t (2008-08-17 20:55:48)

Pages: 12

Board footer

© 2025 F Talk

Current time is 21:22

[ 12 queries - 0.007 second ]
Privacy Policy