Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

Application Handlers

  • 6 trả lời
  • 0 gặp vấn đề này
  • 60 lượt xem
  • Trả lời mới nhất được viết bởi Chris Wilkerson

more options

Hi All, I have been on the struggle bus lately trying to get the application handlers set properly in our GPO. I am trying to get PDF, webp, avif to open in browser, and jnlp to auto launch Java. Any help will be greatly appreciated!

{"application/pdf":{"action":3,"extensions":["pdf"]},"image/webp":{"action":3,"extensions":["webp"]},"image/avif":{"action":3,"extensions":["avif"]},"application/x-java-jnlp-file":{"action":4,"handlers":[{"name":"javaws.exe","path":"C:\\Program Files (x86)\\Java\\jre-1.8\\bin\\javaws.exe"}],"extensions":["jnlp"]}}

Hi All, I have been on the struggle bus lately trying to get the application handlers set properly in our GPO. I am trying to get PDF, webp, avif to open in browser, and jnlp to auto launch Java. Any help will be greatly appreciated! {"application/pdf":{"action":3,"extensions":["pdf"]},"image/webp":{"action":3,"extensions":["webp"]},"image/avif":{"action":3,"extensions":["avif"]},"application/x-java-jnlp-file":{"action":4,"handlers":[{"name":"javaws.exe","path":"C:\\Program Files (x86)\\Java\\jre-1.8\\bin\\javaws.exe"}],"extensions":["jnlp"]}}

Giải pháp được chọn

Yeah, you shouldn't need to modify anything for the other stuff.

And yeah, those should definitely work for jnlp.,

Đọc câu trả lời này trong ngữ cảnh 👍 1

Tất cả các câu trả lời (6)

more options

The actions need to be actual names not numbers.

Have you taken a look at Handlers here?

https://mozilla.github.io/policy-templates/#handlers

Also, JNLP only works on the ESR (long story)

Hữu ích?

more options

Thank you for that information! So the handler action can be a number in the local Handlers.json in the local profile, but not in the GPO, got it. I guess there is simply not an action for "open in browser" or "handle internally"..?

Hữu ích?

more options

> I guess there is simply not an action for "open in browser" or "handle internally"..?

Yeah, I figured most of those would just happen by default. Have you found a case where I need to add it?

Hữu ích?

more options

I'm guessing webp, avif, and PDF are, by default, set to open in browser and my broken policies are changing them to save to file? So I just need to set a GPO handler for JNLP only, I think (I am on ESR102.7) This should work for the JNLP handler GPO, right? Thanks again for your time and support!!!

{

 "mimeTypes": {
   "application/x-java-jnlp-file": {
     "action": "useHelperApp",
     "ask": false,
     "handlers": [{
       "name": "Java(TM) Web Start",
       "path": "C:\\Program Files (x86)\\Java\\jre-1.8\\bin\\javaws.exe"
     }]
   }
 },
 "extensions": {
   "jnlp": {
     "action": "useHelperApp",
     "ask": false,
     "handlers": [{
       "name": "Java(TM) Web Start",
       "path": "C:\\Program Files (x86)\\Java\\jre-1.8\\bin\\javaws.exe"
     }]
   }
 }

}

Được chỉnh sửa bởi Chris Wilkerson vào

Hữu ích?

more options

Giải pháp được chọn

Yeah, you shouldn't need to modify anything for the other stuff.

And yeah, those should definitely work for jnlp.,

Hữu ích?

more options

Thank you so much, Mike!

Hữu ích?

Đặt một câu hỏi

Bạn phải đăng nhập vào tài khoản của bạn để trả lời bài viết. Vui lòng bắt đầu một câu hỏi mới, nếu bạn chưa có tài khoản.