[quote=lordheinz]i want to use this one but i cant understand..can anybody translate it to even a simple english ..just the important one...[/quote]
you can use this script PHP for your external JS

[quote]<?
//php-javascript file
//copyright 2008 rudy (
http://profiles.friendster.com/bluekuthuq)
$basename='http://profiles.friendster.com';
$url=array();
[b]//edit this url,[/b]
$url[0]=$basename.'/0000000'; [b]//your friendster uid[/b]
$url[1]=$basename.'/user.php?uid=000000'; [b]//your friendster uid[/b]
$url[2]=$basename.'/asdfgh'; [b]//personalized url[/b]
$url[3]='http://profiles.friendster.com//asdfgh'; [b]//personalized url[/b]
[b]//end edit[/b]
$referer=$_SERVER['HTTP_REFERER'];
function cekReferer(){
global $url,$referer;
foreach($url as $key=>$value){
if($referer===$value) return true;
}
return false;
}
if(!cekReferer()){
[b]//this is for permission to access this file[/b]
?>
<html><head><title>403 Forbidden</title></head><body><h1>Forbidden</h1>You don't have permission to access <? echo $_SERVER['PHP_SELF'] ?> on this server.<hr /></body></html>
<?
} else {
[b]//Don't delete this code[/b]
header("Content-type:text/javascript;charset:UTF-8");
?>
[b]//Write your JS code here
//example[/b]
alert('welcome');
<? } ?>[/quote]
save as that code with extension [b]PHP[/b]
example [b]LORDHEINZ.PHP[/b]