WaybackMachine BlogSpot remove Sensitve Content Warning

Removes the Sensitve Content Warning from Blogspot pages taht are saved in the WayBackMachine

As of 2022-07-26. See the latest version.

// ==UserScript==
// @name         WaybackMachine BlogSpot remove Sensitve Content Warning
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Removes the Sensitve Content Warning from Blogspot pages taht are saved in the WayBackMachine
// @icon         https://upload.wikimedia.org/wikipedia/commons/thumb/7/76/Blogger_icon.svg/800px-Blogger_icon.svg.png
// @author       Creepler13
// @match        https://web.archive.org/web/*/https://*.blogspot.com/*
// ==/UserScript==

(function() {
    'use strict';

    setInterval(e=>{
    let iframe= document.getElementById("injected-iframe")
        if(iframe)
        iframe.style.visibility="hidden"

        if(document.getElementById("removeAgeRestriction"))
            return;
    let styles = ' body * {  visibility:visible;} '
    let  styleSheet = document.createElement("style")
    styleSheet.innerText = styles
      styleSheet.id="removeAgeRestriction";
        document.body.append(styleSheet)


    },100)
})();