Fucktimebest

실베 보기 좆같아서 만든 스크립트

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey 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 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         Fucktimebest
// @namespace    http://dcinside.com
// @version      0.1
// @description  실베 보기 좆같아서 만든 스크립트
// @author       jwh0711
// @match        https://gall.dcinside.com/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    function removeElements() {
        const selectors = [
            "div.content_box.r_timebest",
            "div.content_box.r_dcmedia",
            "div.content_box.r_recommend"
        ];

        selectors.forEach(selector => {
            const elements = document.querySelectorAll(selector);
            elements.forEach(element => element.remove());
        });
    }

    // 페이지 로드 후 실행
    window.addEventListener('load', removeElements);

    // 동적으로 생성되는 요소들을 위해 MutationObserver 사용 (선택적)
    const observer = new MutationObserver(removeElements);
    observer.observe(document.body, { childList: true, subtree: true });
})();