Compare commits

..

2 Commits
5.9.1 ... 5.9.2

Author SHA1 Message Date
Ajay
ab5291702a bump version 2024-09-27 02:06:20 -04:00
Ajay
bec183d595 Fix not allowing you to type ' in live chats 2024-09-27 02:06:08 -04:00
2 changed files with 3 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "__MSG_fullName__",
"short_name": "SponsorBlock",
"version": "5.9.1",
"version": "5.9.2",
"default_locale": "en",
"description": "__MSG_Description__",
"homepage_url": "https://sponsor.ajay.app",

View File

@@ -2524,7 +2524,8 @@ function addHotkeyListener(): void {
function hotkeyListener(e: KeyboardEvent): void {
if (["textarea", "input"].includes(document.activeElement?.tagName?.toLowerCase())
|| document.activeElement?.id?.toLowerCase()?.includes("editable")) return;
|| document.activeElement?.["contentEditable"]
|| document.activeElement?.id?.toLowerCase()?.match(/editable|input/)) return;
const key: Keybind = {
key: e.key,