From 3b26c6f82fffeb2e8598cf892365cb712a14534d Mon Sep 17 00:00:00 2001 From: Greeshmanth Date: Sat, 9 Mar 2024 23:04:44 +0530 Subject: [PATCH] Show active content warning when opening PhET ZIMs in Safe Mode #1157 (#1227) Signed off by @Greeshmanth1909. --- www/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/app.js b/www/js/app.js index 90d2bdf3..7d55932d 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -2392,7 +2392,7 @@ var regexpTagsWithZimUrl = /(<(?:img|script|link|track)\b[^>]*?\s)(?:src|href)(\ // fully supported wikimedia ZIMs, so they are excluded); 4) the script block is not of type "math" (these are MathJax markup scripts used // extensively in Stackexchange ZIMs). Note that the regex will match ReactJS