openfrontio / openfrontio/OpenFrontIO
Buttons disappear when browser extensions mutate the DOM
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 1.4k
- Avg merge
- 17h 43m
- Merged PRs (30d)
- 310
Description
**Describe the bug**
Homepage game buttons disappear when a browser extension that modifies the page DOM, such as DeepL, is enabled.
The affected buttons include the public lobby cards and the Solo, Create, Ranked, and Join buttons. Disabling the extension and reloading the page restores them.
**To Reproduce**
Steps to reproduce the behavior:
1. Install and enable the DeepL browser extension, or another extension that modifies page DOM.
2. Go to `https://openfront.io/`.
3. Wait for the homepage and public lobby information to load.
4. Observe that the homepage game buttons disappear.
**Expected behavior**
Homepage buttons should remain visible and functional even when a browser extension modifies unrelated page DOM.
External DOM mutations should not corrupt the application’s rendered component tree.
**Screenshots**
**Assignment**
- [ ] I'd like to be assigned to this issue and work on it myself
Contributor guide
Research direction
Start by reproducing the issue at https://openfront.io/ with DeepL or another DOM-mutating browser extension enabled, then inspect the homepage rendering path and component tree. The fix is done when the public lobby cards and Solo, Create, Ranked, and Join buttons remain visible and functional after external DOM mutations, without the extension enabled case regressing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100