Kemono UI tweak

Modifies the new Kemono Party UI to look more like the old one

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

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.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name         Kemono UI tweak
// @namespace    http://tampermonkey.net/
// @version      0.1
// @license MI
// @description  Modifies the new Kemono Party UI to look more like the old one
// @author       parky
// @match        https://kemono.party/*
// ==/UserScript==

(function() {
    console.log('hehe');
    var imgs = document.getElementsByClassName("post-card__image");
    for (var i = 0; i < imgs.length; i++) {
        imgs[i].style.objectFit="contain";
    }

    var divs = document.getElementsByClassName("card-list__items");
    console.log(divs);
    for (var j = 0; j < divs.length; j++) {
        divs[0].style.cssText="--card-size:400px";
    }
})();