aspiers / aspiers/Discord-custom-nicks-userscript

waitForKeyElements triggers too often

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
JavaScript
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

At a glance it seems to be hardcoded to run every 300ms. I'm concerned that might add unnecessary load on the page and impact performance / laptop battery etc.

Contributor guide

Open the contributing guide

Research direction

Start by locating the waitForKeyElements entry point and inspecting its apparent 300ms trigger. Determine whether the polling frequency causes unnecessary page or battery load, and verify that any change preserves the userscript's custom-nickname behavior without triggering excessively.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.