I would like to make a user script or style sheet that reformats certain pages for more optimal viewing in the Firefox sidebar. Is there a way to tell that a page has been loaded in the sidebar? A pure CSS solution would be awesome, but a JavaScript is perfectly acceptable, too.
Share
To style pages differently for narrow displays (like a sidebar), you might use css3 media queries.