NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript==
// @name Darling in the FranXX Block
// @namespace http://shikimori.one/
// @version 1.3.1
// @description Hides Darling in the FranXX topic and summaries from everywhere
// @author SergejVolkov
// @match http://shikimori.me/*
// @match https://shikimori.me/*
// @license MIT
// @grant none
// ==/UserScript==
function HideFranXX() {
try {
document.querySelector('.b-hot_topics-v2 .b-link[title~="FranXX"]').style.display = "none";
} finally {
if (window.location.href.includes("35849-darling-in-the-franxx")) {
document.querySelector('.b-comments').style.display = "none";
document.querySelector('.b-reviews_navigation').style.display = "none";
document.querySelector('.block + .b-options-floated').style.display = "none";
} else if (window.location.href.endsWith("shikimori.one/forum")) {
var style = document.createElement('style');
style.innerHTML = '.b-forum article[id="221900"] { display: none; }';
document.head.appendChild(style);
}
}
}
document.addEventListener('page:load', HideFranXX);
document.addEventListener('turbolinks:load', HideFranXX);