User:Kaganer/common.js

// Пользовательское меню EditTools function addLoadEvent(func) { if (window.addEventListener) window.addEventListener("load", func, false); else if (window.attachEvent) window.attachEvent("onload", func); } function addsymbols { var cwarn = document.getElementById ('editpage-copywarn2'); if (cwarn) { cwarn.innerHTML = ''; } var specialchars = document.getElementById ('editpage-specialchars'); if (specialchars) { var menu = "Æ æ Ø ø Å å | Ă ă Â</a> â</a> Î</a> î</a> Ş</a> ş</a> Ţ</a> ţ</a> | </a> </a> </a> </a>"; specialchars.innerHTML = menu + specialchars.innerHTML; } } addLoadEvent(addsymbols);