CleanFork

Clean up greasyfork with some css edits

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         CleanFork
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Clean up greasyfork with some css edits
// @author       codingMASTER398
// @match        *://greasyfork.org/*
// @icon         https://www.google.com/s2/favicons?domain=greasyfork.org
// @grant        none
// @run-at       document-start
// ==/UserScript==

css = `
.list-option-group .list-current {
   border-left: none;
   box-shadow: none;
    margin: none;
    padding: .4em 1em .4em calc(1em - 3px);
    /* background: linear-gradient(#fff,#eee); */
}
body {
    font-family: monospace;
}
.list-option-group ul {
    list-style-type: none;
    padding: 1em 0;
    box-shadow: none;
    border: none;
    background-color: #fff;
}
#main-header {
    background-color: black;
    background-image: none;
    box-shadow: 0 0 15px 2px rgb(0 0 0 / 50%);
    padding: .25em 0;
}
li {
    box-shadow: none;
    border: none;
}
`
var styleSheet = document.createElement("style")
styleSheet.type = "text/css"
styleSheet.innerText = css
document.head.appendChild(styleSheet)