Black Scorpions
Suntem mici dar intepam tare
|
Nou pe simpatie: luiza69
 | Femeie 24 ani Bucuresti cauta Barbat 27 - 75 ani |
|
|
Black ScorpionsReguliInregistrareLoginPozeNu sunteti logat. Lista Forumurilor Pe Tematici
|
| #1 |
|
|
Code:
// ==UserScript==
// @name Refresh-Countdown Clock Tool
// @namespace http://blackscorpions.3xforum.ro/
// @description Tool for auction countdown clock that lets you see how much time is left.
// @include http://s*.gladiatus.*/game/index.php?mod=auction*
// ==/UserScript==
var server;
server="s4.gladiatus.ro";
var one;
var three;
var four;
one="http://";
three="/game/index.php?mod=auction";
four=one+server+three;
window.location=four;
// settings
var REFRESH_DELAY = 1; // in seconds
var ALERT_PATH = 'http://random-parade.com/userscripts/some_audio_file.mp3'; // sound to be played
// end of settings
var projects = document.evaluate('.//table[starts-with(@id,"Atentie!!!")]', document.body, null, 6, null).snapshotLength;
if (projects) {
var player = document.createElement('embed');
with (player)
src = 'http://img523.imageshack.us/img523/7172/jwmp3player313ev0.swf',
width = '0',
height = '0',
setAttribute('flashvars', 'type=mp3&autostart=true&repeat=always&file=' + escape(ALERT_PATH));
document.body.appendChild(player);
document.timeLeft=new Date().getTime()+(30*60*1000);
document.intervalId=setInterval(showCountDown,100);
}
else
setTimeout(function() { location.reload(); }, 30*60*1000);
function showCountDown()
{
var num1=document.timeLeft-new Date().getTime();
window.status=Math.floor(num1/(60*1000))+":"+Math.floor((num1%(60*1000))/1000);
if (num1<0)
{
clearInterval(document.intervalId);
location.reload();
}
}
if (document.getElementsByName('foarte scurt')[0]) alert('Atentie este foarte scurt'); |
_______________________________________ Pentru mai multe informatii clici aici www.info/BlackScorpions.ro si genereaza-ti propiul raspuns
|
|
| |
|