-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
Related feedback: - https://www.reddit.com/r/uBlockOrigin/comments/cmh910/ Additionally, the `3p` rule has been made distinct from `3p-script`/`3p-frame` for the purpose of "Relax blocking mode" command. The badge color will hint at the current blocking mode. There are four colors for the four following blocking modes: - JavaScript wholly disabled - All 3rd parties blocked - 3rd-party scripts and frames blocked - None of the above The default badge color will be used when JavaScript is not wholly disabled and when there are no rules for `3p`, `3p-script` or `3p-frame`. A new advanced setting has been added to let the user choose the badge colors for the various blocking modes, `blockingProfileColors`. The value *must* be a sequence of 4 valid CSS color values that match 6 hexadecimal digits prefixed with`#` -- anything else will be ignored.
- Loading branch information
There are no files selected for viewing
5 comments
on commit 7ff750e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: I'm now experimenting with different sequence of blockingProfiles
: 11011 11001 00001
(hard mode + no-scripting - switch off 3rd-party first) and it's sometimes bit confusing when badge color do not change after pressing shortcut.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There has to be a priority with the blocking colors, two colors can't be displayed at the same time. The JavaScript switch has priority, then 3p
, then 3p-script/frame
. Are you arguing that 3p
should have priority over the JavaScript switch?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am going to see if I can re-work how the rule bits and colors are encoded in hidden settings.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does make sense to allow passive 3rd-party resources before JavaScript, isn't? A site has more chance to render properly if allowed to fetch 3rd-party CSS for example before enabling JavaScript. So if I am going to differentiate between 3p
and 3p-script/frame
, I should make it so 3p
is disabled before JavaScript.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does make sense to allow passive 3rd-party resources before JavaScript, isn't? A site has more chance to render properly if allowed to fetch 3rd-party CSS for example before enabling JavaScript.
Yes, for example: https://blog.qt.io/
and https://www.fakt.pl/
(images are visible in particular articles). Maybe not completely fixed, but easier to read.
Extra space between
const
andtitleTemplate
.