Hide CPAN Table-of-Contents

By Randy J. Ray Last update Jul 31, 2009 — Installed 40 times.


Script Summary: Hide the default-displayed table of contents on search.cpan.org pages, replacing it with an expand/collapse control.

Version: 20090730

Script homepage

This script hides the table-of-contents displayed on the rendered documentation pages for Perl modules on search.cpan.org. The element is hidden and replaced with a clickable <span> element that lets you toggle the visibility of the TOC.