CroissantDuNord / discord-adblock

Hide Ads For Discord Nitro, with CustomCSS
MIT License
35 stars 4 forks source link

The topmost person in dm list is not visible #16

Closed ahmadsyarbini closed 6 months ago

ahmadsyarbini commented 7 months ago

I cannot take screenshot without breaching privacy, but basically, the 1st person in dm list is invisible. But everyone else besides that are visible.

FridgeRacer commented 7 months ago

I've fixed this in https://github.com/CroissantDuNord/discord-adblock/pull/15

If you don't want to wait for it to merge, you can remove the auto-updating import in your custom CSS, then apply adblock.css manually.

After that, replace the Nitro and Store tab rules with these:

/* Nitro tab */
[data-list-item-id*="___nitro"] {
    display: none;
}

/* Store tab */
[data-list-item-id*="___shop"] {
    display: none;
}
ahmadsyarbini commented 7 months ago

I've fixed this in #15

If you don't want to wait for it to merge, you can remove the auto-updating import in your custom CSS, then apply adblock.css manually.

After that, replace the Nitro and Store tab rules with these:

/* Nitro tab */
[data-list-item-id*="___nitro"] {
    display: none;
}

/* Store tab */
[data-list-item-id*="___shop"] {
    display: none;
}

Thanks, it works. I will use this temporarily while waiting for the merge

ahmadsyarbini commented 7 months ago

The gift button got visible in the chat when replacing that line 1

FridgeRacer commented 7 months ago

Really? Just to be sure, you didn't somehow interfere with the gift button rule? I can't see the button on my end.

bilde

ahmadsyarbini commented 7 months ago

Hmm somehow the gift button section got deleted, I must've overlooked something. I grabbed a fresh copy of the main css and modified the store tab and nitro tab. it's good now.