Uassets: cheatsquad.gg cosmetic and one filter

Created on 22 Apr 2020  路  9Comments  路  Source: uBlockOrigin/uAssets

URL(s) where the issue occurs

  1. https://cheatsquad.gg/dl/GnynDy/
  2. https://cheatsquad.gg/

Describe the issue

  1. placeholder for ads not removed
  2. hover with mouse on "Minecraft" and an ad gets shown Edit: Same for hovering "Roblox".

Screenshot(s)

  1. the red circles show the place of the not-removed placeholders
    grafik
    2.
    grafik

Versions

  • Browser/version: Firefox 75.0
  • uBlock Origin version: 1.26.0

Settings

  • I'm pretty sure my settings did not cause these issues. They hould be fairly default.

Notes

Fix for 1.

cheatsquad.gg##div.list_container>div.ad_nomargin.ad_largeleaderboard

Fix for 2.

cheatsquad.gg##.tooltip::before:style(display:none !important)
cheatsquad.gg##.tooltip::after:style(display:none !important)

All 9 comments

@ryanbr

It should be addressed here in uAssets (we have anti adb filter already for that site), and without using uBO specific filters I don't know how can be fixed

I wrote these filters, but still remains the background (in ::after) when you hover upon the buttons

cheatsquad.gg##+js(ra, onclick, [onclick*="window.open"])
cheatsquad.gg##+js(ra, data-tooltip)
||cheatsquad.gg/img/pa.svg$image,1p
||cheatsquad.gg/img/rn.png$image,1p

without using uBO specific filters I don't know how can be fixed

The first issue can be fixed with cheatsquad.gg##.ad_largeleaderboard, the second requires a bit specificity for a cosmetic filter to avoid false positives, but we since we already have fixed cheatsquad.gg, so we may as well fix in uBO then.

The buttons can not be completely hidden so no classic cosmetic filters will help

I don't know if we can chain :style with matches-css for ::after

The filters I wrote above obviously work for me. I resorted to ::after:style(display:none !important), because the default element hiding ignored the ::after and hid the whole menu button

cheatsquad.gg##.tooltip:after, .tooltip:before

How this hide too many pseudo-elements?

cheatsquad.gg##.tooltip:after, .tooltip:before

How this hide too many pseudo-elements?

Using that rule hides "Minecraft" and "Roblox" menu points completely on that web page (using ubo 1.26.0 on firefox 75)

aka you have to use :style(display:none !important) to be able to hide css pseudo elements with uBO

Also .tooltip class on that web page is only used by the advertising menu points.

Using that rule hides "Minecraft" and "Roblox" menu points completely on that web page

This is only Element Picker glitch. There is no difference between ##.tooltip::after and ##.tooltip::after:style(display:none !important)

Using that rule hides "Minecraft" and "Roblox" menu points completely on that web page

This is only Element Picker glitch. There is no difference between ##.tooltip::after and ##.tooltip::after:style(display:none !important)

Oh, thanks. Tested it and you're 100% right

@mapx-

Was this page helpful?
0 / 5 - 0 ratings