您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
try to take over the world!
// ==UserScript== // @name Github New Layout Widescreen Fix // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author You // @match https://github.com/* // @grant none // ==/UserScript== (function() { 'use strict'; const e = document.createElement('style'); e.innerText = `.UnderlineNav { margin: 0 auto; max-width: 1400px } .pagehead { box-shadow: inset 0 -1px 0 #e1e4e8 } div.pagehead > div { margin: 0 auto; max-width: 1400px } div.js-header-wrapper { background: #242a2f } .Header { margin: 0 auto; max-width: 1400px }`; document.querySelector('head').append(e); })();