You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
I'm combining two feature requests into one, as I wish to become able to write entries to modify specific pre-existing CSS element values, à la fandom.com##body:matches-css(cursor: url*):style(cursor: auto). This would make it possible to write very good CSS-editing entries that'd make uBO's :style feature even more superior to the functionalities of privacy-scandal-struck CSS-editor-specific extensions like Stylish.
Request 1: Supporting wildcards in the :matches-css text selection, as it'd (among many other things) make it possible to target all uses of custom URL values, instead of one and one custom image at a time.
Request 2: Making it possible to combine :matches-css with :style.
A specific URL where the issue occurs
https://winx.fandom.com/wiki/Tecna.
Steps to Reproduce
Open the element picker.
Write ##body:matches-css(background-size: cover), and see that the picker does recognise such an element.
(In request 1) Write e.g. ##body:matches-css(background-size: *), ##body:matches-css(background-size: cov*)##body:matches-css(/background-size:.*/), ##body:matches-css(/[background-size: ]*/) or ##body:matches-css(background-size:) (among others), and see that the picker doesn't recognise any of them.
(In request 2) Write ##body:matches-css(background-size: cover):style(background-size: unset), and see that the picker doesn't recognise it.
Expected behavior:
That the elements would've been hideable by uBO under such criteria.
Actual behavior:
(Covered by the reproduction steps.)
Your environment
uBlock Origin version: uBO 1.18.16
Browser Name and version: Vivaldi 2.3.1440.61 64-bit
Operating System and version: Windows 10 October 2018 Update (Recentmost installed update: KB4495667)
The text was updated successfully, but these errors were encountered:
I suppose both of those links explains it. My fault.
And indeed it seems that writing à la ##body:matches-css(background-image: /url/) is exactly the kind of stuff I was looking for in Request 1 but which I somehow failed to see and try out.
Prerequisites
Description
I'm combining two feature requests into one, as I wish to become able to write entries to modify specific pre-existing CSS element values, à la
fandom.com##body:matches-css(cursor: url*):style(cursor: auto)
. This would make it possible to write very good CSS-editing entries that'd make uBO's:style
feature even more superior to the functionalities of privacy-scandal-struck CSS-editor-specific extensions like Stylish.Request 1: Supporting wildcards in the
:matches-css
text selection, as it'd (among many other things) make it possible to target all uses of custom URL values, instead of one and one custom image at a time.Request 2: Making it possible to combine
:matches-css
with:style
.A specific URL where the issue occurs
https://winx.fandom.com/wiki/Tecna
.Steps to Reproduce
##body:matches-css(background-size: cover)
, and see that the picker does recognise such an element.##body:matches-css(background-size: *)
,##body:matches-css(background-size: cov*)
##body:matches-css(/background-size:.*/)
,##body:matches-css(/[background-size: ]*/)
or##body:matches-css(background-size:)
(among others), and see that the picker doesn't recognise any of them.##body:matches-css(background-size: cover):style(background-size: unset)
, and see that the picker doesn't recognise it.Expected behavior:
That the elements would've been hideable by uBO under such criteria.
Actual behavior:
(Covered by the reproduction steps.)
Your environment
The text was updated successfully, but these errors were encountered: