aspiers / aspiers/Discord-custom-nicks-userscript
waitForKeyElements triggers too often
Open
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
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