Surfingkeys icon indicating copy to clipboard operation
Surfingkeys copied to clipboard

keyup事件跨标签泄露 KeyUp Event Leakage Between Browser Tabs

Open WzLYVg387U opened this issue 7 months ago • 0 comments

当快捷键涉及到在不同标签页(A与B)之间切换的时候,B标签会捕获到相应的keyup事件,可能会导致标签B中网页原生代码中定义的快捷键被意外触发

When using your extension's keyboard shortcuts, I've discovered a critical issue: when a key is pressed in Tab A but released in Tab B (after switching tabs while still holding the key), the KeyUp event gets captured by Tab B's webpage instead of remaining isolated to Tab A. This causes unintended functionality to trigger in Tab B's page.

WzLYVg387U avatar May 13 '25 18:05 WzLYVg387U