JSFiddle - React, Tailwind, and code Playground

CSS

.hiddenart .user {
    font-size: 9px;
}

.hiddenart a, .hiddenart .ico, .hiddenart .content, .hiddenart .actions, .hiddenart .descr, .hiddenart .permalink {
    display: none;
}

.hiddenart {
    padding-bottom: 0 !important;
    padding-top: 5px !important;
    border-bottom: 1px solid #CCCCCC !important;
}

.hiddenart span.user {
    color: #c0c0c0;
    cursor: pointer;
}

#novydiv  {
	font-size: 90%;
	overflow: hidden;
}

#novydiv .item {
	margin-bottom: 0;
	border-bottom: none;
}

.hdn  {
	display: none;
}


#xtime  {
	float: right;
	font-size: 80%;
}

#bodytype  {
	float: left;
}

#bodytype input {
	margin-right: 5px;
}

label  {
	cursor: pointer;
}

#adwrapper-lb  {
    display: none !important;    
}

div.info {
	display: none !important;    
}

.oblib2 {
	padding-left: 10px !important;    
}

.oblib_link {
	background-color: white;    
}



.mybookmark  {
    background-image: url("../img/star-states.png");
    background-repeat: no-repeat;
    text-decoration: none;
}

.mybookmark.selected{
	background-position: 0px -28px;
}


.notfound {
	display: none;
}

/* CSS Document */

JavaScript

var $debilove = "FAVORIT11,emzak,El_Diablo,gumatex,tigr_papirosowy,lolec6,Jaromir83,buchfa,J_H,Smajdlaf";
var $defaultFormat = "plain"; /* plain | html | radeox */

var $el = $(".main > .yui-g > .yui-u").first();

if ($el.length === 0) {
	$el = $(".main > .yui-gc > .yui-u").first();
}

$el.html("<p title='Naposledy načteno' id='xtime'></p><p><input placeholder='Hledej' id='srchinput'></p>");
$el.append("<h3>S novými</h3><div id='novydiv'></div>");

var $prispevky = $("div.item");
var $neprecteny;
var $debilove_arr = $debilove.split(",");

$prispevky.each(function() {
	if (jQuery.inArray($(this).find( "span.user").html(), $debilove_arr )!== -1) {
		$(this).addClass( "hiddenart" );
	}

	if ($(this).hasClass('new')) { 
		$neprecteny = $(this);
	}
});

if ($neprecteny) {
	if (NotInViewport($neprecteny)) {
		const julie = $neprecteny[0];
		julie.scrollIntoView(false);
	}
}

var mesice = "ledna,února,března,dubna,května,června,července,srpna,září,října,listopadu,prosince";
var mesice_arr = mesice.split(",");

var $novy = $("#novydiv");

xload();

setInterval( function(){
  	xload();
}, 60000);


function xload() {
	$novy.load( "https://www.okoun.cz/favourites.jsp?new=1&k="+Math.random()+" .item", function() {
		
		$novy.find(".item").each(function() {
			var str_dt = $(this).find("span.date").html();
			var arr = str_dt.split(" ");
			var arr2 = arr[0].split(".");
			var out = arr[1];

			out += twoplaces(mesice_arr.indexOf(arr2[1]));
			out += twoplaces(arr2[0]);

			if (arr[2].length<8) {out += "0";}
			out += arr[2];

			var nazev = $(this).find("a.name").html();
			var href = $(this).find("a.name").attr('href');
			var novych = $(this).find("b").html();

			novych = novych.replace('&nbsp;nových', ''); 
			novych = novych.replace('&nbsp;nový', ''); 
			novych = novych.replace('&nbsp;nové', '');
			
			$(this).html("<a class='klub' data-tm='" + out + "' title='"+ str_dt + "' href='" + href + "'>" +  nazev + "</a> - " + novych);
		});

		$("#novydiv...