MozillaZine

Get File Size Extension

Talk about add-ons and extension development.
f4lc0n

User avatar
 
Posts: 270
Joined: March 21st, 2003, 12:36 am
Location: Vancouver, BC Canada

Post Posted March 25th, 2004, 10:17 pm

Sometimes when the content type is octet-stream an open download dialog box is opened rather than folowing the link to the site. Happens at news.google.com .
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050226 Firefox/1.0.1 (stipe)

Torisugari
 
Posts: 1634
Joined: November 4th, 2002, 8:34 pm
Location: Kyoto, Nippon (GMT +9)

Post Posted March 26th, 2004, 12:46 am

f4lc0n wrote:Sometimes when the content type is octet-stream an open download dialog box is opened rather than folowing the link to the site. Happens at news.google.com .

Maybe. Please post the exact url you found out. Thanks.

f4lc0n

User avatar
 
Posts: 270
Joined: March 21st, 2003, 12:36 am
Location: Vancouver, BC Canada

Post Posted March 27th, 2004, 2:06 am

Torisugari wrote:
f4lc0n wrote:Sometimes when the content type is octet-stream an open download dialog box is opened rather than folowing the link to the site. Happens at news.google.com .

Maybe. Please post the exact url you found out. Thanks.


Go to http://www.neowin.net/ then on the left side, below the neowin logo are a bunch of forum links hove the link for a bit then click. I sometimes get the dialog box and sometimes not when clicking the same link.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050226 Firefox/1.0.1 (stipe)

asqueella
 
Posts: 4019
Joined: November 16th, 2003, 3:05 am
Location: Russia, Moscow

Post Posted March 27th, 2004, 10:42 am

andyed wrote:Would it be even better if it did it onHover of a link? And presented the results in a inpage popup?

That could be made like in AiO gestures' tooltip popup (right-click+scroll or press shift and move over), or just be integrated into AiO.

Torisugari
 
Posts: 1634
Joined: November 4th, 2002, 8:34 pm
Location: Kyoto, Nippon (GMT +9)

Post Posted March 30th, 2004, 2:16 am

f4lc0n wrote:Go to http://www.neowin.net/ then on the left side, below the neowin logo are a bunch of forum links hove the link for a bit then click. I sometimes get the dialog box and sometimes not when clicking the same link.

Confirmed. It depends on bug 232385. Thanks anyway.

Torisugari
 
Posts: 1634
Joined: November 4th, 2002, 8:34 pm
Location: Kyoto, Nippon (GMT +9)

Post Posted September 27th, 2004, 4:00 am

Sorry for bumping old thread.
I'm not the origianl poster here. I named the extension after thie topic title. While ago, I noticed that there's very the same name plugin for IE. It seems that sbc(OP) did know the plugin, but I didn't. My bad. Then I can't send this extension to update.mozilla.org. All extensions are thrid party applications, but those on update.mozilla.org are semi-official. And I don't mean to trouble u.m.o with these naming details.

So will anyone suggest a new name for this extension?

If you don't know match about this extension, please follow the link rather than read all the post ins this thread.
http://webdevel.blogspot.com/2004/03/ge ... azine.html

Thanks.

Robert S.

User avatar
 
Posts: 4399
Joined: April 24th, 2004, 3:04 am
Location: Bay Area, CA

Post Posted September 27th, 2004, 4:09 am

Get Document Size
Get File Properties
Get File Info

You could also change the first word to Show or Display like
Show File Size
etc.

Torisugari
 
Posts: 1634
Joined: November 4th, 2002, 8:34 pm
Location: Kyoto, Nippon (GMT +9)

Post Posted September 27th, 2004, 4:13 am

Then which do you think the best?

Robert S.

User avatar
 
Posts: 4399
Joined: April 24th, 2004, 3:04 am
Location: Bay Area, CA

Post Posted September 27th, 2004, 4:17 am

I am leaning towards "File Info" with the possibility of adding an action suffix of "View". I believe this would be consistent with "Page Info". Though I haven't used the Get File Size extension from what I read this would be an appropriate name.

Torisugari
 
Posts: 1634
Joined: November 4th, 2002, 8:34 pm
Location: Kyoto, Nippon (GMT +9)

Post Posted September 27th, 2004, 4:34 am

wig_out_on_me wrote:I am leaning towards "File Info" with the possibility of adding an action suffix of "View". I believe this would be consistent with "Page Info". Though I haven't used the Get File Size extension from what I read this would be an appropriate name.


Hmm, this extensin extends "Link Properties" in "Element Properties" dialog, though it looks like Page Info dialog...

jedbro

User avatar
 
Posts: 1899
Joined: November 10th, 2002, 12:35 pm
Location: Mexico / Boulder Co.

Post Posted September 27th, 2004, 6:58 am

I vote for "Show File Size" :)

Robert S.

User avatar
 
Posts: 4399
Joined: April 24th, 2004, 3:04 am
Location: Bay Area, CA

Post Posted September 27th, 2004, 8:55 am

I leaned towards File Info since it does more than just provide the file size which also lends itself towards adding additional properties if you ever extend the extension. If you see the main function as providing file size without extending functionality in the future then I would go with Show File Size or View File Size.

sbc
 
Posts: 147
Joined: February 18th, 2004, 12:47 pm

Post Posted September 28th, 2004, 3:42 am

Maybe Extended Link Properties? File Info or Target (Link) Info may be good choices as well, as it is the information of the target link that you are getting.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11

Clint1
 
Posts: 177
Joined: October 15th, 2004, 6:19 am
Location: Baton Rouge, LA USA

Post Posted October 17th, 2004, 4:49 am

Could someone tell me please where I can get this for 1.0PR? I've tried 3 or 4 versions of this so far and none work. They "install", but the extension is not listed in the extensions list. Another version I tried said it wouldn't work with 1.0PR. I'm desperately hoping this will give the right click an image and get it's dimensions and file size like IE does.
Thanks.
God Bless,
-Clint

Robert S.

User avatar
 
Posts: 4399
Joined: April 24th, 2004, 3:04 am
Location: Bay Area, CA

Post Posted October 17th, 2004, 6:01 am

Clint1 wrote:Could someone tell me please where I can get this for 1.0PR? I've tried 3 or 4 versions of this so far and none work. They "install", but the extension is not listed in the extensions list. Another version I tried said it wouldn't work with 1.0PR. I'm desperately hoping this will give the right click an image and get it's dimensions and file size like IE does.
Thanks.
You can right click the image and select properties to get the dimensions and file size for images as long as they aren't background images... IE is also not able to get this info for background images.

*edited to add* You can also select View background image to view it in a new tab / window to get this info in the same manner afterwards for background images
Last edited by Robert S. on October 17th, 2004, 6:06 am, edited 2 times in total.

Return to Extension Development


Who is online

Users browsing this forum: No registered users and 1 guest