Greasy Fork is available in English.

CFN Doc JSON Remover

Removes all JSON templates in Cloudformation Documentation

// ==UserScript==
// @name        CFN Doc JSON Remover
// @namespace   https://github.com/pusi77
// @match       https://docs.aws.amazon.com/AWSCloudFormation/*
// @grant       none
// @version     1.1
// @author      pusi77
// @description Removes all JSON templates in Cloudformation Documentation
// ==/UserScript==

window.addEventListener('load', async function() {
    console.log("Removing JSON templates...")
    try {
      let jsonElement = document.getElementById('JSON');
      while (jsonElement) {
        jsonElement.remove();
        jsonElement = document.getElementById('JSON');
      }
    } catch (error) {
      console.log("All JSON templates removed!")
    }
  
  }, false);