搜尋 Mozilla 技術支援網站

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

了解更多

A wildcard preference name for AutoConfig and/or Policies.json

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

more options

Is it possible to use a wildcard of some sort to identify settings ?

For example: we have print.printer_WHATEVERTHENAME.print_shrink_to_fit

I want to put a wildcard to skip the printer name and just change preference that ends with .print_shrink_to_fit

So it would look something like this: pref("*.print_shrink_to_fit", false) or *.print_shrink_to_fit", false

Is it possible to use a wildcard of some sort to identify settings ? For example: we have ''print.printer_WHATEVERTHENAME.print_shrink_to_fit'' I want to put a wildcard to skip the printer name and just change preference that ends with '''''.print_shrink_to_fit''''' So it would look something like this: ''pref("*.print_shrink_to_fit", false)'' or ''*.print_shrink_to_fit", false''

被選擇的解決方法

Unfortunately it is not and there's no easy way to get those values.

Can you open a bug in bugzilla for this? We should really make this easier.

從原來的回覆中察看解決方案 👍 1

所有回覆 (2)

more options

選擇的解決方法

Unfortunately it is not and there's no easy way to get those values.

Can you open a bug in bugzilla for this? We should really make this easier.

more options

Thank you Mike. An option like this would be godsend.

For those who want to follow this, here's a link: https://bugzilla.mozilla.org/show_bug.cgi?id=1691283