From 34335fc5433da835a589022aab81d0a24f64dd5c Mon Sep 17 00:00:00 2001 From: Kevin F Date: Mon, 9 Aug 2021 02:46:55 +0000 Subject: [PATCH] Don't apply to arrow keys or page-up/down --- background.js | 6 ++++++ manifest.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/background.js b/background.js index 44c980a..3080c80 100644 --- a/background.js +++ b/background.js @@ -57,11 +57,17 @@ let appCode = function (){ setTimeout(function(){ document.addEventListener('keyup', function(e){ + if (e.key.startsWith('Arrow') || e.key.startsWith('Page')){ + return true; + } pausecomp(dwellTime); return true; }, ) document.addEventListener('keydown', function(e){ + if (e.key.startsWith('Arrow') || e.key.startsWith('Page')){ + return true; + } pausecomp(gapTime); return true; }) diff --git a/manifest.json b/manifest.json index ae936f9..a9147a3 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "Private Keyboard", - "version": "1.2", + "version": "1.3", "description": "Protect against keyboard biometrics",