<- Chrome Settings Library

JavaScriptAllowedForUrls

Allow JavaScript on these sites
Last updated October 8, 2024

Setting the policy lets you set a list of URL patterns that specify the sites that can run JavaScript. Leaving the policy unset means DefaultJavaScriptSetting applies for all sites, if it's set. If not, the user's personal setting applies. For detailed information on valid url patterns, please see https://cloud.google.com/docs/chrome-enterprise/policies/url-patterns. Wildcards, *, are allowed.

Supported On:
Platform Start End
Android 30
Chrome (Windows, Mac, Linux) 11
ChromeOS 11
Example value:

{"0":"https://www.example.com","1":"[*.]example.edu"}

Features: