Greasy Fork Theme figuccio

Greasy Fork pagina di colore violet

目前為 2021-08-10 提交的版本,檢視 最新版本

// ==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.5
// @noframes
// @author         figuccio
// @run-at         document-start
// @grant          GM_addStyle
// @require      https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js
// ==/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";

//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();
  }
});