Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Dynamic Filter: 3rd party scripts not blocked if in cache #893

@Zauberfisch

Description

@Zauberfisch

Bold text is updated/additional information from comments

Prerequisites

  • I verified that this is not a filter issue
  • This is not a support issue or a question
  • I performed a cursory search of the issue tracker to avoid opening a duplicate issue
    • Your issue may already be reported.
  • I tried to reproduce the issue when...
    • uBlock Origin is the only extension
    • uBlock Origin with default lists/settings
    • using a new, unmodified browser profile
  • I am running the latest version of uBlock Origin
  • I checked the documentation to understand that the issue I report is not a normal behavior

Description

In chrome & chromium it appears that not all 3rd party scripts are blocked.
I have set 3rd party scripts to be blocked, but some 3rd party resources (eg cdnjs.cloudflare.com & ravenjs.com) are still loaded.
In firefox uBlock behaves as expected and blocks all scripts.
Edit: appears to effect only 3rd party scripts that are cached by chrome. Disabling cache in developer tools fixes this issue

Screenshots

(chrome with wrong behaviour left, firefox with correct behaviour right):
Logged In
uBlock

Not logged in
uBlock1

A specific URL where the issue occurs

Steps to Reproduce

  1. activate "I am an advanced user"
  2. block all 3rd party scripts in the dynamic filters
  3. EDIT: ensure "Disable cache" is not active in chromes developer tools
  4. visit patrenon.com

Expected behavior:

3rd party scripts should not be loaded (firefox does this correctly)

Actual behavior:

chrome will load some 3rd party scripts
EDIT: the scripts loaded appear to only be scripts that are cached

Your environment

  • uBlock Origin version: v1.24.4 (in both, firefox and chrome)
  • Browser Name and version:
    • Google Chrome: Version 80.0.3987.87 (Official Build) (64-bit)
    • Chromium: Version 80.0.3987.87 (Official Build) Arch Linux (64-bit)
    • Mozilla Firefox: 72.0.2 (64-bit)
  • Operating System and version: OS: Manjaro Linux x86_64, Kernel: 5.5.2-1-MANJARO

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidnot a uBlock issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions