Pixiv UI Compactor

Hides popular works panel from Pixiv search page, narrows elements and removes unnecessary spaces to make the header ~2 times smaller so you can view the images without scrolling.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name        Pixiv UI Compactor
// @name:ru     Pixiv Компактный интерфейс
// @description Hides popular works panel from Pixiv search page, narrows elements and removes unnecessary spaces to make the header ~2 times smaller so you can view the images without scrolling.
// @description:ru Скрывает промо блок, громоздкие элементы и убирает пробелы на странице поиска по тегам Pixiv, чтобы картинки отображались как можно ближе к хедеру.
// @namespace   puic
// @include     https://www.pixiv.net/*
// @version     1.07
// @license     MIT
// @grant       GM_addStyle
// ==/UserScript==

// Header spacing
GM_addStyle (`
    .expahI{
        display: none !important;
    }`);

// Spacing
GM_addStyle (`
    .wJpxo{
        display: none !important;
    }`);
	
// Tags belt
GM_addStyle (`
    .dztvKv{
        display: none !important;
    }`);

// Popular works
GM_addStyle (`
    .dhOsiK {
        display: none !important;
    }`);
GM_addStyle (`
    .dFLqqk {
        display: none !important;
    }`);

// Categories
GM_addStyle (`
    .bduUXU {
        padding-bottom: 0 !important;
    }`);
GM_addStyle (`
    .ioZtRi {
        height: 30 !important;
    }`);
	
// Search options
GM_addStyle (`
    .laRMNP{
        margin-top: 0px !important;
		margin-bottom: 10px !important;
    }`);

// Hide sort by popularity button
GM_addStyle (`
    .ddAFpR{
        display: none !important;
    }`);

// Main containers
GM_addStyle (`
    .buukZm{
        padding-top: 0px !important;
		padding-bottom: 0px !important;
    }`);
	
// Images thumbnails gap
GM_addStyle (`
    .jtpclu{
        margin-top: 0px !important;
		background-color: rgba(0, 0, 0, 0.0) !important;
		border-radius: 12px !important;
    }`);
GM_addStyle (`
    .bZOnOL{
        padding-left: 0px !important;
    }`);
GM_addStyle (`
    .kghgsn{
        font-size: 12px !important;
    }`);
GM_addStyle (`
    .krFoBL{
        gap: 12px 20px !important;
    }`);