為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How to add additional application (not only Notepad) to text file opening?

  • 2 回覆
  • 2 有這個問題
  • 1 次檢視
  • 最近回覆由 sersei

more options

I try to open link to text file (plain/text, *.txt), after clicking I have normal windows that is asking what I want to do with this file, "Open with Notepad(default)" or "Save File". I need to open this file in Internet Explorer (as encoding is different than standard), but in menu for opening there is only "Notepad(default)" and "Other", when I choose "Other" I can choose "Internet Explorer", but even after this IE is not showing on drop down menu (I've always have to choose "Other"). I want to add "Internet Explorer" as one of default actions for text files. For sure it was working in some previous versions, but I'm unable to tell in which version it stopped.

I try to open link to text file (plain/text, *.txt), after clicking I have normal windows that is asking what I want to do with this file, "Open with Notepad(default)" or "Save File". I need to open this file in Internet Explorer (as encoding is different than standard), but in menu for opening there is only "Notepad(default)" and "Other", when I choose "Other" I can choose "Internet Explorer", but even after this IE is not showing on drop down menu (I've always have to choose "Other"). I want to add "Internet Explorer" as one of default actions for text files. For sure it was working in some previous versions, but I'm unable to tell in which version it stopped.

所有回覆 (2)

more options

Text files send as text/plain should normally always open in a browser window unless you would force a download, either via the right-click context menu or via the alt key (browser.altClickSave = true).

You only set a download action if you tick the box to do this automatically.
Alternatively you can set IE as the default for .txt files and you should see IE offered as the first choice.

more options

Thank you for answer, but still no luck.
This problem is with some kind of email front-end. So after clicking on link is automatically showing

==

"Opening <filename>.txt" (window name)
You have chosen to open:
<filename>.txt
which is a: Text Document (<size>)
From: <https://hostname>
What should Firefoce do with this file?
Open with Notepad (default) /Other
..
..
Save FIle
"Do this automatically for files like this from now on." is grayed out.
====
So this is not opening in browser automatically.
I've tried to change Windows settings for opening text file, but even in Windows *.txt files are opened in IE, Firefox still don't change this "Notepad(default)" settings, nor not allow me add one more action for this kind of file(operation?)

由 cor-el 於 修改