搜尋 Mozilla 技術支援網站

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

Learn More

how to disable "set as desktop background" option

  • 2 回覆
  • 2 有這個問題
  • 4 次檢視
  • 最近回覆由 CAAdminTI

more options

Hello,

I'm was looking for an easy way to disable the "set as desktop background" option in Firefox. We use group policy here to disable changing the background, but the Firefox option "set as desktop background" bypasses group policy and changes the background. Thanks for any help you can provide.

Hello, I'm was looking for an easy way to disable the "set as desktop background" option in Firefox. We use group policy here to disable changing the background, but the Firefox option "set as desktop background" bypasses group policy and changes the background. Thanks for any help you can provide.

所有回覆 (2)

more options

I do not know how to do this via GPO.

When this is asked on the forum then we advice to do this via a userCrome.css file in the profile folder, but this can be bypassed by running Firefox in Safe Mode.


Add code to the userChrome.css file below the default @namespace line.


@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#context-setDesktopBackground { display:none!important; }
more options

Hi there,

Concerning the solution offered by Cor-El, will that change in the .css file be persistent after an update?