Фрилансеры предложат решение вашей задачи уже через несколько минут!

Публикация заказа на фриланс бирже не займет много времени.

Аркадий К.
29 лет, Россия
12 лет в сервисе
Был онлайн 2 года назад

Если тулбара нету то не начисляются.


первый скрипт

<SCRIPT language=JavaScript1.2 type=text/javascript><!--
function reload(){
var strI=document.stored.Arrayvalue.value;
var str = new Array(20);
// insert target URLs between quote marks in array items below.
// To add or remove the total number items in the array, add
// lines to or remove lines from the array below and
// modify the number in "Array()" above and "strI" below to
// be one greater than the last "str[]" value below.
str[1] = "http://www.whatever.com/";
str[2] = "http://www.whatever.com/";
str[3] = "http://www.whatever.com/";
str[4] = "http://www.whatever.com/";
str[5] = "http://www.whatever.com/";
str[6] = "http://www.whatever.com/";
str[7] = "http://www.whatever.com/";
str[8] = "http://www.whatever.com/";
str[9] = "http://www.whatever.com/";
str[10] = "http://www.whatever.com/";
str[11] = "http://www.whatever.com/";
str[12] = "http://www.whatever.com/";
str[13] = "http://www.whatever.com/";
str[14] = "http://www.whatever.com/";
str[15] = "http://www.whatever.com/";
str[16] = "http://www.whatever.com/";
str[17] = "http://www.whatever.com/";
str[18] = "http://www.whatever.com/";
str[19] = "http://www.whatever.com/";

if( strI==20){
strI=1;
}
else{
URL=str[strI];
window.open(URL,'EC');
strI++;
}
document.stored.Arrayvalue.value= strI;
var intNumber=Math.round(Math.random()*45000);
if(intNumber<5000){intNumber=intNumber+5000;}
setTimeout("reload()",intNumber);
}

//-->
</SCRIPT>

==========


второй вариант


function alexa() {
$domain = “http://data.alexa.com”;
$keylength = 14; // the resulting length of the keyid. 14 and 15 were seen in the wild.

// session_start() must have already been set. If so, this will ensure that each visitor maintains the same keyid throughout the entire visit.
if (isset($_SESSION['alexa_keyid'])) {
$keyid = $_SESSION['alexa_keyid'];
} else {
$keyid = substr(str_shuffle(”abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890″),0,$keylength);
$_SESSION['alexa_keyid'] = $keyid;
}

$cli = “10″; // ???
$dat = “snba”; // ???
$ver = “7.2″; // version number of toolbar?
$cdt = “alx_vw”; // ???
$wid = rand(0,32767); // appears to be a random integer initiated when the browser starts.
$act = “00000000000″; // ???
$ssarray = array (”800×800″, “1024×768″, “1280×768″, “1280×800″,
“1280×1024″, “1600×1200″, “1680×1050″, “1920×1200″);
shuffle($ssarray);
$ss = $ssarray[0]; // browser screensize. Resulting value is chosen at random from an array of values.
$bw = “1523″; // bandwidth? probably used in calculating metrics related to visitor connection speeds (noted values are close to common
// connection speeds like 768k, 1mb, 1.5mb, etc.)
$t = “0″; // ???
$ttl = rand(200,1000); // time-to-live? probably used in calculating average load times
$vis = “1″; // ???
$rq = rand(15,80); // appears to increment with each toolbar request
$url = “http://<<<PUT YOUR DOMAIN HERE>>>/”;

$params=”/data/”.$keyid.”?cli=”.$cli.”&dat=”.$dat.”&ver=”.$ver.”&cdt=”.$cdt.”&wid=”.$wid.”&act=”.$act.”&ss=”.$ss.”&bw=”.$bw.”&t=”.$t.”&ttl=”.$ttl.”&vis=”.$vis.”&rq=”.$rq.”&url=”.$url;

return $domain.$params;
}
———————

Выбранный исполнитель

Егор Б.
40 лет, Россия
10 лет в сервисе
Был онлайн 2 дня назад
10 лет назад

$50

1 день

Отзыв заказчика
Ответственный исполнитель. Понравилось, что копнул немного глубже в задачу. работа сделана хорошо.
Отзыв фрилансера
Порядочный заказчик, быстрая оплата, рекомендую