Option to disable nouislider integration

Created on 10 February 2025, about 2 months ago

Problem/Motivation

When using the CSP module with Better Exposed Filters, the former ends up automatically adding cdnjs.cloudflare.com to the policy. This is incredibly broad and I'd rather not allow random scripts like this in the policy. This module will attempt to load nouislider from a local source if it exists, but doesn't provide the option to simply opt-out of using nouislider. Most of the time when I use BEF I don't need sliders.

Steps to reproduce

Install Drupal CMS
Install CSP module

Proposed resolution

Only load the library when using sliders, OR provide an option to not load the library at all.

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Active

Version

7.1

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia mstrelan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024