StackOverflow Answers full width

Makes the Main bar full width to show more content and hide the stupid useless Side Bar

  1. // ==UserScript==
  2. // @name StackOverflow Answers full width
  3. // @namespace https://xxbi.me/
  4. // @version 1.0
  5. // @description Makes the Main bar full width to show more content and hide the stupid useless Side Bar
  6. // @author xBiei
  7. // @license MIT
  8. // @match *://stackoverflow.com/*
  9. // @match *://*.stackoverflow.com/*
  10. // @match *://stackexchange.com/*
  11. // @match *://superuser.com/*
  12. // @match *://serverfault.com/*
  13. // @match *://askubuntu.com/*
  14. // @match *://stackapps.com/*
  15. // @match *://mathoverflow.net/*
  16. // @icon https://www.google.com/s2/favicons?sz=64&domain=stackoverflow.com
  17. // @grant none
  18. // ==/UserScript==
  19.  
  20. (function() {
  21. 'use strict';
  22.  
  23. const sideBar = document.getElementById('sidebar');
  24. const mainBar = document.getElementById('mainbar');
  25. sideBar.hidden = true
  26. mainBar.style = "width: auto"
  27. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址