This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ค้นหาฝ่ายสนับสนุน

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

เรียนรู้เพิ่มเติม

ODD file extensions selected from browser cannot be opened

  • 3 การตอบกลับ
  • 1 คนมีปัญหานี้
  • 1 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย cor-el

more options

I save shell scripts to my local website and they are have *.sh *.ksh extensions. When I attempt to view the contents of these files from Firefox it goes 'off in the weeds' opening a new tab for each line [I think ] in the file. I can rename all of the files to have a *.txt extension but would rather tell Firefox to treat all *.sh and *.ksh files the same as *.txt but I cannot figure out HOW to do this.

Any help is appreciated - I have looked at the 'Applications' option item but could not figure out how to add a new 'Content Type'

I save shell scripts to my local website and they are have *.sh *.ksh extensions. When I attempt to view the contents of these files from Firefox it goes 'off in the weeds' opening a new tab for each line [I think ] in the file. I can rename all of the files to have a *.txt extension but would rather tell Firefox to treat all *.sh and *.ksh files the same as *.txt but I cannot figure out HOW to do this. Any help is appreciated - I have looked at the 'Applications' option item but could not figure out how to add a new 'Content Type'

วิธีแก้ปัญหาที่เลือก

If you get an Open with download dialog then never select Firefox as the program to handle the file.

See:


You can preview the URL with the view-source: protocol to make Firefox open the file.

อ่านคำตอบนี้ในบริบท 👍 0

การตอบกลับทั้งหมด (3)

more options

วิธีแก้ปัญหาที่เลือก

If you get an Open with download dialog then never select Firefox as the program to handle the file.

See:


You can preview the URL with the view-source: protocol to make Firefox open the file.

more options

Thanks - this helped. Actually when I went back and looked in options/applications I did notice that .sh file types were using Firefox [did not see that yesterday else I would have tried some other app..] The link you passed on was very helpful.

Thanks Very Much, Dominic