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".

Tìm hiểu thêm

Manage Extensions

  • 2 trả lời
  • 1 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi cor-el

more options

I am trying to manage Firefox extensions using a GPO using code below (Computer Configuration->Administrative Templates->Mozilla->Firefox->Extensions->Extension Management). The format below aligns with what is listed here "https://github.com/mozilla/policy-templates/blob/master/README.md#extensionsettings" and this is not working as expected. The goal is to only allow users to install the allowed extensions listed and everything else gets blocked. Please help?

Not sure if related but I also have "Extension Update" enabled

{
  "*": {
    "blocked_install_message": "Your admin has blocked adding this extension.",
    "install_sources": ["about:addons","https://addons.mozilla.org/"],
    "installation_mode": "blocked",
    "allowed_types": ["extension"]			
	},
    "abb@amazon.com": {
		"installation_mode": "allowed",
        "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi"
		}
	},
    "ciscowebexstart1@cisco.com": {
		"installation_mode": "allowed",
        "install_url": "https://addons.mozilla.org/firefox/downloads/latest/cisco-webex-extension/latest.xpi"
		}
	},
    "{bda65ea0-2465-43b6-9b66-d396988c24aa}": {
		"installation_mode": "allowed",
        "install_url": "https://addons.mozilla.org/firefox/downloads/latest/google-hangout/latest.xpi"
		}
	},
		"linkedinConverted@firefox-extension": {
        "installation_mode": "allowed",
        "install_url": "https://addons.mozilla.org/firefox/downloads/latest/linkedin-notifications/latest.xpi"
      }
	},
    "{7bc53591-5218-45a0-b572-4366979097fd}": {
		"installation_mode": "allowed",
        "install_url": "https://addons.mozilla.org/firefox/downloads/latest/markdown-diagrams/latest.xpi"
      }
	},
    "queryamoid@kaply.com": {
		"installation_mode": "allowed",
		"install_url": "https://raw.githubusercontent.com/mkaply/queryamoid/main/updates.json"
      }
	},
    "jid1-93WyvpgvxzGATw@jetpack": {
        "installation_mode": "allowed",
        "install_url": "https://addons.mozilla.org/firefox/downloads/latest/to-google-translate/latest.xpi"
      }
}
I am trying to manage Firefox extensions using a GPO using code below (Computer Configuration->Administrative Templates->Mozilla->Firefox->Extensions->Extension Management). The format below aligns with what is listed here "https://github.com/mozilla/policy-templates/blob/master/README.md#extensionsettings" and this is not working as expected. The goal is to only allow users to install the allowed extensions listed and everything else gets blocked. Please help? Not sure if related but I also have "Extension Update" enabled <pre><nowiki>{ "*": { "blocked_install_message": "Your admin has blocked adding this extension.", "install_sources": ["about:addons","https://addons.mozilla.org/"], "installation_mode": "blocked", "allowed_types": ["extension"] }, "abb@amazon.com": { "installation_mode": "allowed", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi" } }, "ciscowebexstart1@cisco.com": { "installation_mode": "allowed", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/cisco-webex-extension/latest.xpi" } }, "{bda65ea0-2465-43b6-9b66-d396988c24aa}": { "installation_mode": "allowed", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/google-hangout/latest.xpi" } }, "linkedinConverted@firefox-extension": { "installation_mode": "allowed", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/linkedin-notifications/latest.xpi" } }, "{7bc53591-5218-45a0-b572-4366979097fd}": { "installation_mode": "allowed", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/markdown-diagrams/latest.xpi" } }, "queryamoid@kaply.com": { "installation_mode": "allowed", "install_url": "https://raw.githubusercontent.com/mkaply/queryamoid/main/updates.json" } }, "jid1-93WyvpgvxzGATw@jetpack": { "installation_mode": "allowed", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/to-google-translate/latest.xpi" } }</nowiki></pre>

Được chỉnh sửa bởi cor-el vào

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

Your code has a a lot of extra lines with a closing '}'. You can try this code instead.

Software\Policies\Mozilla\Firefox\ExtensionSettings (REG_MULTI_SZ) =
{
 "*": {
    "blocked_install_message": "Your admin has blocked adding this extension.",
    "install_sources": ["about:addons","https://addons.mozilla.org/"],
    "installation_mode": "blocked",
    "allowed_types": ["extension"]			
	},
  "abb@amazon.com": {
		"installation_mode": "allowed",
        "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi"
	},
  "ciscowebexstart1@cisco.com": {
		"installation_mode": "allowed",
        "install_url": "https://addons.mozilla.org/firefox/downloads/latest/cisco-webex-extension/latest.xpi"
	},
  "{bda65ea0-2465-43b6-9b66-d396988c24aa}": {
		"installation_mode": "allowed",
        "install_url": "https://addons.mozilla.org/firefox/downloads/latest/google-hangout/latest.xpi"
	},
	"linkedinConverted@firefox-extension": {
        "installation_mode": "allowed",
        "install_url": "https://addons.mozilla.org/firefox/downloads/latest/linkedin-notifications/latest.xpi"
	},
  "{7bc53591-5218-45a0-b572-4366979097fd}": {
		"installation_mode": "allowed",
        "install_url": "https://addons.mozilla.org/firefox/downloads/latest/markdown-diagrams/latest.xpi"
	},
  "queryamoid@kaply.com": {
		"installation_mode": "allowed",
		"install_url": "https://raw.githubusercontent.com/mkaply/queryamoid/main/updates.json"
	},
  "jid1-93WyvpgvxzGATw@jetpack": {
        "installation_mode": "allowed",
        "install_url": "https://addons.mozilla.org/firefox/downloads/latest/to-google-translate/latest.xpi"
 }
}

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

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

more options

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

Your code has a a lot of extra lines with a closing '}'. You can try this code instead.

Software\Policies\Mozilla\Firefox\ExtensionSettings (REG_MULTI_SZ) =
{
 "*": {
    "blocked_install_message": "Your admin has blocked adding this extension.",
    "install_sources": ["about:addons","https://addons.mozilla.org/"],
    "installation_mode": "blocked",
    "allowed_types": ["extension"]			
	},
  "abb@amazon.com": {
		"installation_mode": "allowed",
        "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi"
	},
  "ciscowebexstart1@cisco.com": {
		"installation_mode": "allowed",
        "install_url": "https://addons.mozilla.org/firefox/downloads/latest/cisco-webex-extension/latest.xpi"
	},
  "{bda65ea0-2465-43b6-9b66-d396988c24aa}": {
		"installation_mode": "allowed",
        "install_url": "https://addons.mozilla.org/firefox/downloads/latest/google-hangout/latest.xpi"
	},
	"linkedinConverted@firefox-extension": {
        "installation_mode": "allowed",
        "install_url": "https://addons.mozilla.org/firefox/downloads/latest/linkedin-notifications/latest.xpi"
	},
  "{7bc53591-5218-45a0-b572-4366979097fd}": {
		"installation_mode": "allowed",
        "install_url": "https://addons.mozilla.org/firefox/downloads/latest/markdown-diagrams/latest.xpi"
	},
  "queryamoid@kaply.com": {
		"installation_mode": "allowed",
		"install_url": "https://raw.githubusercontent.com/mkaply/queryamoid/main/updates.json"
	},
  "jid1-93WyvpgvxzGATw@jetpack": {
        "installation_mode": "allowed",
        "install_url": "https://addons.mozilla.org/firefox/downloads/latest/to-google-translate/latest.xpi"
 }
}

more options

Moving thread to Firefox for Enterprise.