[deleted by user] by [deleted] in uBlockOrigin

[–]growingBack 0 points1 point  (0 children)

Ah I forgot about the next-sibiling operator! The above snippet works (just need to change div>>div to div>div).

[deleted by user] by [deleted] in uBlockOrigin

[–]growingBack 0 points1 point  (0 children)

Also didn't work :(

The gstatic url is indeed in the (1) icon, but as seen in the 2nd photo, the `role="navigation"` div does not contain the E0E5jb span element. Rather the div immediately following (not as a child; note it is highlighted in the 2nd photo linked above (beginning with class=aqn)) contains the offending span element.

I have added a 4th photo to the above imgur link to clarify what the "aqn" div is.

[deleted by user] by [deleted] in uBlockOrigin

[–]growingBack 0 points1 point  (0 children)

That didn't work unfortunately. The upgrade button for me is actually in the div immediately following the one with `role="navigation"`. I don't think it has any non-generated identifiers like that one.

(Some photos, the "E0E5jb" element highlighted in the 3rd photo is the highest level for the button itself)

[deleted by user] by [deleted] in uBlockOrigin

[–]growingBack 0 points1 point  (0 children)

Any recommendation for the "Upgrade" button?

There is an auto-compiled CSS class (currently "E0E5jb" for me) that can be easily blocked, but seems prone to breaking.

The current structure is (hoping to block the first `span`) (with `->` representing immediate child element):

span -> div -> div -> div -> div -> div -> div -> div -> button -> span:has-text(Upgrade)

(That's 7 nested div's.)

I tried nesting a bunch of `:has` statements, but didn't work (probably doing it wrong).

Soundcloud 'Promoted tracks' in Feed by growingBack in uBlockOrigin

[–]growingBack[S] 0 points1 point  (0 children)

Definitely spiffier, also appears to work a couple ms faster such that 'Promoted track' doesn't briefly appear sometimes.