Skip to main content

Click to expand code regions

##About

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