Skip to main content
3 of 3
Userscripts.org is officially dead
Brock Adams
  • 13k
  • 5
  • 39
  • 64

Click to expand code regions

##About

This is a Greasemonkey script that allows you to click code regions on Stack Overflow (or other Stack Exchange sites) and have it expand to whatever size it needs. Get rid of those pesky scroll bars!

Click the code region to expand it

##Features

  • Click the code region to have it expand to whatever size it needs
  • Removes vertical scroll altogether (expands to full height)
    • Intelligently expands horizontally
      • Maxes out at window width so as not to make even more scroll bars
      • If it still doesn't fit, it shrinks the font size
  • Click again to return it to normal

###Download/Source

Install user script here.
(view source)

###Platform

Tested in Firefox (with Greasemonkey) and Chrome.

Alconja
  • 521
  • 3
  • 7