Skip to content

Pornolab Cleanup by Jeesson

Details

AuthorJeesson

LicenseCC BY-NC-ND 4.0

Categorypornolab.net

Created

Updated

Size3.2 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Remove useless informations from the page.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           Pornolab Cleanup
@namespace      Jeesson
@version        1.4.0
@description    Remove useless informations from the page.
@author         Jeesson
@preprocessor	stylus

@var checkbox --speedstats "Disable speed stats" 1
@var checkbox --reply "Disable reply section" 0
@var checkbox --others "Other settings" 1
@var range --leftSidebarWidth "Ширина панели" ['px', 230, 150, 320, 5]
==/UserStyle== */
@-moz-document regexp("https://pornolab\\.net/forum/viewtopic\\.php.*") {
    .post_body > div.tCenter:nth-child(4) {
        display: none;
    }
    div[title="для открытия/закрытия всех спойлеров можно использовать комбинацию shift+клик на спойлер"] {
        display: none;
    }
    .post_head {
        padding: 0 1rem;
    }
    .post_wrap {
        margin: 0;
        padding: 1rem;
        .post-align {
            margin: 0;
        }
    }
    .sp-wrap {
        margin: 2em 0;
        width: 100%;
        .sp-head {}
        .sp-body {}
    }
    if --speedstats {
        /* Скорость */
        #main_content_wrap > table.forumline.dl_list:nth-child(5) {
            display: none;
        }
    }
    if --reply {
        /* Скрываем возможность комментировать */
        #main_content_wrap > form.tokenized:nth-child(9) {
            display: none;
        }
    }
    if --others {
        #moderators {
            display: none;
        }
        #main_content_wrap > table:nth-child(4) > tbody > tr:first-child > td:first-child > p.small:nth-child(2),
        #main_content_wrap > table:nth-child(4) > tbody > tr:first-child > td:first-child > p.small:nth-child(3),
        #main_content_wrap > table:nth-child(4) > tbody > tr:first-child > td:first-child > table:last-child {
            display: none;
        }
        /* Блок скачивания контента */
        #tor-reged {
            table {
                margin: 0;
                width: 100%;
            }
        }
        /* Благодарность, похожее, вместе с этой раздачей скачивают */
        .thx-form,
        .thx-container,
        .signature,
        #screens-vote-btn {
            display: none;
        }
    }
}
@-moz-document regexp("https://pornolab\\.net/forum/tracker\\.php.*") {
    /* Скрыть не нужные столбцы в поиске */
    .forumline > thead > tr > th:nth-child(1),
    th:nth-child(3),
    th:nth-child(5),
    th:nth-child(10) {
        display: none;
    }
    .forumline > tbody > tr > td:nth-child(1),
    td:nth-child(3),
    td:nth-child(5),
    td:nth-child(10) {
        display: none;
    }
    /* Добавить отступы в названия */
    .forumline > tbody > tr > td:nth-child(4) {
        padding: 0;
        div {
            transition: all 100ms;
        }
        div:hover {
            background: #353535;
        }
        div > a {
            transition: all 200ms;
            padding: 4px 8px;
        }
        div > a:hover {
            color: #fff;
        }
    }
}

Reviews

No reviews yet.