User:Zombot Aerostatic Gondola/main.js

/* * AVB, Anti-Vandalism Bot * @author: BlackZetsu */ var AVB = { basic: true, delay: 70, init: function { $(".WikiaFooter .toolbar .tools, .WikiaBarWrapper .toolbar .tools").append('AVB'); mw.util.addCSS(".modalWrapper{color: #6c93b1;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);-webkit-background-clip:padding-box!important;background-clip:padding-box!important;background-color:#fff!important;border-radius:8px!important;border:1px solid rgba(0,0,0,.2);box-shadow:0 3px 9px rgba(0,0,0,.5);outline:0!important}"); setTimeout(function {           $("#avbmodal").closeModal;        }, 7000); if (AVB.basic == true) { importScriptPage("AVB/basic.js", "dev"); }   } }; /* Modal */ function modal { $.showCustomModal('AVB (Anti-Vandalism Bot)',       'Anti-Vandalism Bot has been loaded successfully. Please do not close this window, to for process dynamics.', {            id: "avbmodal",            width: 600,        }); } /* Init */ $(document).ready(function {   setTimeout(function { AVB.init; }, AVB.delay); }); //