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 για να εγκαταστήσετε αυτόν τον κώδικα.

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

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

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.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

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