From 6bc0b938577ff4c741183806853baa38b5993a78 Mon Sep 17 00:00:00 2001 From: Mossroy Date: Mon, 30 May 2022 19:51:57 +0200 Subject: [PATCH] Open external links in new tabs and warn the user Fixes #404 This is a refresh of the work of Jaifroid in branch https://github.com/kiwix/kiwix-js/tree/Check-for-external-links-and-warn --- www/index.html | 7 ++++++ www/js/app.js | 35 +++++++++++++++++++++++---- www/js/lib/uiUtil.js | 57 +++++++++++++++++++++++++++++++++++++++++++- 3 files changed, 94 insertions(+), 5 deletions(-) diff --git a/www/index.html b/www/index.html index c67110782..4a4daf417 100644 --- a/www/index.html +++ b/www/index.html @@ -476,6 +476,13 @@

Display settings

Use Home key to focus search bar (may rarely have side effects on ZIM files that handle Home key) +
+ +