Get file size

FireFox Add comments

I have created a ‘Get File Size’ plugin for FireFox. By the time I write this it’s in the SandBox of Mozilla’s Developers Zone, but I hope it will be available for the IT crowd soon.

Example screen

This simple plugin creates a HEAD request to the URL you clicked and alerts the size of the file - the value of ‘Content-Length’ header.

12 Responses to “Get file size”

  1. d2038 Says:

    how it works??

  2. Skakunov Alexander Says:

    As I said, plugin creates a HEAD request to the URL you clicked and alerts the size of the file - the value of ‘Content-Length’ header. Actually the plugin creates a new item in context menu you can see clicking a link.

  3. lexder Says:

    Is it possible to add one more option in “Get file size” - view the info about the date of file (’Last-Modified’ header)?

  4. chewi Says:

    Is it possible to show also date/time of file (’Last-Modified’ header) in your Firefox extension?

  5. Vas Says:

    pls!

  6. Nick Says:

    Please, update this thing for FF 3.0.1 and up.

  7. Skakunov Alexander Says:

    Added Last-Modified contents display.
    Added support of 3.0.*

    Enjoy :]

  8. jep! Says:

    plz add MD5 info! (extremely useful for file checking)

  9. Skakunov Alexander Says:

    plz add MD5 info! (extremely useful for file checking)

    I think it’s out of scope of this plugin.

  10. Jep! Says:

    > plz add MD5 info! (extremely useful for file checking)

    >> I think it’s out of scope of this plugin.

    Also, i guess for the MD5 info the file must be completely downloaded first to check unlike the Last-Modified info where only a little piece of header will be fetched. Alexander, am i right in this context?

  11. Skakunov Alexander Says:

    Alexander, am i right in this context?

    Yes, you hit the bull’s eye :]

  12. jep! Says:

    > Yes, you hit the bull’s eye :]

    hahaha… i like your humor :]
    Thanks

Leave a Reply

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Login