Open jackrjli opened 4 months ago
uBO's onHeadersReceived
listener is not being called when the page loads. From a quick investigation, this appears related to the browser cache. I can reproduce easily, but not when I "Clear Data..."/"Cache Web Content" beforehand.
I am not sure this is the same issue; but today running chromium, I got no site loading at all, while it is fine in firefox. Works by disabling ublock origin.
this appears related to the browser cache. I can reproduce easily, but not when I "Clear Data..."/"Cache Web Content" beforehand.
Are you sure, because on Windows + FF 125 I can still reproduce the issue even with browser data/cache cleared (regardless of whether cleared before closing browser or before visiting example.com or even when doing both) Or maybe there is a difference between Linux / Windows, as most likely you tested on Linux.
@solsticedhiver Please do the steps described in this: https://github.com/uBlockOrigin/uBlock-issues/issues/3217#issuecomment-2063911578 and continue in that thread instead
Prerequisites
I tried to reproduce the issue when...
Description
My HTML filters do not work on the first site I visit after opening the browser. If I visit some other page first, even in a different tab, or if I refresh the page after visiting it, the filters do work. The filters also work on the first page visit if I convert them to cosmetic filters. When the issue occurs, the logger shows the page load but does not show the filter being applied.
A specific URL where the issue occurs.
Steps to Reproduce
example.com##^h1
Expected behavior
HTML filter removes the heading element saying "Example Domain"
Actual behavior
"Example Domain" heading remains on the page until refreshing or revisiting the page
uBO version
1.57.2
Browser name and version
Firefox 125.0
Operating System and version
Fedora 39, macOS Sonoma 14.4.1