AdguardTeam / AdguardTeam/AdguardBrowserExtension

[needs:pm] Auto-refresh pages on startup before ad blocker is initialized

Aperta
#3,311 3 commenti 5 reazioni 1 assegnatario Assegnata a @vozersky Vedi su GitHub
needs:pm Priority: P3
Lingua principale
TypeScript
Stelle
4.4k
Fork
449
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## Feature Summary
Add automatic page refresh functionality after extension initialization to prevent ad blocks from showing during browser startup.

## Description
When the browser starts or a PWA is launched, pages can load before the ad blocker is fully initialized. This allows ads to slip through, which harms the user experience. This feature will implement an automatic page refresh that triggers once the ad blocker is ready.

This will address a long-standing request from both users and filter developers to handle cases where content is loaded before filtering becomes active.

## Acceptance Criteria
- After initialization, the extension should automatically refresh the active tab.
- When switching to an existing tab, the extension should refresh it if the page was loaded before filtering was active.
- To prevent double reloads, the extension must not refresh a tab that the browser is already reloading (e.g., restoring from a discarded state).
- The feature must work correctly in Chrome for both standard tabs and PWAs.
- No infinite refresh loops occur.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.