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!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 2 replies
  • 1 has this problem
  • 1 view
  • Last reply by 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''

Chosen solution

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.

Read this answer in context 👍 1

All Replies (2)

more options

Chosen Solution

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