Fucktimebest

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

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

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

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

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

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

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

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.

(I already have a user style manager, let me install it!)

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