Skip to content

Instantly share code, notes, and snippets.

@nschwermann
Created April 8, 2013 00:43
Show Gist options
  • Save nschwermann/5333351 to your computer and use it in GitHub Desktop.
Save nschwermann/5333351 to your computer and use it in GitHub Desktop.
Chrome plugin to hide reddit sidebar when window is too small.

####This simple plugin hides the sidebar on reddit when the window size is less than 1200 pixels wide.

Download here.

{
"name" : "Hide Reddit Sidebar",
"version" : "1.1",
"manifest_version" : 2,
"description" : "hides the sidebar when the media is too small",
"content_scripts" : [
{
"matches" : ["http://*.reddit.com/*"],
"css" : ["style.css"],
"run_at" : "document_start"
}
]
}
@media all and (max-width:1199px){
.side {
width: 0px !important;
height: 0px !important;
visibility : hidden !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment