您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Remove the sidebar and stretch the main content so that it fills the whole width, better when you have a browser window open next to your code and it's too narrow to see much with all the wasted space.
- // ==UserScript==
- // @name Remove Stackoverflow Sidebar
- // @description Remove the sidebar and stretch the main content so that it fills the whole width, better when you have a browser window open next to your code and it's too narrow to see much with all the wasted space.
- // @version 1
- // @grant none
- // @include http*://stackoverflow.com/questions/*
- // @include http*://serverfault.com/questions/*
- // @include http*://superuser.com/questions/*
- // @include http*://stackapps.com/questions/*
- // @include http*://meta.stackoverflow.com/questions/*
- // @include http*://*.stackexchange.com/questions/*
- // @include http*://askubuntu.com/questions/*
- // @include http*://answers.onstartups.com/questions/*
- // @include http*://meta.mathoverflow.net/questions/*
- // @include http*://mathoverflow.net/questions/*
- // @namespace https://gf.qytechs.cn/users/293891
- // ==/UserScript==
- (function(d){
- var esidebar = d.getElementById('sidebar');
- var emainbar = d.getElementById('mainbar');
- esidebar.parentNode.removeChild(esidebar);
- emainbar.style.width = "100%"
- })(document);
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址