From 9545544472b48d4a9b20b5995170a29bf0fa36d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20S=C3=A4ume?= Date: Thu, 23 May 2024 16:31:24 +0200 Subject: [PATCH] update --- main.user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.user.js b/main.user.js index 5119b7a..a773112 100644 --- a/main.user.js +++ b/main.user.js @@ -10,7 +10,7 @@ // @grant GM_getValue // @grant GM_xmlhttpRequest // @grant GM_log -// @version 0.0.8 +// @version 0.0.9 // @author Dominik Säume // ==/UserScript== @@ -19,7 +19,7 @@ let awnserData; console.log = console.__proto__.log; -window.addEventListener("keydown", event => { +window.addEventListener("keydown", async (event) => { switch(event.key){ case "p": const oldAwnsersURL = GM_getValue(URL_STORAGE_KEY);