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.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

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

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

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.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

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