FuryZen / Reverso Unblocked

// ==UserScript==
// @name         Reverso Unblocked
// @version      0.1
// @description  Unblock Blurred Reverso Context Translations
// @author       Fury Zenblade#1337
// @match        http*://context.reverso.net/*
// @run-at       document-body
// @grant        none
// @icon         https://cdn.reverso.net/context/v54700/images/reverso180.png
// @license MIT
// @updateURL    https://openuserjs.org/meta/FuryZen/Reverso_Unblocked.meta.js
// ==/UserScript==

(function() {
    'use strict';
    let index = window.document.styleSheets[0].ownerNode.className.includes("darkreader--fallback") ? 1 : 0;
    let sheet = window.document.styleSheets[index];
    sheet.insertRule("#blocked-results-banner {display: none !important;}",sheet.cssRules.length);
    sheet.insertRule("#examples-content .example.blocked, #examples-content .example.blocked .text {filter: none !important; -webkit-filter: none !important;}",sheet.cssRules.length);
    window.addEventListener('DOMContentLoaded', function() {
        [...document.getElementsByClassName("example blocked")].forEach(e=>e.classList.remove("blocked"));
        document.getElementById("blocked-results-banner").remove();
        console.log("Fallback Injected!");
    }, false);
})();