Stripchat - Hide Private Models

Automatically hide private models (those with ticket/private shows) on the Stripchat.

Stan na 28-04-2025. Zobacz najnowsza wersja.

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

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

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         Stripchat - Hide Private Models
// @namespace    https://greasyfork.org/users/your-username
// @version      1.0
// @description  Automatically hide private models (those with ticket/private shows) on the Stripchat.
// @author       YourName
// @license      MIT
// @match        https://stripchat.com/
// @icon         https://stripchat.com/favicon.ico
// @grant        none
// @run-at       document-end
// @homepageURL  https://greasyfork.org/scripts/your-script-id
// @supportURL   https://greasyfork.org/scripts/your-script-id/feedback
// ==/UserScript==

(function() {
    'use strict';

    /**
     * Hide models that are currently in private/ticket shows.
     * Looks for elements with class containing "ModelThumbPrivateCover" inside model-list-item blocks.
     */
    function hidePrivateModels() {
        const modelItems = document.querySelectorAll('.model-list-item');
        modelItems.forEach(item => {
            if (item.querySelector('div[class*="ModelThumbPrivateCover"]')) {
                item.style.display = 'none';
            }
        });
    }

    // Run once after the page loads
    document.addEventListener('DOMContentLoaded', hidePrivateModels);

    // Keep running whenever new models are dynamically loaded (infinite scroll)
    const observer = new MutationObserver(hidePrivateModels);
    observer.observe(document.body, { childList: true, subtree: true });
})();