madoomaima / Alarm

// ==UserScript==
// @name         Alarm
// @version      0.1
// @description  enter something useful
// @author       You
// @include        http://*.travian.asia/dorf1.php*
// @require       http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.js
// @grant   GM_getValue
// @grant   GM_setValue
// ==/UserScript==

$(".att1").each(function(){
   console.log('11111');
    
    var logo = document.createElement("div");

logo.innerHTML = '<div  style="margin: 0 auto 0 auto;width:0px;height:0px; ' +
    'border-bottom: 1px solid #000000; margin-bottom: 5px; ' +
    'font-size: small; background-color: #000000; ' +
    'color: #ffffff;"><p style="margin: 2px 0 1px 0;"> ' +
    '<iframe width="448" height="55" name="sound" id="sound" frameborder="0" scrolling="no" src="https://www.youtube.com/embed/2lEj4WZlrVw?autoplay=1"></iframe> ' +
    '</p></div>';
logo.style.visibility = "hidden";
document.body.insertBefore(logo, document.body.firstChild);
});

setTimeout("location.reload(true);",60000);