Sleazy Fork is available in English.

Pixiv UI Compactor

Hides popular works block from Pixiv search page, removes unnecessary spaces to make the header ~2 times smaller.

Version au 06/01/2022. Voir la dernière version.

// ==UserScript==
// @name        Pixiv UI Compactor
// @description Hides popular works block from Pixiv search page, removes unnecessary spaces to make the header ~2 times smaller.
// @namespace   puic
// @include     https://www.pixiv.net/*
// @version     1.01
// @license     MIT
// @grant       GM_xmlhttpRequest
// @grant       GM_registerMenuCommand
// @grant       GM_setValue
// @grant       GM_getValue
// ==/UserScript==
function changeWidth(){
        var pixiv_header_margin = document.getElementById("sc-12xjnzy-1 expahI");
        pixiv_header_margin.style.height = "20px";
        
        var pixiv_tags_belt = document.getElementById("sc-133l69u-1 dztvKv");
        pixiv_tags_belt.style.padding = "0px 0px 0px 0px";
        
        var pixiv_search_options = document.getElementById("sc-1n8sru7-2 laRMNP");
        pixiv_search_options.style.margin = "0px 0px 0px 0px";
        
        var pixiv_main_container = document.getElementById("sc-jgyytr-0 buukZm");
        pixiv_main_container.style.padding = "0px 0px 0px 0px";
        
        var pixiv_popular_works = document.getElementById("sc-jn70pf-0 ePRNko");
        if (pixiv_popular_works) { element.parentNode.removeChild(element); }
}