Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

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