您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
将新版Github的主页进行宽屏适配优化
// ==UserScript== // @name github新版宽屏适配 // @namespace https://github.com/githubWide // @version 0.2 // @description 将新版Github的主页进行宽屏适配优化 // @author JimHan // @license GPL-3.0 // @match https://github.com/ // @icon https://www.google.com/s2/favicons?sz=64&domain=github.com // @grant none // ==/UserScript== (function() { 'use strict'; // Your code here... document.getElementsByClassName("feed-content")[0].style.maxWidth="unset"; document.getElementsByClassName("d-flex flex-auto flex-column feed-main")[0].style.maxWidth="unset"; document.getElementsByClassName("feed-right-sidebar mb-5 border-bottom")[0].style.maxWidth="unset"; console.log("已宽屏适配") })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址