From 2649a2fa01a45ba3766cced3b244a8376df5091a Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Sun, 8 Dec 2024 20:17:26 +0200 Subject: web: Enabled secure paste text for Firefox --- web/share/js/kvm/paste.js | 6 ------ 1 file changed, 6 deletions(-) (limited to 'web/share') diff --git a/web/share/js/kvm/paste.js b/web/share/js/kvm/paste.js index 8b770122..3fe1d62c 100644 --- a/web/share/js/kvm/paste.js +++ b/web/share/js/kvm/paste.js @@ -37,12 +37,6 @@ export function Paste(__recorder) { tools.storage.bindSimpleSwitch($("hid-pak-secure-switch"), "hid.pak.secure", false, function(value) { $("hid-pak-text").style.setProperty("-webkit-text-security", (value ? "disc" : "none")); }); - tools.feature.setEnabled($("hid-pak-secure"), ( - tools.browser.is_chrome - || tools.browser.is_safari - || tools.browser.is_opera - )); - $("hid-pak-keymap-selector").addEventListener("change", function() { tools.storage.set("hid.pak.keymap", $("hid-pak-keymap-selector").value); }); -- cgit v1.2.3