Skip to content

Include the entry's "!" info note(s) in the blocked-page warning #475

@DandelionSprout

Description

@DandelionSprout

After I thought a bit better through uBlockOrigin/uAssets#5180 today, after I had pretty much entirely cooled down about it, I've thought of a much better solution that could benefit almost all blocked sites from most lists.

At the current point in time, the block message only shows the matching filter, and the list(s) that the filter was found in, as demonstrated in the image below:
image

This may oftentimes be insufficient information to determine why the site was blocked, both for laymen and for professional-scale enthusiasts alike, and usually requires looking around in the source list's content to try to determine a reason behind it, which it's assumable that a fair percentage of non-professionals may not know that they're expected to do.

I therefore hereby request that the block message also include the ! or # info notes for the entry. That way, users of uBlock Filters - Badware Risks who try to access inkscape.fr would be shown these notes as part of the block message:

! https://github.com/uBlockOrigin/uAssets/issues/3060
! https://www.bleepingcomputer.com/news/security/fake-websites-for-keepass-7zip-audacity-others-found-pushing-adware/
! https://www.virustotal.com/#/file/a5616985e92ca7c1df3b132d2da2ef33c64f38ba2dca40445017037473d7d014/detection

While a user of Dandelion Sprouts nordiske filtre who tries to access godeskonettbutikk.com would be shown these notes as part of the block message:

! 🇳🇴: Falske nett-"butikker" som er så dårlige, at de står oppført på Forbrukertilsynet egen svarteliste.
! 🇩🇰: Falske web-"butikker" der er så dårlige, at de er opført på svartelisten til Forbrukertilsynet (Norges svar på Forbrugerombudsmanden).
! 🇬🇧: Fake and fraudulent web-"stores" that are so bad, that they're listed on the blacklist of the Norwegian state-sponsored Consumer Authority.
! Source: https://www.forbrukertilsynet.no/netthandel/falske-nettbutikker.

As for how to detect which notes to include, my personal idea is to include the notes at the top of the paragraph that the entry is in, except if there's another note immediately above the entry. If you have any better detection ideas, you're more than welcome to implement them instead.

If you guys have any questions about this idea of mine, don't hesitate to ask me about them.

Your environment

  • uBlock Origin version: Nano Adblocker 1.0.0.96
  • Browser Name and version: Google Chrome 73.0.3683.75 64-bit
  • Operating System and version: Windows 10 October 2018 Update (Last installed system update: KB4489899)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions