Greasy Fork镜像 Container Spacing

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

// ==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.dpdns.org/en/scripts/*
// @match       https://greasyfork.dpdns.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';
    }
  }

})();

长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

一年攒够 12 元

云驰互联

云驰互联