| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Collapse All GreaseMonkey script

Page history last edited by Christian Heilmann 15 years, 7 months ago

During his talk Phil Teare was asking for a way to collapse parts of a page, much like an IDE allows you to collapse code.

 

 

I've written a GreaseMonkey script that allows you to do that. You can install it by clicking the following link: icant.co.uk/sandbox/collapse_all.user.js

 

The script goes throug all lists, divs, paragraphs, table rows and tables and checks if they are larger than 100 pixels and smaller than a 1000 pixels either in width or height. If they are it creates a link to collapse the section and expand it.

 

Following is the BBC backstage blog with the script enabled:

 

 

Clicking any of the minuses will collapse the section and turn the minus into a plus and vice versa.

 

cheers

Chris

 

 

 

Comments (0)

You don't have permission to comment on this page.