// ==UserScript== // @name Nashaplaneta // @namespace NDS.Nashaplaneta.Public // @version 0.3.1 // @description Simple UI // @author NDS // @match *://nashaplaneta.su/* // @grant GM_addStyle // @downloadURL https://gist.github.com/nestdimon/35e434fdf180a1d98d47/raw // @updateURL https://gist.github.com/nestdimon/35e434fdf180a1d98d47/raw // ==/UserScript== /*jshint multistr: true */ var css = ' \ html>body{ \ background-color: #FFF!important; \ } \ #allEntries .eBlock .eMessage { \ font-size: 130%!important; \ } \ #allEntries .eBlock > tbody > tr:nth-child(2) > td:nth-child(1) > div { \ margin-top: -40px; \ }\ .eMessage { \ font-size: 100%!important; \ line-height: 1.7!important; \ } \ #allEntries > div > div { \ margin: 0!important; \ border: none!important; \ padding: 0!important; \ } \ #allEntries > div > div > div { \ border: none!important; \ border-bottom: 1px solid #E0E0E0!important; \ margin-bottom: 20px!important; \ padding-bottom: 20px!important; \ } \ hr { \ border-style: solid; \ border: none; \ border-top: 1px solid #EAEAEA; \ } \ '; (function() { $(".directadvert-block").detach().appendTo('body'); var ot = $('body > table')[1]; var trs = $(ot).children('tbody').children('tr'); var keepTr = 1, keepTd = 2; trs.each(function(i, item) { i != keepTr && item.remove(); }); $(trs[keepTr]).children('td').each(function(i, item) { i != keepTd && item.remove(); }); $(ot).css({padding: '0 75px'}); GM_addStyle(css); })();