SitePolicies
Defines policies scoped to specific sites.
Compatibility: Firefox 150, Firefox ESR 153
Preferences Affected: N/A
The policy is made up of a list of rules that are evaluated in order. Each can contain:
Matchwhich is a list of sites. An empty list or missing property means to match all sites.Exceptionsis also a list of sites which when matched bypasses this set of rules.Policiesis an object defining the policies.
Currently the only supported policies are:
DisableJitwhich when true disables the JIT engine for the site.
It is important to note that a site here refers to a registerable domain so *.example.com is a valid site but *.com is not. * can also be used to refer to all sites.
For example this setting would disable the JIT for only *.example.com:
[ { "Match": ["*.example.com"], "Policies": { "DisableJit": true } }]While this setting would disable the JIT on every site except *.example.org:
[ { "Exceptions": ["*.example.org"], "Policies": { "DisableJit": true } }]Windows (GPO)
Section titled “Windows (GPO)”Software\Policies\Mozilla\Firefox\SitePolicies (REG_MULTI_SZ) =[ { "Exceptions": ["*.example.com"], "Policies": { "DisableJit": true }, }]Windows (Intune)
Section titled “Windows (Intune)”OMA-URI:
./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox/SitePoliciesValue (string):
<enabled/><data id="JSON" value='[ { "Exceptions": ["*.example.com"], "Policies": { "DisableJit": true }, }]'/><dict> <key>SitePolicies</key> <array> <dict> <key>Exceptions</key> <array> <string>*.example.com</string> </array> <key>Policies</key> <dict> <key>DisableJit</key> <true/> </dict> </dict> </array></dict>policies.json
Section titled “policies.json”{ "policies": { "SitePolicies": [ { "Exceptions": ["*.example.com"], "Policies": { "DisableJit": true } } ] }}