webdevnerdstuff / JSON Editor Online Cleaner

// ==UserScript==
// @name          JSON Editor Online Cleaner
// @version       1.1
// @namespace     https://webdevnerdstuff.com/
// @author        WebDevNerdStuff & Bunnies... lots and lots of bunnies!
// @description   Remove Ads
// @copyright     2018+ WebDevNerdStuff (https://webdevnerdstuff.com/)
// @include       http://jsoneditoronline.org/*
// @include       https://jsoneditoronline.org/*
// @icon          https://jsoneditoronline.org/favicon.ico
// @updateURL     https://openuserjs.org/meta/webdevnerdstuff/JSON_Editor_Online_Cleaner.meta.js
// @downloadURL   https://openuserjs.org/src/scripts/webdevnerdstuff/JSON_Editor_Online_Cleaner.user.js
// @grant         none
// @license       MIT
// ==/UserScript==

var jsonEditorOnlineInit = function () {
  document.getElementById('ad').remove();

  var styleNode = document.createElement('style');
  var styleText;
  styleNode.type = 'text/css';
  styleNode.title = "JSON Editor Online Cleaner";
  styleText = document.createTextNode('#contents {display:grid !important; grid-template-columns: 1fr 62px 1fr;} #contents > div {width: auto !important;}');
  styleNode.appendChild(styleText);

  document.getElementsByTagName('head')[0].appendChild(styleNode);
};

jsonEditorOnlineInit();