Greasy Fork Container Spacing

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

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

})();