AdguardTeam / AdguardTeam/CoreLibs

AdGuard content script is not injected when website is loaded from prefetch cache

Open
#2,077 0 comments 0 reactions 0 assignees View on GitHub
Bug Priority: P4
Dominant language
No language data
Stars
52
Forks
10
PR merge metrics
No merged PRs in 30d

Description

### Please answer the following questions for yourself before submitting an issue

- [x] Filters were updated before reproducing an issue
- [x] I checked the [knowledge base](https://adguard.com/kb/) and found no answer
- [x] I checked to make sure that this issue has not already been filed

### AdGuard version

AdGuard for Windows 8.0.5468.0

### Browser version

Chrome 148

### OS version

Windows 11

### Issue Details

Steps to reproduce:
1. Enable `Preload pages` in Chrome settings `chrome://settings/performance`
2. Add to user rules:
```adblock
adguard.com##body
adguard.com#%#alert(1);
```
3. Navigate to `https://www.google.com/search?q=adguard`
4. Click on the first link which leads to `adguard.com`

### Expected Behavior

AdGuard content script is injected and rules are applied.

### Actual Behavior

AdGuard content script is not injected, so rules are not applied.
Also, request to `adguard.com` website (document) is not visible in AdGuard filtering log.

### Screenshots

### Additional Information

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.