Greasy Fork is available in English.

Alarma atac cont

Porneste alarma daca esti atacat de alt jucator

< Feedback on Alarma atac cont

Review: OK - script works, but has bugs

§
Posted: 06-03-2017

no funciona el sonido

function addJQuery(callback) {
var script = document.createElement("script");
script.setAttribute("src", "//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js");
script.addEventListener('load', function() {
var script = document.createElement("script");
script.textContent = "window.jQ=jQuery.noConflict(true);(" + callback.toString() + ")();";
document.body.appendChild(script);
}, false);
document.body.appendChild(script);
}
 
 
document.body.style.background = 'lightgreen';
setInterval(
function checker(){
var sound = document.createElement('object');
sound.setAttribute('width', '5px');
sound.setAttribute('height', '5px');
sound.setAttribute('data', 'http://www.soundrangers.com/demos/sirens/ambulance_siren.mp3');//'http://www.soundjay.com/clock/sounds/alarm-clock-1.mp3');
//var currElements = document.getElementsByClassName('incoming province');
//for(var i=0;i

Post reply

Sign in to post a reply.