From 830d22d8931a4e5f0606d401f24d7cd937f8697e Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Wed, 2 Feb 2022 11:13:48 +0100 Subject: support Parabola's Iceweasel in tests --- content/policy_enforcing.js | 40 ++++++++++++++++++++++++++++++++++++---- 1 file changed, 36 insertions(+), 4 deletions(-) (limited to 'content') diff --git a/content/policy_enforcing.js b/content/policy_enforcing.js index 320b6d0..45529ea 100644 --- a/content/policy_enforcing.js +++ b/content/policy_enforcing.js @@ -159,6 +159,12 @@ function desanitize_script(script) { delete script.haketilo_blocked_type; } +/* + * Blocking certain attributes that might allow 'javascript:' URLs. Some of + * these are: