Просмотр файла PJS_v0.2.demo.js

Размер файла: 954B
// PJS library version 0.02.demo
// authors : master_xss,Http2010,raine
// 
// e-mail  : [email protected]

var $ = "var ";

var $_SERVER = new Array()
 $_SERVER["HTTP_USER_AGENT"] = navigator.userAgent;
 $_SERVER["HTTP_ACCEPT_LANGUAGE"] = navigator.userLanguage;
 $_SERVER["HTTP_HOST"] = document.location.href;
 $_SERVER["HTTP_REFERER"] = document.referrer;   //new 


function empty(varr)
{
 if (varr === " " || varr === 0 || varr === false || varr === "0" || varr === null) {
return true
 } else {
return false
 }
} // new  
     
function rand(min,max)
{
  if (min == undefined || max == undefined) {
   var n = 99999999;
   return Math.floor( Math.random( ) * (n+1) );
  } else {
   min = parseInt(min);
   max = parseInt(max);
   return Math.floor( Math.random() * (max - min + 1) ) + min;
  }
}

function echo(text) {
   document.write(text);
}   
function print(text) {
   document.write(text);
} //new