Pichunterfix

Este script corrige bugs na tela de favoritos do Pichunter, durante 30 segundos, antes de parar de rodar.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name        Pichunterfix
// @description Este script corrige bugs na tela de favoritos do Pichunter, durante 30 segundos, antes de parar de rodar.
// @match 	    *://*.pichunter.com/favorites/*
// @run-at      document-end
// @version     1.0.2
// @grant       none
// @namespace https://greasyfork.org/users/248858
// ==/UserScript==

setTimeout(fun, 2000);
setTimeout(fun, 4000);
setTimeout(fun, 6000);
setTimeout(fun, 8000); 
setTimeout(fun, 10000); 
setTimeout(fun, 12000); 
setTimeout(fun, 14000); 
setTimeout(fun, 16000); 
setTimeout(fun, 18000); 
setTimeout(fun, 20000); 
setTimeout(fun, 22000); 
setTimeout(fun, 24000); 
setTimeout(fun, 26000); 
setTimeout(fun, 28000); 
setTimeout(fun, 30000);


function fun() {
	var x = document.getElementsByClassName("wlGal"), i;
	for (i = 0; i < x.length; i++) {
  	x[i].style.display = "inline-block"; 
	} 
	var x = document.getElementsByClassName("wlRemove"), i;
	for (i = 0; i < x.length; i++) {
  	x[i].style.display = "inline-block"; 
	} 
}