Greasy Fork Container Spacing

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

As of 09.07.2016. See апошняя версія.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

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.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name        Greasy Fork Container Spacing
// @namespace   chriskim06
// @description Adds a small margin to the bottom of the code container and author description in Greasy Fork
// @include     https://greasyfork.org/en/scripts/*
// @include     https://greasyfork.org/en/users/*
// @version     1.2.4
// @grant       none
// @locale      en
// ==/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';
    }
  }
})();