WaybackMachine BlogSpot remove Sensitve Content Warning

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

Verze ze dne 26. 07. 2022. Zobrazit nejnovější verzi.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

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