#**Hide Gift Button** (updated for new

1 messages · Page 1 of 1 (latest)

weary rock
#

is this to hide the gift icon on the message bar?

#

because there's... there's definitely an easier way

#

but dependant on SVGs

#

hm well anyway

#

ig this other option is there now too

tight vapor
weary rock
#

nothing is update proof

#

they could overhaul the entire button move it somewhere else change the icon and the classes and the html layout

sudden trench
#
.container__5eb17 {
  display: none;
}```
weary rock
#

i kinda assumed that would've been used somewhere else lmfao

#

maybe i mistook it for a similarly named class somewhere

heady bone
#

and is definitely a billion times worse for performance

heady bone
heady bone
sudden trench
heady bone
#

no it doesn't make it faster, it just makes the lag less visible

sudden trench
fallen saffron
#

can't you just button[aria-label="Send a gift"]?

river sedge
#

That would only work if your language is set to English, no?

heady bone
#

correct

#

the way it is done is kinda janky but it's on purpose

river sedge
sudden trench
#

no idea

long raven
#
button[aria-label="Send a gift"] {
        display: none;
}
#

this works

sudden trench
#

english only

sweet plover
#

its more likely the icon would change vs your locale text

opaque bobcat
#

there's been a new update that adds the gift button to profiles in dms:

#
.giftButtonContainer__68103 {
        display: none;
}

removes it :)

weary rock
#

and it can't seem to find any classes unique to the gift button in the message bar anymore...?

#

this seems l;ike probably the simplest way

#

direct first child of the button container

opaque bobcat
weary rock
#

uhh probably

#

if someone has a better idea definitely mention lol- but this is working for it for now LOL

opaque bobcat
#
button[aria-label="Send a gift"] {
        display: none;
}

is good enough for me but it's english only lol

weary rock
#

yeah that works but being language specific just feels- dumb LMAO

weary rock
#

fuck u nuh uh

little steppe
#

I had these and they seem to no longer work, the gift button in the text input is no longer being hidden. Is there a new version?

frozen geyser
glad anchor
#

forget anything i said

swift shadow
frozen geyser
swift shadow
# frozen geyser probably just need to change the label for those, i got a snippet like this tho ...

That's a cool one but I already got this from someone in this server

/*Hide annoying buttons and gaps*/
[href="/store"],
[href='/shop'] {
    display: none;
}
button[aria-label="Send a gift"] {
    display: none;
}
button[aria-label="Open GIF picker"] {
    display: none;
}
button[aria-label="Open sticker picker"] {
    display: none;
}
[class*=channelAppLauncher_] {
    display: none !important;
}
div[class*="buttons_"] {
    gap: 0 !important;
}
/*Hide annoying buttons and gaps*/
rancid basin
#

does anyone have a way to get the scrollbar back on emoji, stickers and gifs on the right?

#

is it still accessible trough css

opal topaz
#

I coulndt do it????

frozen geyser
short notch
#

okii!!