AdguardTeam / AdguardTeam/AdguardBrowserExtension
Cosmetic filtering fails inside Edge for Game Bar
- Linguagem predominante
- TypeScript
- Estrelas
- 4.4k
- Forks
- 449
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
**Title:** Cosmetic filtering (element hiding) fails inside Edge for Game Bar
**Description:**
When using the AdGuard browser extension (tested with both MV2 and MV3 versions) inside the "Edge for Game Bar" widget on Windows, network-level ad blocking works, but cosmetic filtering fails completely. Ads are not loaded, but their empty placeholders (DOM elements) remain visible on the page.
Interestingly, uBlock Origin (and uBO Lite) handles this without any issues in the exact same environment, successfully collapsing the empty elements.
**Environment:**
* **OS:** Windows 11
* **Browser:** Edge for Game Bar (connected to the standard Edge profile)
* **AdGuard Version:** Tested with both MV2 and MV3 extension versions
* **Other Extensions:** uBlock Origin (tested for comparison)
**Steps to Reproduce:**
1. Make sure the AdGuard extension is enabled (it shares extensions with the desktop Edge profile).
2. Open Xbox Game Bar (Win + G) on Windows.
3. Launch the **Edge for Game Bar** widget.
4. Navigate to any website with display ads (or an ad-blocker test page).
5. Observe that the ad network requests are blocked, but the empty DOM blocks/placeholders are not hidden.
**Expected Behavior:**
AdGuard should apply cosmetic filters to hide the empty ad blocks, exactly as it does on the standard desktop Edge browser.
**Actual Behavior:**
Empty ad placeholders remain on the page.
**Additional Context:**
"Edge for Game Bar" operates as an in-game overlay linked to the desktop Edge profile and installed extensions. While network blocking works properly in this widget, AdGuard's cosmetic filtering fails to trigger or execute.
For comparison, uBlock Origin works properly in the exact same widget and successfully hides the empty ad spaces.
---
**Screenshots:**
### 1. AdGuard Off (Desktop)
### 2. AdGuard On (Desktop)
### 3. AdGuard Off (Game Bar)
### 4. AdGuard On (Game Bar)
### 5. uBlock On (Desktop)
### 6. uBlock On (Game Bar)
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.