更宽的 Github.com

拉伸 Github 新 UI 的容器, 填满浏览器界面

当前为 2020-06-29 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Wider github.com
  3. // @name:zh-CN 更宽的 Github.com
  4. // @namespace BigWater
  5. // @description Fills the blank between the container and two sides of the browser.
  6. // @description:zh-CN 拉伸 Github 新 UI 的容器, 填满浏览器界面
  7. // @match https://github.com/*
  8. // @grant none
  9. // @version 0.1.1
  10. // @author BigWater
  11. // @run-at document-start
  12. // ==/UserScript==
  13.  
  14. (function () {
  15. container = document.querySelector('.container-xl');
  16. container.className = container.className.replace('container-xl', 'container-xxl');
  17. })();