Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

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

자세히 살펴보기

Opening attachments in Gmail

  • 8 답장
  • 1 이 문제를 만남
  • 69 보기
  • 최종 답변자: rsuchyta1

more options

I'm using Gmail in Firefox 80.0.1. When there is a Word or .pdf attachment on a gmail message, clicking on the attachment opens the dialogue box attached below. Despite checking the box, "Do this automatically for files like this from now on," the box continue to pop up with the next attachment on another email. Is there a way to make it "automatic?"

I'm using Gmail in Firefox 80.0.1. When there is a Word or .pdf attachment on a gmail message, clicking on the attachment opens the dialogue box attached below. Despite checking the box, "Do this automatically for files like this from now on," the box continue to pop up with the next attachment on another email. Is there a way to make it "automatic?"
첨부된 스크린샷

선택된 해결법

Here's how I tested:

(1) Set the default actions on the Options page to open in Word (see screenshot)

(2) Send myself a Word document as an attachment to a Gmail message

(3) Click the Download button on the attachment (see screenshot)

Firefox shows the Download dialog because Google uses Content-Disposition: attachment

(4) Turn on Content-Type Fixer and change the Content-Disposition Override setting as shown in my earlier reply screenshot

(5) Click the Download button on the attachment

Firefox saves the document to the Temp folder and launches it in Word.

문맥에 따라 이 답변을 읽어주세요 👍 0

모든 댓글 (8)

more options

If you go to the Firefox settings page and scroll down to the Applications section, you should be able to set the default action for those types of files there.

Hope this helps.

more options

The automatic action is connected to a specific content type that is send by the server and is not about the file extension.

more options

The pop up selects the correct program to open the attachment, but is there a way to have the program automatically open the attachment each time that file type is attached (just as the check box implies)?

more options

It depends. Sites may "force" a download by setting

Content-Disposition: attachment

and in that case, Firefox will always shows that dialog.

There are some add-ons you can use to override this instruction from the server so that Firefox automatically follows the instructions on the Options page. For example, I created this one: https://addons.mozilla.org/firefox/addon/content-type-fixer/

After you click the Zzzz button to turn it on, then click the button again and select the second option in the Content-Disposition section (inline):

<center></center>
more options

Tried all the above, including deleting the handlers.json file and installing the Content-Type Fixer add-on (thank you). Still have the same problem: I can open Gmail attachments via the pop-up, it just won't happen automatically.

more options

Interestingly, in Chrome, the attachments open fine automatically.

more options

선택된 해결법

Here's how I tested:

(1) Set the default actions on the Options page to open in Word (see screenshot)

(2) Send myself a Word document as an attachment to a Gmail message

(3) Click the Download button on the attachment (see screenshot)

Firefox shows the Download dialog because Google uses Content-Disposition: attachment

(4) Turn on Content-Type Fixer and change the Content-Disposition Override setting as shown in my earlier reply screenshot

(5) Click the Download button on the attachment

Firefox saves the document to the Temp folder and launches it in Word.

more options

I went through the Content-Disposition override instructions a second time and IT WORKED! Must have done something wrong the first go around. Thank you so much for the fix; now I'll be less aggravated every time I open a Word or pdf document from Gmail in Firefox. Too bad the fix isn't in the browser itself. Thanks again!