Greasy Fork is available in English.

Mastodon NSFW Remover

Automatically display NSFW image & movie.

// ==UserScript==
// @name 	Mastodon NSFW Remover
// @description Automatically display NSFW image & movie.
// @author 	GinoaAI
// @namespace 	https://greasyfork.org/ja/users/119008-ginoaai
// @version 	4.22
// @match 	*://mstdn.jp/*
// @match 	*://pawoo.net/*
// @match 	*://friends.nico/*
// @match 	*://mastodon.cloud/*
// @match 	*://mstdn-workers.com/*
// @icon 	https://pbs.twimg.com/profile_images/789285418722217985/aMIeJGk-_400x400.jpg
// ==/UserScript==
  ((b = document.querySelector(".columns-area") || document.body, r) => {
    (r = t => [...t.target.querySelectorAll(".media-spoiler,.video-player__spoiler.active")].forEach(n => n.click()))({
      target: b
    });
    new MutationObserver(s => s.forEach(r)).observe(b, {
      childList: 1,
      subtree: 1
    });
  })();