2019-04-29 20:27:42 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-11-30 09:51:45 -05:00
|
|
|
# name: csp_extension
|
|
|
|
# about: Fixture plugin that extends default CSP
|
|
|
|
# version: 1.0
|
|
|
|
# authors: xrav3nz
|
|
|
|
|
|
|
|
extend_content_security_policy(
|
2022-11-24 06:27:47 -05:00
|
|
|
script_src: %w[https://from-plugin.com /local/path],
|
2021-06-07 14:59:15 -04:00
|
|
|
object_src: ["https://test-stripping.com"],
|
2021-06-08 09:32:31 -04:00
|
|
|
frame_ancestors: ["https://frame-ancestors-plugin.ext"],
|
|
|
|
manifest_src: ["https://manifest-src.com"],
|
2018-11-30 09:51:45 -05:00
|
|
|
)
|