SergeGardien wrote:Nothing specific but given that ABP/NoScript sometimes weren't playing very well together I suppose I need to be mindful of possible issues with uBlock/NoScript. Anyway, it's more related to the fact that sometimes, if a website brakes down, I need to investigate its interaction with the single addons by having one enabled at a time.
Oh, that deal. That is less of a problem with uBlock Origin than with ABP.
Technical explanation: ABP and NoScript's script blocking both use nsIContentPolicy, where the order run is somewhat indeterminate.
Let's say we have a site where 3rd-party script from example.net is being loaded. Only script from example.net, no images or css or the like. And let's say ABP lists block example.net, and example.net is also forbidden in NoScript.
Sometimes, in this situation, example.net would be seen only by ABP. Other times, only by NoScript.
But there are times when both addons see it and block it at the same time.
You could check the ABP blockable items and make a whitelist, but until you reload the page and also allow it in the NoScript menu, it'll still be blocked. Or vice versa. This is all trial-and-error - you need to check both, reloading the page after every change, to be sure.
uBlock Origin uses a HTTP observer, which runs
after nsIContentPolicy and thus after NoScript's active content blocking. Therefore, uBlock Origin will not see example.net until it has been (Temp-)Allowed in NoScript. This is deterministic, you know to always check NoScript first, and if allowing example.net there doesn't seem to have any effect, then check uBlock Origin. Same order every time.
Anyway that's probably more information than you wanted to know, but hope it helps.
SergeGardien wrote:Thanks to you barbaz for helping out
You're welcome.
[quote="SergeGardien"]Nothing specific but given that ABP/NoScript sometimes weren't playing very well together I suppose I need to be mindful of possible issues with uBlock/NoScript. Anyway, it's more related to the fact that sometimes, if a website brakes down, I need to investigate its interaction with the single addons by having one enabled at a time.[/quote]
Oh, that deal. That is less of a problem with uBlock Origin than with ABP.
Technical explanation: ABP and NoScript's script blocking both use nsIContentPolicy, where the order run is somewhat indeterminate.
Let's say we have a site where 3rd-party script from example.net is being loaded. Only script from example.net, no images or css or the like. And let's say ABP lists block example.net, and example.net is also forbidden in NoScript.
Sometimes, in this situation, example.net would be seen only by ABP. Other times, only by NoScript.
But there are times when both addons see it and block it at the same time.
You could check the ABP blockable items and make a whitelist, but until you reload the page and also allow it in the NoScript menu, it'll still be blocked. Or vice versa. This is all trial-and-error - you need to check both, reloading the page after every change, to be sure.
uBlock Origin uses a HTTP observer, which runs [b]after[/b] nsIContentPolicy and thus after NoScript's active content blocking. Therefore, uBlock Origin will not see example.net until it has been (Temp-)Allowed in NoScript. This is deterministic, you know to always check NoScript first, and if allowing example.net there doesn't seem to have any effect, then check uBlock Origin. Same order every time.
Anyway that's probably more information than you wanted to know, but hope it helps.
[quote="SergeGardien"]Thanks to you barbaz for helping out ;)[/quote]
You're welcome.