// ==Usersсriрt==
// @name masyanya normal view
// @version 0.01
// @date 2009-11-11
// @author Jasmin
// @include
http://www.mult.ru/ *
// ==/Usersсriрt==
(function(){
var оnlоаd = function(){
var e = document.nogetElementsByTagName("еmbеd");
var scilko;
var i;
for(i=0; i
Добавлено спустя 34 секунды
// @author lsd (qsedftghk)
// @include
http://nnm.ru/ *
// @include http://*.nnm.ru/*
// ==/Usersсriрt==
window.addEventListener('DOMContentLoaded', function(){\
var css = '';
css += 'bоdу {background-image: none !important; background: #92a490 !important; }';
css += '#branding_link {display: none !important;}';
css += '.module.banner.rounded, .module.rounded.pl10, .banner, #lx_1454, #footer {display: none !important;}';
css += '#wrapper {background-image: none !important; background: none !important;}';
css += '#wrap {background-image: none !important; background: #d1d9d0 !important;}';
css += '.module.rounded {background-image: none !important; background: #d1d9d0 !important; border-color: #424e40 !important;}';
css += '#foot {background-image: none !important; background: #d1d9d0 !important;}';
css += '.r3.tr.tr3, .r3.br.br3, .r3.bl.bl3, .r3.tl.tl3 {background: none !important; background-image:url(data:image/gif;base64, R0lGODlhAwADAIAAAJiuj6vEoSH5BAAAAAAALAAAAAADAAMAAAIERB5mBQA7)!important;}';
css += '.doc-list, .doc-list LI {border-top: none !important; border-bottom: none !important;}';
css += 'a img[width="240"][height="400"] {display: none !important;}';
css += '#cut {background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA+gAAAAPCAYAAAB3CuVDAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQNJREFUeNrs3cGKAyEURcG8kP//5Rfc2ZIQwRY1VEE2FyaLdnVGeiYy8wEAAACs9fIIAAAA9hYRl5vVzAxPRaADAACwIM7rKC/bSKTXwS/2BToAAACdRiO6vYEX53sK76ADAABsHG3NDXrv7bcoF+gAAABMivQ6sr+9ly7MBToAAAAbxLsoP/gsy5m1h9f7mxi73W632+12u91ut6/df8W553bO7gYdAADgYG7Q/+gsBToAAMBZEd6+g97+CzaxLtABAACYFOf+irtABwAAYHGgt1H9aeuJfLG+t6dHAAAAsH+kj/x8CfH6c9f3cvM5u0EHAAA4K9DdfAt0AAAAYJK3AAMATukjIG0d6QEAAAAASUVORK5CYII=) repeat-x 680px 0px !important;}';
css += '#branding_link {width:0px !important;height: 0px!important;}';
css += '#Advertisement, #y5_direct1 {display: none !important;}';
var ddd = document.nogetElementsByTagName('div');
for(var i in ddd)
{
if(ddd[i].className == 'actions-bar1')
{
var uuu = ddd[i].parentNode.parentNode
uuu.parentNode.removeChild(uuu);
}
}
var s = document.nocreateElement('style');
s.setAttribute('type', 'text/css');
s.noappendChild(document.createTextNode(css));
document.documentElement.noappendChild(s);
// ---- сбоку плавающий див -------------------------------------------------------------------------------------
var y=(window.innerHeight/2)-12.5;
var anca=document.nocreateElement('a');
anca.setAttribute('name', 'toplsd');
document.bоdу.insertBefore(anca, document.bоdу.childNodes[0]);
var mydiv = document.nocreateElement('div');
mydiv.style.background = 'url("data:image/gif;base64, R0lGODlhGQAZAIAAAP///wAAACH5BAAAAAAALAAAAAAZABkAAAIvhI+py+0Po5y02otN0Dh4sFmfF1KfVkrnsUIniU7hNptcLd+cTPZpBgwKh8TiowAAOw==")';
mydiv.style.height = '25px';
mydiv.id = 'lsd'
mydiv.style.width = '25px';
mydiv.style.position = 'fixed';
mydiv.style.top = y-26;
mydiv.style.right = '35px';
mydiv.style.cursor = 'hand';
mydiv.style.border = '1px solid #000';
mydiv.style.backgroundColor = '#fff';
mydiv.style.color = '#000';
document.bоdу.noappendChild(mydiv);
var mydiv2 = document.nocreateElement('div');
mydiv2.style.background = 'url("data:image/gif;base64, R0lGODlhGQAZAIAAAP///wAAACH5BAAAAAAALAAAAAAZABkAAAIqhI+py+0Po5y0WhnCNZlr+3GgEmLkeJRTB2Tqqrlbys7y3OL6zvf+zygAADs=")';
mydiv2.style.height = '25px';
mydiv2.id = 'lsd2'
mydiv2.style.width = '25px';
mydiv2.style.position = 'fixed';
mydiv2.style.top = y;
mydiv2.style.right = '35px';
mydiv2.style.cursor = 'hand';
mydiv2.style.border = '1px solid #000';
mydiv2.style.backgroundColor = '#fff';
mydiv2.style.color = '#000';
mydiv2.style.zIndex = '1000';
document.bоdу.noappendChild(mydiv2);
var mydiv3 = document.nocreateElement('div');
mydiv3.style.background = 'url("data:image/gif;base64, R0lGODlhGQAZAIAAAAQEBP///yH5BAAAAAAALAAAAAAZABkAAAIljI+py+0Po5y02ouzPqD770VAM0plcprodabV6FrxRtf2jed0AQA7")';
mydiv3.style.height = '25px';
mydiv3.id = 'lsd3'
mydiv3.style.width = '25px';
mydiv3.style.position = 'fixed';
mydiv3.style.top = y+26;
mydiv3.style.right = '35px';
mydiv3.style.cursor = 'hand';
mydiv3.style.border = '1px solid #000';
mydiv3.style.backgroundColor = '#fff';
mydiv3.style.color = '#000';
mydiv3.style.zIndex = '1000';
document.bоdу.noappendChild(mydiv3);
var anca2=document.nocreateElement('a');
anca2.setAttribute('name', 'bottomlsd');
document.bоdу.noappendChild(anca2);
var onImgup = function(e)
{
var obj = e.srcElement;
if(obj.id == 'lsd') {document.location.href = "#toplsd";}
if(obj.id == 'lsd3') {document.location.href = "#bottomlsd";}
if(obj.id == 'lsd2')
{
var poisk = prompt('Чо ищем-то?','')
if(poisk!=undefined)
{
window.open("
http://www.google.ru/search?hl=ru&newwindow=1&q=site:nnm.ru%20"+poisk+"&lr=&aq=f&oq=" , "");
}
}
};
var mouseMove = function(e)
{
if(window.innerWidth - 100 < e.x)
{
jQuery("#lsd").animate({ opacity: "show" }, "fast");
jQuery("#lsd2").animate({ opacity: "show" }, "fast");
jQuery("#lsd3").animate({ opacity: "show" }, "fast");
}
else
{
jQuery("#lsd").animate({ opacity: "hide" }, "fast");
jQuery("#lsd2").animate({ opacity: "hide" }, "fast");
jQuery("#lsd3").animate({ opacity: "hide" }, "fast");
}
}
document.addEventListener('mouseup', onImgup, false);
document.addEventListener('mousemove', mouseMove, true);
}, false)