Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 04, 2016, 12:25:12 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Force firefox to display a page it wants to download?  (Read 5471 times)

Ehtyar

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • View Profile
    • Donate to Member
Force firefox to display a page it wants to download?
« on: January 23, 2008, 08:15:48 PM »
It's been bugging me now for a while, but this time I've resolved to actually try to do something about it. Certain types of plain text files are not displayed in firefox, but rather prompt the user to download them. This annoys me most when you're scouring the net for source, and every c/cpp file you come across you have to download to view. I am tired of this behavior and would like to know if anyone is aware of a way to view a given filetype in-browser despite any file associations or headers. Please reply to this thread if you have a solution for this.

Thanks, Ehtyar.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,258
    • View Profile
    • Coding Snacks by Lanux128
    • Read more about this member.
    • Donate to Member
Re: Force firefox to display a page it wants to download?
« Reply #1 on: January 23, 2008, 09:00:01 PM »
this thread provides some clues on the matter.

Opening text files in the browser?

Ehtyar

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • View Profile
    • Donate to Member
Re: Force firefox to display a page it wants to download?
« Reply #2 on: January 23, 2008, 09:24:24 PM »
Open In Browser is the PERFECT solution, I had this totally idyllic solution worked out in my head, and this is pretty much it. Thank you very much lanux!!

Ehtyar.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,258
    • View Profile
    • Coding Snacks by Lanux128
    • Read more about this member.
    • Donate to Member
Re: Force firefox to display a page it wants to download?
« Reply #3 on: January 23, 2008, 09:32:47 PM »
you're welcome, Ehtyar. that's Firefox for you, nothing that an add-on can't fix.. :)

Ehtyar

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • View Profile
    • Donate to Member
Re: Force firefox to display a page it wants to download?
« Reply #4 on: January 23, 2008, 10:31:56 PM »
you're welcome, Ehtyar. that's Firefox for you, nothing that an add-on can't fix.. :)
Uh uh uh  :eusa_naughty: you forget about my thread on getting firefox to show the size of a download. Got ya there eh?  :P

Ehtyar.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,258
    • View Profile
    • Coding Snacks by Lanux128
    • Read more about this member.
    • Donate to Member
Re: Force firefox to display a page it wants to download?
« Reply #5 on: January 23, 2008, 11:46:53 PM »
Uh uh uh  :eusa_naughty: you forget about my thread on getting firefox to show the size of a download. Got ya there eh?  :P

Ehtyar.

that add-on is truly a life-saver especially when i'm on dial-up.. :up:

Ehtyar

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • View Profile
    • Donate to Member
Re: Force firefox to display a page it wants to download?
« Reply #6 on: January 23, 2008, 11:52:25 PM »
That addon wasn't accepted  >:(. I listed a half dozen reasons. Find me a better one!! Quick!! :P

Ehtyar.

wreckedcarzz

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,623
    • View Profile
    • Donate to Member
Re: Force firefox to display a page it wants to download?
« Reply #7 on: January 24, 2008, 12:19:24 AM »
Use Download Statusbar - tons of options :) (including showing the size of total download, amnt. downloaded so far, time remaining, percent done, and tons more - in this 100x20 bar that sits at the bottom of your screen!)

https://addons.mozil...-US/firefox/addon/26

Ehtyar

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • View Profile
    • Donate to Member
Re: Force firefox to display a page it wants to download?
« Reply #8 on: January 24, 2008, 12:28:55 AM »
I do, and love it naturally. My problem is seeing the file size BEFORE i choose to download it, as any other browser does....

Ehtyar.

wreckedcarzz

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,623
    • View Profile
    • Donate to Member
Re: Force firefox to display a page it wants to download?
« Reply #9 on: January 24, 2008, 12:34:09 AM »
Not sure then. I don't really care when I download files, because if I am downloading it it means I want it, so I don't mind if it takes like 4 hours to download 3 or so GB. :-\

Lashiec

  • Member
  • Joined in 2006
  • **
  • Posts: 2,374
    • View Profile
    • Donate to Member
Re: Force firefox to display a page it wants to download?
« Reply #10 on: January 24, 2008, 03:30:16 PM »
That addon wasn't accepted  >:(. I listed a half dozen reasons. Find me a better one!! Quick!! :P

Did ya try the other solution I proposed in that thread? (Tip to find it: Ignore the rant ;D)

Ehtyar

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • View Profile
    • Donate to Member
Re: Force firefox to display a page it wants to download?
« Reply #11 on: January 24, 2008, 05:10:52 PM »
I see. Not sure how this solves the problem thought..could you be more specific?

Ehtyar.

Lashiec

  • Member
  • Joined in 2006
  • **
  • Posts: 2,374
    • View Profile
    • Donate to Member
Re: Force firefox to display a page it wants to download?
« Reply #12 on: January 24, 2008, 05:25:11 PM »
Well, everything is explained there. As you can add custom apps to the list of those ones that can be used Launchy, you can define a list of extensions usually associated with downloads, and use as the app the one linked there. So, when you encounter a file you want to download, you select Get File Size in the Launchy entry integrated in the context menu in Firefox, and theoretically the program will give you the details on the download and allow you to get the file from the program. In theory :)

Ehtyar

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • View Profile
    • Donate to Member
Re: Force firefox to display a page it wants to download?
« Reply #13 on: January 24, 2008, 05:34:18 PM »
In practice it would probably just be easier to let th download start and check the file size on download statusbar and cancel it if it's too big or whatever. But thank you, and I think this add-on may be of help in other scenarios.

Ehtyar.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,258
    • View Profile
    • Coding Snacks by Lanux128
    • Read more about this member.
    • Donate to Member
Re: Force firefox to display a page it wants to download?
« Reply #14 on: January 24, 2008, 07:24:02 PM »
That addon wasn't accepted  >:(. I listed a half dozen reasons. Find me a better one!! Quick!! :P

which add-on are you referring to?

Ehtyar

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • View Profile
    • Donate to Member
Re: Force firefox to display a page it wants to download?
« Reply #15 on: January 25, 2008, 05:12:54 PM »
I was referring to the one that displays the download details in the statusbar on mouseover. The other one (that lets you run external apps) I'm not sure how to apply to fox my problem.

Ehtyar.