#220 bit wrong documentation

Closed
opened 4 months ago by FoxSpectator · 6 comments

In documentation it says we have to use uBlock origin in medium mode, while I noticed we only need to use it with "I am an advanced user" setting enabled. That is what makes those rules work. Everything else is less accurate.

In documentation it says we have to use uBlock origin in medium mode, while I noticed we only need to use it with "I am an advanced user" setting enabled. That is what makes those rules work. Everything else is less accurate.
nobody added the
question/discussion
label 4 months ago
nobody commented 4 months ago
Owner

What documentation are you meaning? Here in the wiki or the FAQs in the extension?

The rules from the ruleset generator are necessary when using uBlock in Medium (or Hard) mode, because all third-party connections are blocked. This can be recognized by the uBlock icon (blue or red).

Icon Mode Rules useful uBlock Wiki
Default Default/Easy No https://github.com/gorhill/uBlock/wiki/Blocking-mode#very-easy-mode-details-
Medium Medium Yes https://github.com/gorhill/uBlock/wiki/Blocking-mode:-medium-mode
Hard Hard Yes https://github.com/gorhill/uBlock/wiki/Blocking-mode:-hard-mode
What documentation are you meaning? Here in the wiki or the FAQs in the extension? The rules from the ruleset generator are necessary when using uBlock in Medium (or Hard) mode, because all third-party connections are blocked. This can be recognized by the uBlock icon (blue or red). | Icon | Mode | Rules useful | uBlock Wiki | | -------- | -------- | -------- | -------- | | ![Default](https://codeberg.org/attachments/e437cff8-a289-43b2-a709-34ac0f2cffd6) | Default/Easy | No | https://github.com/gorhill/uBlock/wiki/Blocking-mode#very-easy-mode-details- | ![Medium](https://codeberg.org/attachments/b7610b01-a2d3-411c-952a-33e9f1f53a65) | Medium | Yes | https://github.com/gorhill/uBlock/wiki/Blocking-mode:-medium-mode | | ![Hard](https://codeberg.org/attachments/bc68b63f-7a3f-435c-9e72-97106c7b3bf7) | Hard | Yes | https://github.com/gorhill/uBlock/wiki/Blocking-mode:-hard-mode |
nobody added the
documentation
label 4 months ago
6ig6oy commented 4 months ago

Hello,
a few months ago I was going to report on this issue, because I was checking this if it was necessary to add the rules for LocalCDN to work.

I use uBlock Origin with "advanced user" setting enabled(firefox), and you don't need to create any additional rules. Works perfectly with LocalCDN.

Because by default in uBlock Origin all are "noop", unless the specific rule to block it is created then LocalCDN could not work on it.

This is an old problem that I solve Decentraleyes by creating specific rules(noop), but it is no longer necessary to create them in uBlock Origin.

However, in uMatrix it is necessary because by default resources are blocked, unless you include the rules to allow it.

Cheers

Hello, a few months ago I was going to report on this issue, because I was checking this if it was necessary to add the rules for LocalCDN to work. I use uBlock Origin with "advanced user" setting enabled(*firefox*), and you don't need to create any additional rules. **Works perfectly with LocalCDN**. Because by default in uBlock Origin all are "noop", unless the specific rule to block it is created then LocalCDN could not work on it. This is an old problem that I solve *Decentraleyes* by creating specific rules(noop), but it is no longer necessary to create them in uBlock Origin. However, in uMatrix it is necessary because by default resources are blocked, unless you include the rules to allow it. Cheers
nobody commented 4 months ago
Owner

I use uBlock Origin with "advanced user" setting enabled(firefox), and you don't need to create any additional rules. Works perfectly with LocalCDN.

Yes, because "advanced user" doesn't change the blocking mode of uBlock. It's still on "Easy". You don't need rules for easy modes.

What color is your uBlock counter?

Please read this:
https://github.com/gorhill/uBlock/wiki/Advanced-user-features
https://github.com/gorhill/uBlock/wiki/Blocking-mode

> I use uBlock Origin with "advanced user" setting enabled(firefox), and you don't need to create any additional rules. Works perfectly with LocalCDN. Yes, because "advanced user" doesn't change the **blocking mode** of uBlock. It's still on "Easy". You don't need rules for easy modes. What color is your uBlock counter? Please read this: https://github.com/gorhill/uBlock/wiki/Advanced-user-features https://github.com/gorhill/uBlock/wiki/Blocking-mode
6ig6oy commented 4 months ago

What color is your uBlock counter?

The icon color is gray:

By default it has these rules (My rules pane), with these rules there is no problem with the LocalCDN:

no-csp-reports: * true
no-large-media: behind-the-scene false
behind-the-scene * * noop
behind-the-scene * 1p-script noop
behind-the-scene * 3p noop
behind-the-scene * 3p-frame noop
behind-the-scene * 3p-script noop
behind-the-scene * image noop
behind-the-scene * inline-script noop

Actually, there is no set in dynamic filters, everything skips("noop") to the comestic filters, and LocalCDN would detect.

Now, if you add manually "Blocking mode: medium mode", this:

* * 3p-script block

You are blocking javascript to third web-pages(like CDNs), and then the LocalCDN will not detect it and it can do its magic. Then you will need to manually add the additional "noop" rules for the LocalCDN to work.

For example, I block fonts.googleapis.com directly in uBlock Origin, and I don't need to activate LocalCDN blocking fonts.googleapis.com in advanced options:

* fonts.googleapis.com * block

This advanced options doesn't make much sense for someone (like me) using uBlock Origin, unless you only use LocalCDN. So this you should change the noop to block:

* fonts.googleapis.com * noop

As always, thanks for your work
Cheers

> > What color is your uBlock counter? The icon color is gray: ![](https://i.ibb.co/j6Y95LQ/icon-gray.png) By default it has these rules (*My rules pane*), with these rules there is no problem with the **LocalCDN**: ``` no-csp-reports: * true no-large-media: behind-the-scene false behind-the-scene * * noop behind-the-scene * 1p-script noop behind-the-scene * 3p noop behind-the-scene * 3p-frame noop behind-the-scene * 3p-script noop behind-the-scene * image noop behind-the-scene * inline-script noop ``` Actually, there is no set in dynamic filters, everything skips("noop") to the comestic filters, and **LocalCDN** would detect. Now, if you add manually "*Blocking mode: medium mode*", this: ``` * * 3p-script block ``` You are blocking javascript to third web-pages(like CDNs), and then the **LocalCDN** will not detect it and it can do its magic. Then you will need to manually add the additional "*noop*" rules for the **LocalCDN** to work. For example, I block fonts.googleapis.com directly in uBlock Origin, and I don't need to activate **LocalCDN** blocking fonts.googleapis.com in advanced options: ``` * fonts.googleapis.com * block ``` This advanced options doesn't make much sense for someone (like me) using uBlock Origin, unless you only use **LocalCDN**. So this you should change the noop to block: ``` * fonts.googleapis.com * noop ``` *As always, thanks for your work Cheers*
Poster

Looks like you're right. I mean in wiki, and settings, and everywhere possible.
Documentation confused me. I tought I have to set uBlock to medium mode for you extension to work at all. Nowhere does it say clearly that I don't need thosee rules if I am using default settings or easy mode of uBlock origin. It only says not supported, so I interpreted it as "your extension is not supported if we don't use medium mode in uBlock origin" and "rules (recipes) are neccessary for all of us". Please clarify it there (everywhere). As for uMatrix, I use it in allow all mode so not needed.

Looks like you're right. I mean in wiki, and settings, and everywhere possible. Documentation confused me. I tought I have to set uBlock to medium mode for you extension to work at all. Nowhere does it say clearly that I don't need thosee rules if I am using default settings or easy mode of uBlock origin. It only says not supported, so I interpreted it as "your extension is not supported if we don't use medium mode in uBlock origin" and "rules (recipes) are neccessary for all of us". Please clarify it there (everywhere). As for uMatrix, I use it in allow all mode so not needed.
FoxSpectator closed this issue 4 months ago
nobody commented 4 months ago
Owner

Ah, yes, that can be misunderstood. I have replaced "supported" with "necessary".

If anyone can describe this better and more clearly in your own words, I'd be happy to hear your suggestions. I will copy it directly into the wiki. 😉

Ah, yes, that can be misunderstood. I have replaced "supported" with "necessary". If anyone can describe this better and more clearly in your own words, I'd be happy to hear your suggestions. I will copy it directly into the wiki. 😉
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.