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

Use +/- in the popup to indicate whether 3-p frames were blocked #210

Closed
6 of 8 tasks
FatOrangutan opened this issue Sep 7, 2018 · 5 comments
Closed
6 of 8 tasks
Labels
enhancement New feature or request fixed issue has been addressed

Comments

@FatOrangutan
Copy link

FatOrangutan commented Sep 7, 2018

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

The firewall section of the popup currently uses + and - to gives users a rough idea of how many requests were blocked/allowed. This makes it easy to create new rules.
I recently started using * * 3p-frame block but have found it a bit more time-consuming to unbreak websites because the popup doesn't tell me if any frames were blocked. The full logger needs to be opened and the page reloaded to determine if any frames were blocked.

A specific URL where the issue occurs

Any url with an iframe would do, such as this one: https://patrickhlauke.github.io/recaptcha/.

Steps to Reproduce

  1. Add * * 3p-frame block
  2. Visit page with an iframe
  3. Try to use popup's firewall to determine if frame was allowed/blocked

Expected behavior:

Use +/- in the 3rd-party frames row to give a quick overview.

Actual behavior:

No +/- in the 3rd-party frames row.

Your environment

  • uBlock Origin version: 1.16.21b4
  • Browser Name and version: Nightly
  • Operating System and version: Windows 10
@uBlock-user
Copy link
Contributor

Are you posting this as a suggestion ?

@uBlock-user uBlock-user added the enhancement New feature or request label Sep 7, 2018
@FatOrangutan
Copy link
Author

Yes.

@joey04
Copy link

joey04 commented Sep 7, 2018

This suggestion is not valid for how the firewall panel has always worked. The first 7 rows -- all to 3rd-party frames -- are indicators of the dynamic rules currently in effect. Only the following rows for each domain has the +/- counts.

@joey04
Copy link

joey04 commented Sep 8, 2018

Thought about this a bit more today, and if this suggestion were to be added it should be a new Advanced setting to enable it (default off).

If enabled, it should add +/- counts to all 5 request type rows: image, inline-script, 1p-script, 3p-script, and 3p-frame. It would be silly to just show 3p-frame count.

But I still don't think it's a good idea to add this at all. Advanced users need to learn how to use the Logger effectively. It's an essential aspect of a default-deny rule strategy.

@gorhill
Copy link
Member

gorhill commented Sep 8, 2018

I meant to have this originally. The only reason I did not implement it was to avoid overhead and making the code more complicated (because of gorhill/uBlock#2053).

gorhill added a commit to gorhill/uBlock that referenced this issue Feb 15, 2021
Related issue:
- uBlockOrigin/uBlock-issues#210

Additionally, a small (experimental) widget has been added
to emphasize/de-emphasize rows which have 3rd-party
scripts/frames, so as to more easily identify which rows
are "affected" by 3rd-party scripts and/or frames.

Tooltip localization for the new widget is not available
yet as I want wait for the feature to be fully settled.
@gorhill gorhill closed this as completed Feb 19, 2021
@uBlock-user uBlock-user added the fixed issue has been addressed label Feb 19, 2021
gorhill added a commit to gorhill/uBlock that referenced this issue Apr 13, 2021
For now the mini-filtering widget on 3rd-party scripts/frames
cells will allow to emphasize rows which have 3rd-party
scripts and/or frames.

Somewhat related issue:
- uBlockOrigin/uBlock-issues#210
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fixed issue has been addressed
Projects
None yet
Development

No branches or pull requests

4 participants