Greasy Fork Container Spacing

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

Version vom 09.07.2016. Aktuellste Version

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

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.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

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';
    }
  }
})();