// ==UserScript== // @name Greasy Fork Theme figuccio // @namespace https://greasyfork.org/users/237458 // @description Greasy Fork pagina di colore violet // @include http*://*greasyfork.org* // @include https*://sleazyfork.org* // @version 0.6 // @noframes // @author figuccio // @run-at document-start // @grant GM_addStyle // @require https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js // @downloadURL none // ==/UserScript== GM_addStyle(' body {background-color:violet!important;}');//cambio colore pagina GM_addStyle('.script-list{background-color:olive!important;}'); //mostra risultato per tutte le lingue if (document.URL == "https://greasyfork.org/it/scripts") window.location.href = "https://greasyfork.org/it/scripts?filter_locale=0"; if (document.URL == "https://sleazyfork.org/it/scripts" ) window.location.href = "https://sleazyfork.org/it/scripts?filter_locale=0"; //autoclick pagina successiva $(window).scroll(function() { if($(window).scrollTop() + $(window).height() == $(document).height()) { var class_name = "next_page"; var bt = document.getElementsByClassName(class_name)[0]; bt.click(); } });