// ==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*://ru.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://greasyfork.org/users/293891
// ==/UserScript==

(function(d){
	var esidebar = d.getElementById('sidebar');
	esidebar.parentNode.removeChild(esidebar);
	var emainbar = d.getElementById('mainbar');
	emainbar.style.width = "100%"

	// @include        http*://sprosi.pro/questions/* rightside и leftside не работает

})(document);
