From 5c75d7446187a01409eff1a1e5946f66267f61fb Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Fri, 10 Sep 2021 16:50:56 +0200 Subject: Make it impossible to check "Allow native scripts" for pages with payload. --- html/options.html | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) (limited to 'html/options.html') diff --git a/html/options.html b/html/options.html index f2a75e1..01b1061 100644 --- a/html/options.html +++ b/html/options.html @@ -152,6 +152,22 @@ min-width: 70vw; resize: none; } + + .form_disabled>* { + opacity: 0.5; + pointer-events: none; + } + + .form_disabled_msg { + display: none; + font-style: italic; + } + + .form_disabled .form_disabled_msg { + opacity: initial; + pointer-events: initial; + display: initial; + } @@ -226,15 +242,18 @@ - + -
+
+ + (only possible when no payload is used) +
-- cgit v1.2.3