Widen Apache Listings

2006-10-08 17:58 - Bookmarklets

Apache has the nice autoindex feature that will show the listing of files in a directory, with zero effort. Unfortunately, in its default configuration, it will usually truncate long file names to a shorter length. In some situations this can make it difficult to pick out the right file. For example, this listing has a lot of similar files in it. The version numbers, usually at the end, are often cut off. That's what this bookmarklet is for! Click it, and it will take the filename out of the link, and put it on screen.

WidenApacheListing

(Note: This won't work in IE, because it uses the textContent property, which IE doesn't support. Perhaps IE7?)

Comments:

No comments!

Post a comment:

Username
Password
  If you do not have an account to log in to yet, register your own account. You will not enter any personal info and need not supply an email address.
Subject:
Comment:

You may use Markdown syntax in the comment, but no HTML. Hints:

  • An empty line between text will create a paragraph boundary.
  • Use angle braces around a plain URL to auto-link it: <http://www.example.com/>.
  • Use this format to create a link with different text showing: [An Example](http://www.example.com/).
  • Use backticks (``), not leading spaces to enclose a code block.

If you are attempting to contact me, ask me a question, etc, please send me a message through the contact form rather than posting a comment here. Thank you. (If you post a comment anyway when it should be a message to me, I'll probably just delete your comment. I don't like clutter.)