View All Content

Uses jQuery to get rid of mature content warnings on Tumblr.

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

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

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

// ==UserScript==
// @name         View All Content
// @namespace    https://tampermonkey.net
// @version      0.1.1
// @description  Uses jQuery to get rid of mature content warnings on Tumblr.
// @author       gracefulally
// @license      MIT
// @match        *://*.tumblr.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=tumblr.com
// @require      https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js
// @grant        none
// @copyright    2026+, Allyson Moisan
// ==/UserScript==

(function(){
    $(document).ready(finishedLoading);
})();

function finishedLoading() {
    $('<style>.content-warning-cover { display: none !important; }</style>').appendTo('head');

    var container = $('#base-container');

    var observer = new MutationObserver(function(mutations) {

        var buttons = $(container).find('button[type="button"]');
        if (buttons.length) {
            checkButtons(buttons);
        }
    });

    // 5. Start observing the container for changes
    observer.observe($(container)[0], {
        childList: true, // Listen for additions/removals of child nodes
        subtree: true    // Listen to deep/nested child elements as well
    });
}

function checkButtons(buttons) {
    $(buttons).each(function(i,v){
        var t = $($(v).find("span")[0]).text().trim();
        if(t === "View blog" || (t === "View post" && !($(v).prev().attr("href") === "/settings/account#tagfiltering"))){
            $(v).click();
        }
    });
}