Greasy Fork Container Spacing

Adds a small margin to the bottom of the code container and author description in Greasy Fork

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==UserScript==
// @name        Greasy Fork Container Spacing
// @namespace   https://github.com/chriskim06/userscripts
// @description Adds a small margin to the bottom of the code container and author description in Greasy Fork
// @match       https://greasyfork.org/en/scripts/*
// @match       https://greasyfork.org/en/users/*
// @version     1.2.4
// ==/UserScript==

(function() {

  var el = document.getElementById('code-container');
  if (el !== null) {
    el.style.marginBottom = '60px';
  }

  el = document.getElementById('additional-info');
  if (el !== null) {
    el.style.marginBottom = '60px';
  }

  el = document.getElementById('user-deleted-script-list');
  if (el !== null) {
    el.style.marginBottom = '60px';
  } else {
    el = document.getElementById('user-script-list');
    if (el !== null) {
      el.style.marginBottom = '60px';
    }
  }

})();