[Bug] Using "header" with "replace" doesn't work #14
MasterInQuestion
started this conversation in
uBlock Origin
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
@gwarser
Version 1.58.0 Stable.
[[
]]
Separately they work. [1]
Also tried reversed order: I doubt there's really semantic difference.
[ [1]
In 1.62 uBO seems to no more block main document navigation alike.
But still attestable via:
*$header=content-type:/^(?:(?:image|(?:vide|audi)o|font)(?=\/|$)|application\/(?:x-)?font(?!\w))/i
; alike. ]
Also the header name matching is unjustifiably case-sensitive: seemingly unintended and unreliable.
(the server reply may be of uncertain case)
I further noted "header" doesn't chain:
*$header=content-type:/^(?:(?:image|(?:vide|audi)o|font)(?=\/|$)|application\/(?:x-)?font(?!\w))/i,header=content-length:( !( exist && /^\d+$/ ) || > 65535 ),domain=*
(hypothetical, yet not working)
[ Very much enhanced version of: https://github.com/uBlockOrigin/uBlock-issues/wiki/Per-site-switches#no-large-media-elements ]
Which should be the cause.
Beta Was this translation helpful? Give feedback.
All reactions