Last active
November 17, 2018 02:25
-
-
Save Shog9/9f14254ed25b9606efaa261599ec3c39 to your computer and use it in GitHub Desktop.
Drop the right-hand sidebar on Stack Exchange sites at a somewhat larger width than the default. Have Tampermonkey or whatever installed, then click "Raw"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Fat Content | |
// @description Drop the right-hand sidebar on Stack Exchange sites at a somewhat larger width than the default | |
// @author Shog9 | |
// @namespace https://gist.github.com/Shog9 | |
// @version 0.1 | |
// @include http*://stackoverflow.com/* | |
// @include http*://*.stackoverflow.com/* | |
// @include http*://dev.stackoverflow.com/* | |
// @include http*://askubuntu.com/* | |
// @include http*://superuser.com/* | |
// @include http*://serverfault.com/* | |
// @include http*://mathoverflow.net/* | |
// @include http*://*.stackexchange.com/* | |
// @exclude http*://chat.*.com/* | |
// ==/UserScript== | |
$("head").append(`<style> | |
@media screen and (max-width: 1160px) { | |
html.html__responsive:not(.html__unpinned-leftnav) #mainbar,html.html__responsive:not(.html__unpinned-leftnav) .mainbar { | |
width:100%; | |
float: none | |
} | |
} | |
</style>`); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment