web: Enabled secure paste text for Firefox

This commit is contained in:
Maxim Devaev
2024-12-08 20:17:26 +02:00
parent 8cca5a8cc7
commit 2649a2fa01
3 changed files with 2 additions and 8 deletions

View File

@@ -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);
});