You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: copy/paste prevention listeners never fire — space-separated event names passed to addEventListener #8361
I have searched the existing open and closed issues
Does the issue happen when logged in?
N/A
Does the issue happen when logged out?
Yes (source-code bug, independent of account state)
Does the issue happen in incognito mode when logged in?
N/A
Does the issue happen in incognito mode when logged out?
N/A
Issue details
Current Behavior
In frontend/src/ts/input/listeners/misc.ts, native addEventListener is called with space-separated event names (jQuery-style syntax), which registers literal event types that are never dispatched:
// frontend/src/ts/input/listeners/misc.ts:12-19inputEl.addEventListener("copy paste",(event)=>{event.preventDefault();});//this might not do anythinginputEl.addEventListener("select selectstart",(event)=>{event.preventDefault();});
The browser treats "copy paste" as a single event type named copy paste, so neither listener ever fires. As a result, copy/paste on the hidden words input is not actually prevented during a test.
Activity
priyanshu1976 commentedon Aug 26, 2026
@fehmer can i work on this issue ??
yasith-tharuka commentedon Aug 28, 2026
I would like to work on this issue.