BetterDir

By Mark Pilgrim Last update Jun 19, 2005 — Installed 1,690 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 9 posts, 9 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
FF3user User

Screenshots of how it looks on testpage: http://www.shmoocon.org/2007/videos/ :
Original by 'Mark Pilgrim' with 'Johannes la Poutre's fix (or else it won't change anything): http://img117.imageshack.us/img117/4079/origina...
'nitro322' / jared's mod: http://img117.imageshack.us/img117/7131/jaredmo...
Edit: Jared gave me some guidelines and his modification, I think looks a lot better if you change "font-size property on line 256".
Change it to for example '80%' instead: http://img516.imageshack.us/img516/6353/80perce...
or
'75%': http://img516.imageshack.us/img516/653/75percen...

 
nitro322 Scriptwright

Thanks, Johannes. Great tip!

If anyone is interested, I made a further modification to this script. Instead of just "prettying up" the page, I also have it rewrite the file names so that the full names are displayed. By default, Apache seems to truncate the file names to the first 20 characters, which is pretty darn annoying on pages like this:
http://www.shmoocon.org/2007/videos/

If anyone's interested in this modification, you can grab it from the following site:

https://www.legroom.net/howto/firefox

The schmoocon link I posted above makes for a good test case if you're curious to see how it works in comparison to the original script.

Mark, thanks for making this possible to begin with. :-)

 
Johannes la ... Scriptwright

Quick fix for the "Component not available" error: change lines 176 and 177 to:

tr.addEventListener("mouseover", function() { this.className = 'ruled'; return false; }, false);
tr.addEventListener("mouseout", function() { this.className = ''; return false; }, false);

 
Sean M. Burke Scriptwright

Under FF 1.5 and GM 0.6.4, this does nothing for me besides just throwing the mysterious error "Component is not available."

 
Michael Bierman Scriptwright

I am having problems with FF 1.5 and GM 0.6.4.

 
Arteekay User

Doesn't appear to be functional under Firefox 1.5 beta and/or greasemonkey 0.6.2

 
AwfkiWhistler User

I love the look but often get a blank page and have to refresh several times before the directory shows up.

 
Josh Matthews Scriptwright

I love the minimalised and elegant look of the new directory views.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel