Check out my twitter script by CMXads
Till death do us part Axels New Music releases | Viking gear Gear Gifts and Apparel | Goth and Gore Gifts Shop right now or else! | Sell your soul Believeth in me an hath everlasting life |
here are some of the best and useful php scripts and snippets to help in your projects. Php displayed below. Use the search for specific script lookups. Click the category links to view scripts in Javascript and cgi. To add your own script click the link and add your useful script example.
BLOCK REFERRER FROM SPECIFIC DOMAINS WITH JAVASCRIPT
specify referrals for script to BLOCK
//Extend list as necessary
//if you wish an entire domain to be blocked, enter that (ie: "javascriptkit.com")
var invalidreferrals=new Array()
invalidreferrals[0]="tripod.com"
invalidreferrals[1]="fortunecity.com"
var failed=0
for (r=0;r<invalidreferrals.length;r++){
if (document.referrer.indexOf(invalidreferrals[r])!=-1){
failed=1
break
}
}
if (failed>0){
alert("Access to the page denied!")
history.go(-1)
}