• 0

Firefox's Directory Listing script


Question

Hello,

if you open firefox and type: "file:///C:/", you will have your C:/ directory opened inside the browser.

My question here, where can I find the full code for this Directory Listing to implement it to my own files in a server.

What i know is that the CSS files and some codes are available here: "C:\Program Files\Mozilla Firefox 3 Beta 5\res"

Thank you.

Your help is highly appreciated and this script might be used by many people.

Link to comment
https://www.neowin.net/forum/topic/635611-firefoxs-directory-listing-script/
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Well you don't want to use whatever code Firefox uses. You will want to use some server side script like PHP or Python. It is trivial to write something like this with server side script, indeed there are many scripts already available. In fact, Apache even does this itself unless you tell it not to.

  • 0

http://mxr.mozilla.org/seamonkey/source/to...bal/dirListing/

There are the resources, you're going to have to make the HTML by yourself (it's only stored in memory, generated on the fly from the directory list, the Web Developer Toolbar can get it if you use "view generated source")

Edit: Here's the bug where the new layout landed: https://bugzilla.mozilla.org/show_bug.cgi?id=294800

Edited by The_Decryptor
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.