Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

CSP Google Supported Domains

4 sites Security covered Drupal 9–11
View on drupal.org

This module automatically adds Google's supported domain names to your Content Security Policy (CSP) to ensure that Google features, like certain ad-related functionalities, can load assets correctly. This is useful if your site uses Google services that pull resources from country-specific Google domains.

This modules automatically adds the domain names listed on https://www.google.com/supported_domains to the CSP policy created by the CSP module.

After installation, the domain names can be added by checking the 'Add Google supported domains' checkbox when editing the CSP policy.

Why should I use this?

This is only required if you're using google features that load assets through
country-code top level domains. Basic analytics functionality does not require
these domains, but some of their ad-related features do.

Warning: Take the Content-Security-Policy header length in account!

Please note that when 'Add Google supported domains' is enabled for (all)
individual CSP policies, you might run into issues caused by the length of
the Content-Security-Policy header. When the length is larger than what your
reverse proxy or CDN supports, it might show an 502 error.

Please see https://www.drupal.org/project/drupal/issues/2844620 and
https://www.drupal.org/project/drupal/issues/2954339 for more information.

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Mar 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Slowing

Releases

Version Type Core Release date
1.3.0 Stable 9–11 Jul 4, 2025
1.2.1 Stable 9–11 Mar 20, 2025