Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filtering log is broken by history.replaceState #2598

Closed
tumatanquang opened this issue Nov 11, 2023 · 0 comments
Closed

Filtering log is broken by history.replaceState #2598

tumatanquang opened this issue Nov 11, 2023 · 0 comments

Comments

@tumatanquang
Copy link

AdGuard Extension version

4.2.209

Browser version

Chrome 109

OS version

Windows 7

What filters do you have enabled?

Filter unblocking search ads and self-promotion

What Stealth Mode options do you have enabled?

No response

Issue Details

Some websites like hitomi.la (NSFW warning) use the Javascript code history.replaceState in the source code:

history.replaceState({} , '', '#1' );

To add the default reading page (#1). In case filtering logs do not enable Preverse logs, all previous filter logs will be deleted and new logging will start after the above code.
However, the Network tab of DevTools is not affected, even if Preverse logs is not enabled!

Expected Behavior

Filter logs are not deleted/affected by history.replaceState like the Network tab of DevTools.

Screenshots

Screenshot 1:

Additional Information

Split from #2589

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants