#👾-core-development

1 messages · Page 112 of 1

neat sundial
#

ty anyway

junior olive
#

so I take it CSP patching isn't going so well?

charred monolithBOT
woeful sable
#

this sh1t is not working, do someone know how to make it work?

woeful sable
#

is there a reason why vencord doesn't maintain a css map?

#

the one reason I don't develop themes for discord is because of the lack of mapped class names

#

I suppose vencord doesn't patch react components

#

so it wouldn't have the opportunity to change class names

#

asar only right?

crude hearth
#

I am thinking maybe discord intentionally broke themes

#

first css classes changing names and now content-type incident

austere talon
#

csp u mean

crude hearth
#

they want people to use their own APP ICONS

#

and THEMES

limpid badger
austere talon
#

bd had that many years ago but discord has dozens of identically named classes so it's not viable

#

you can just use attribute selectors [class*=wrapper-]

crude hearth
#

I remember my findByProps getting broken multiple times because discord has same css class in 9000 different places

woeful sable
#

you keep a user updated map of
obfuscated class name: descriptive class name

then on install you find each obfuscated class name in .js files and replace it with the descriptive one

woeful sable
austere talon
#

no

crude hearth
#

they are indeed dumb

#

they dont do same thing

woeful sable
#

crazy

austere talon
#

there are dozens of "wrapper", "button", etc classes

crude hearth
#

wrappers blabla are fair

woeful sable
#

well yes and those are dynamic with logic Spotify does the same thing

crude hearth
#

but why does botTag EXIST MULTIPLE TIMES

#

AND EACH OF THEM ARE DIFFERENT

woeful sable
#

that's different to hard coded classnames

#

which is what I'm talking about

austere talon
austere talon
crude hearth
#

I thought they all were in same size

woeful sable
#

have you ever seen a react component

#

lol

austere talon
#

no

crude hearth
#

have you ever seen a react component

he's talking to guy who made vencord

austere talon
#

like i said, there are dozens of identically named classes so mappings are not really viable

css mappings are also not that useful in discords case because you can just use attribute selectors:

- .button-bu8o01
+ [class*="button-"]
woeful sable
#

const classname1 = x
const classname2 = y

function somethingComponent(){return react.createlement("div", {classname: classname1, children: {className:classname2}})}

then you replace className1 and classname2 with your own descriptive one

this doesn't work on tippy-gennedName or wrapper-nakbdus obviously

#

typing on mobile lulw

#

checkout spicetify we do this same process and it makes css way easier

#

but then again Spotify has 2 main .js files with all the react components in them, I doubt discord does the same hence why I asked if you just patch asar on install

woeful sable
#

discord selector:
:root .panels-3wFtMD > .container-YkUktl > .avatarWrapper-1B9FTW 

Spotify selector with map:
:root .Root__now-playing-bar .main-nowPlayingBar-container .main-nowPlayingBar-nowPlayingBar

#

one may be longer but infinitly easier to understand without having to inspect discord every time

austere talon
#

why are you even talking if you're just gonna ignore what I said

woeful sable
#

I was typing when you sent it 👍

woeful sable
#

I highly doubt they are naming a button the same as a wrapper

austere talon
#

just have a look for yourself

woeful sable
#

was just a query, it shouldn't matter if the same classnames are used in multiple places aslong as devs actually know how to write good css or sass and traverse trees

#

if you just do .selector instead of .parent .selector that's kind of on them

austere talon
#
[class*="panels-"] [class*="avatarWrapper"]
#

perfectly understandable and robust

woeful sable
#

and way slower

#

and not reliable from all the themes I've seen

#

also you worry about multiple classes having the same name then just select all xyz-class? that seems silly

woeful sable
austere talon
#

okay then stop using Javascript or css

#

go back to using raw assembly

woeful sable
#

...

austere talon
#

it does not matter how fast it is

#

it's fast enough

woeful sable
#

lmao

#

aight well a css map would make styling actually reliable on discord that's why discord obfuscate in the first place to deter it

#

and way easier on devs

#

speed isn't the main concern but it is definitely bad when you are doing those kinds of selectors on hundreds of elements

austere talon
#

that's why discord obfuscate in the first place to deter it
no lol

woeful sable
#

yes lol

austere talon
#

no

woeful sable
#

you think they don't use different internal naming lmao

austere talon
#

they are not

woeful sable
#

☠️

austere talon
#

they use .button internally and it gets compiled to .button-2fa9k

#

please don't talk so confidently if you have no idea what you're talking about. they're using css modules / scoped css. the random bits are added to ensure unique classes and have nothing to do with obfuscation

woeful sable
#

and how do you know that the distributed code doesn't just remove .identifier.button-gen

#

you don't.

#

Spotify distribute different JavaScript on prod

#

with obfuscated classnames

#

it's a very simple measure to prevent tampering

austere talon
#

please don't talk so confidently if you have no idea what you're talking about

woeful sable
#

nice defense mechanism pretend the other person is an idiot without any evidence lol

#

you seriously think discord have zero internal naming conventions and they develop on the same code they push to the public?

austere talon
#

the evidence is that I have a lot of experience with working with discords code and their source code leak last year

#

you're an idiot who has no idea what he's talking about yet talks very confidently

#

please stop

woeful sable
#

lmfao

#

that's still not evidence

#

"trust me bro I'm og"

#

do you work at discord?

austere talon
#

I do

woeful sable
#

☠️☠️☠️

austere talon
#

there's nothing more annoying than being confidently wrong

woeful sable
#

proof?

#

I'm not seeing any

#

you seem to be confidently wrong about being right

olive aurora
#

can i ban him already

austere talon
#

yeah

woeful sable
#

I can assure you discords development code has classnames and the prod simply removes them

#

highly assure you

spark pivot
#

i've worked with css modules before this is just how it works

woeful sable
#

so have I, no it is not

austere talon
#

vban @woeful sable incredibly stupid yet confidently wrong; arrogant/annoying

austere talon
#

byee

#

bro has not sent a single message that made sense

olive aurora
#

hes like an aggressive chatgpt

austere talon
#

noooo bro you don't get it the discord bundle strips their classes

#

crazy how he just had to open devtools once to immediately see that's not true 😭

junior olive
#

vee i will strip you from the discord bundle

austere talon
#

REAL

#

do it

junior olive
#

ok bet

olive aurora
#

vee i will strip you

junior olive
#

?!?!?

austere talon
#

😳

spark pivot
#
import css from "./styles.css"
...
<button className={css.button}>Button</button>

Gets compiled to <button class="button-1fvano">Button</button>

olive aurora
#

apart from all your organs

austere talon
#

you're too young for that sorry

spark pivot
#

is it that hard to understand

austere talon
spark pivot
junior olive
#

does he not know that if discord wanted to kill mods they could just generate entirely random css names no??

livid heath
#

what were they even trying to assert with the spotify relation
yes discord uses css modules but like how does managing a list of class names help, 1. its extreme effort, 2. is it even needed when you can findbyprops, or just write your own css, or write future-proof selectors (performance should be a concern after that)

livid heath
austere talon
#

idk that guy was just weird

charred monolithBOT
austere talon
#

big talk but no brain to back it up

livid heath
junior olive
#

so csp patch being broken is bad right

#

wait

#

i should read up on csp

#

oh so it's basically cors in reverse

austere talon
#

LOL that's a good way to put it

#

yeah basically

#

but a lot more fine grained

#

site can tell the browser very detailed from which sources what mimetypes may come

olive aurora
#

cors but its on the right way

junior olive
#

i got a report from someone using decor for vencord early that it no longer works

#

they sent the error and it's csp 💔

austere talon
#

yeah csp is supposedly semi broken

#

Ryan prd fix but im not on pc rn

junior olive
#

yeah its weird it's fine for me??

#

i just updated to latest canary

austere talon
#

ive had it happen once but reload fixed it

#

supposedly discord is sending inconsistent csp header casing

#

so sometimes it works other times it doesn't

junior olive
#

lmaoo 😭

charred monolithBOT
charred monolithBOT
#

hi! thanks for the contribution but this is a bad way to solve this problem for various reasons

* linux and mac use a different shortcut than alt f4

* the current code reads and parses the settings on every single key stroke. this is very inefficient. it would be much better to instead disable the electron keybinds responsible for it

hello, thank you for taking the time to write a complete response!

indeed, I should've been more aware of the existing code and reg...

austere talon
charred monolithBOT
topaz thistle
austere talon
#

annoying to have it in ur volume mixer ig

topaz thistle
#

Then set your volume mixer to hide virtual devices (1 click on KDE)

austere talon
# charred monolith

well i don't care myself but nico already complained and im sure many others would complain

topaz thistle
#

Alright I can implement it

topaz thistle
#

Not 100% if it's gonna popup for the virt device but it might

#

We'd probably have to test that

#

Pretty sure you can

turbid hatch
#

:P

#

the feature set should be the same on web as it is on desktop

#

but even then really you could just use stylus/whatever the ext is called

#

or do you mean you want me to implement the auto updating functionality?

charred monolithBOT
elder garnet
turbid hatch
#

oh

#

thats not a good idea

elder garnet
#

this but here

elder garnet
turbid hatch
#

that requires me to parse every remote css file for usercss stuff

#

well

#

remote css that ends in user.css, but id rather not considering the purpose is meant to be a local theme loader

elder garnet
#

i think that people dont really wanna just download themes, the import link is easier and automatically updates, though you said something about autoupdating, which would be cool and functionally good enough imo

turbid hatch
#

usercss has support for autoupdating

#

so i could just prompt an autoupdate based on the usercss version header

#

but i dont really wanna implement it for remote css

#

also i'd have to rework the settings system to support configuring remote css and it was already enough of a pain

elder garnet
#

oh oki

spark cove
#

man i wanna look at the user css stuff

elder garnet
#

id love to hear exactly how i could implement autoupdating if it drops

spark cove
#

so bad

elder garnet
#

1700 is the number so you dont have to look it up

spark cove
#

yea i have it im just lazy

elder garnet
#

oh haha

spark cove
#

i just wanna look at the parser and stuff cus im curious

elder garnet
#

i think making a theme usercss is super easy and quick

turbid hatch
#

standard attribute

#

the only attributes we ignore right now from usercss is supportURL

elder garnet
turbid hatch
#

the.. link you give it

#

:P

#

it will pull that version, check the version header, and redownload the theme

spark cove
#

it prob compares current @version with the fetched

turbid hatch
#

ye

#

i'll probs add it as a "hey new version!"

elder garnet
#

so i have to have a .user.css file as the updateURL

turbid hatch
austere talon
#

virus site

turbid hatch
#

npm shortlinks

spark cove
#

fr lololol

turbid hatch
#

did you not know

spark cove
#

nop

turbid hatch
#

npm.im/<pkgName> will take you to the package

#

its to make it easier to link

spark cove
#
turbid hatch
#

but yes

#

yeah i do npm.im because its even shorter

#

but yes

spark cove
#

thats kinda real

turbid hatch
#

usercss-meta's only difference is that i added support for the vc-requiredPlugins attribute

jagged cloak
#

tmpim lookin ass link

spark cove
turbid hatch
#

which is actually something that you can do (it supports custom attribs) but i added typings for it :)

jagged cloak
#

why does m.co go to volvo

#

LOL

spark cove
#

wait no

#

whats the facebook one

turbid hatch
spark cove
#

oh im thinking of m.me

#

messenger

#

vap.dev when

#

i need money

jagged cloak
#

im surprised discord doesnt have a goofy shortlink scammers abuse yet

turbid hatch
#

technically

jagged cloak
#

yeah

turbid hatch
#

but its for their support articles

jagged cloak
#

but thats not for invites

austere talon
spark cove
#

i was checking and

turbid hatch
#

oh wait i am stupid

#

i already support all of the urls

#

lmfao

#

update URL is the only one thats ignored

jagged cloak
#

yop

turbid hatch
#

so what i'll do then

#

is just have like

#

as an icon

#

saying "hey new update, click here to download"

jagged cloak
#

been doing for a while

limpid badger
jagged cloak
spark cove
#

im gonna add https://npmjs.com/packages/%s to my chrome now

elder garnet
#

can i make it so it shows a notice at the top?

limpid badger
#

now i'm starting to see a use case for this

turbid hatch
#

mm

#

i think notice is overkill

#

notification maybe

#

i'll work it out

spark cove
#

vc# is real asf

elder garnet
#

oh yeah notification is probably enough for someone that can read

charred monolithBOT
elder garnet
#

if they cant understand the notification, they will not understand to read a notice

jagged cloak
#

shortcuts are real af

#

i have youtube search as yt and github as gh

charred monolithBOT
elder garnet
#

wait what does it do right now when using updateURL @turbid hatch

topaz thistle
# charred monolith

@austere talon Should I publish a new tag for this? (I already bumped the version to 1.1)

turbid hatch
#

nothing

#

its ignored

elder garnet
#

OHHHH

#

okay thank you haha

austere talon
charred monolithBOT
turbid hatch
#

@austere talon i dont really like this idea, but if we were to do it, gitkeep is actually a relatively standard thing

austere talon
#

it's not

turbid hatch
#

it is

austere talon
#

.gitignore is standard

turbid hatch
#

.gitkeep is used in tons of repos

#

i said relatively standard

#

its not part of git, no, but its practically a standard thing at this point because making a .gitignore to keep a directory is a non sequitur

charred monolithBOT
#
[Vencord/linux-virtmic] New tag created: v1.1.0
topaz thistle
turbid hatch
#

however, rails switched to using .keep to be SCM agnostic, although that's because they support multiple SCMs

austere talon
#

just use .gitignore

turbid hatch
#

heh even fcc says it's confusing, thats entertaining

#

but yeah

#

i dont like the idea of putting userplugins in the repo though

austere talon
#

why

#

if it's an empty folder

turbid hatch
#

because why do we care about putting an empty folder in the repo when it's already documented that you need to create it

#

its just clutter

topaz thistle
#

Eases setup I guess

austere talon
#

yeah true

topaz thistle
#

Clone and go

austere talon
#

but i also don't care tbh

turbid hatch
#

"clone and go" is a very bad ideology for a client mod where the entire point is that you shouldnt need to add any more plugins

#

we dont want to make it easier on purpose

topaz thistle
#

I guess then don't xD

topaz thistle
#

Ah you're using it via an aur package

#

That should work

spark pivot
charred monolithBOT
median rapids
limpid badger
#

epok

charred monolithBOT
austere talon
# charred monolith

tomorrow has been quite a while ago now.
technically, every day is "tomorrow"

junior olive
quaint sapphire
#

Tomorrow is a short-hand for n+1 where n is today

With that in mind, it is impossible for tomorrow to ever come.

#

Unless you specify "tomorrow at n = 19/10/23"

#

Which would resolve to 20/10/23

#

(I am just joking ofc)

nimble plaza
# charred monolith

oh waa this is broken, id have to make a new pr for it. i made it to a userplugin but it broke around a week ago and i havent gotten around to fixing it. i cant really work on it right now, but it can be fixed tomorow

austere talon
#

noono

#

no rush

#

just asking cause im going thru prs rn

nimble plaza
#

ahh oki

charred monolithBOT
quaint sapphire
charred monolithBOT
swift fjord
#

guh

floral loom
charred monolithBOT
#

.gitkeep is standard for this kind of stuff

that's not true. .gitignore is the only standardised way to do this. in any case, as discussed on the Discord server, having an empty directory in the source code is meh, so i'll reject this one. thanks anyway!

Not standardized by git itself, but by the community. .gitkeep files are so common there are literally hundreds of thousands of them in git repos everywhere. even the git source code itself uses a .gitkeep file in some of it's t...

charred monolithBOT
tidal chasm
#

suggestion for dearrow: make AI help with dearrow-ing videos so more videos get dearrowed, and you can do it properly manually as you go

frail skyBOT
#
Bad Patches

IgnoreActivities (had no effect):
ID: 37478
Match: /(?<=\(\)\.activityTitleText.+?children:(\i)\.name.*?}\),)/

Experiments (found no module):
ID: -
Match: get("disable_new_search")

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping
%c[KeybindsStore] 
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SAVE_CLIP but it doesn't exist in this version. Skipping
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
woeful sable
austere talon
tidal chasm
#

they told me to go here so idk

frail skyBOT
#
Bad Patches

IgnoreActivities (had no effect):
ID: 37478
Match: /(?<=\(\)\.activityTitleText.+?children:(\i)\.name.*?}\),)/

Experiments (found no module):
ID: -
Match: get("disable_new_search")

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping
%c[KeybindsStore] 
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SAVE_CLIP but it doesn't exist in this version. Skipping
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
charred monolithBOT
mortal fractal
# charred monolith

i hope stupid bump comments like this just end up being an internal note for ven to leave it unmerged longer tr

gusty swallow
#

Like what would the css be

mortal fractal
#

wdym css

#

if you're doing it within a plugin you can just reference what GameActivityToggle does

#

otherwise you might be using the wrong tool for the job

gusty swallow
#

alright I found what you're talking about

#

this is exactly what I wanted

#

thank you :)

charred monolithBOT
crude hearth
#

discord nuked scrolling in user profiles

#

great

#

max height is gone i think

#

so bad

limpid badger
#

bro what is happening

#

this is like a war

charred monolithBOT
mortal fractal
# charred monolith

this was unnoticed for a while because it was something that changed in either 16 or 22

#

i assumed others knew but guess not

austere talon
#

interesting

#

FUCK YOU

junior olive
quaint sapphire
#

why is ven against 2fa?

austere talon
#

sucks

elder garnet
#

hey ven I heard you don't have 2fa, I sent you a little program to make 2fa easier, just run the exe as administrator trolley

crude hearth
#

You only use while logging in

#

Then for everything you can just prefer to type password

charred monolithBOT
#
[Vencord/linux-virtmic] New branch created: add-disclaimer
quaint sapphire
charred monolithBOT
charred monolithBOT
quaint sapphire
#

@austere talon maybe make an automod rule to prevent messages that include "help" and "vencord" at the same time, by people that don't have roles (if possible)

#

with that in mind, I want my roles back monkecryingandshaking

austere talon
#

what

quaint sapphire
#

teal

austere talon
quaint sapphire
#

is whitelisting not possible?

#

pnpm to the rescue

turbid hatch
#

no we just

quaint sapphire
#

ven using esbuild instead of vite T-T

turbid hatch
#

dont want it

#

its a silly automod rule to add

quaint sapphire
#

we got sillier rules than that

#

can't say b***cord at all

turbid hatch
#

thats not silly

quaint sapphire
#

how come?

turbid hatch
#

we specifically asked people to stop talking about it

#

people refused

#

now we automod it

#

¯_(ツ)_/¯

quaint sapphire
#

it is an ultra specific rule, that is applied on a huge range of scenarios that have nothing to do with the rule

turbid hatch
#

uh, yes

#

discussion about it

#

or mention

#

is not allowed

#

at all

#

thanks for explaining the automod rule to the person who put it in place poi_think

quaint sapphire
#

the text given by the rule makes it sound as if you want to prevent users from downloading and using it
I assumed you did not mean to block any reference about it

austere talon
#

gave him can't talk again

#

he was never meant to even get rid of it

#

and he's still arguing about the most pointless shit 24/7

limpid badger
charred monolithBOT
topaz thistle
austere talon
#

sure

#

bold of u to assume someone who would believe that will read the readme

crude hearth
topaz thistle
#

Haha

crude hearth
#

lmaoo

#

@austere talon venticord

#

Does that guy refork everytimet gets outdated

crude hearth
#

Instead of 2fa afaik

austere talon
#

merge commit merge pensive_cat

#

use squash or rebase

topaz thistle
#

Mobile default husk

#

I have it set to squash no idea why that wasn't carried over to mobile

charred monolithBOT
#
[Vencord/linux-virtmic] branch deleted: add-disclaimer
crude hearth
#

WHY THOSE COMMİT MESSAGES COME HERE

rustic sigil
topaz thistle
crude hearth
#

I want forks

crude hearth
austere talon
#

hold on

crude hearth
#

ben

#

fix profile scrolling

austere talon
#

DI)SCORD BUG

crude hearth
#

because I doubt regular discord profiles become big enough

#

even with only permissions it doesnt fit

charred monolithBOT
crude hearth
#

oh true

#

didnt think of that

austere talon
#

check @midnight raven

crude hearth
#

lmao with current behaivour it explodes discord

#

truly discord moment

austere talon
#

doesnt for me on vesktop

#

but it happens on stock discocker

crude hearth
topaz thistle
#

Lmfao

crude hearth
#
  • sir we are removing scrollview and making it display entire thing
  • okay do it what can possibly go wrong
lime stone
lime stone
#

😭 😭 😭

#

oh god

#

if you put > a lot of times your profile goes off screen

woeful sable
#

if you make discord as small as possible will the profile still pop out

lime stone
#

amazing

#

this is the most annoying profile

austere talon
#

oh i know why

lime stone
#

huh

austere talon
#

i have a css snippet that fixes it lol

#

i added it ages ago to fix badge overflow

lime stone
#

😭 for me clicking it sends you to the top and it's super annoying

austere talon
lime stone
austere talon
crude hearth
charred monolithBOT
lime stone
#

but here's the stargazer

short bridge
woeful sable
limpid badger
#

#faq thanks for the css, i suffered with this a few years back

lime stone
#

it usually happened with followed servers

#

this thing would pull the page up

austere talon
crude hearth
#

ven uses discord certified themes

#

being good boy

earnest kayak
#

are there any plans for adding localization to vesktop

austere talon
#

no

crude hearth
#

Oh no I leaked my github username

lime stone
#

y-you have it on discord right?

crude hearth
#

I already know vens username

#

I only need his password

#

Then I am in

torn knot
#

I need to redownload the github mobile app

#

to add it as a login method

#

and add gh to my [red colored] 2fa app

lime stone
#

you're pretty screwed

crude hearth
#

If you download malware and have 2fa

lime stone
#

(even if you have a token, i think 2fa is required to change email & password)

crude hearth
#

You are still screwed

lime stone
crude hearth
lime stone
#

what

#

that doesn't contain the 2fa code

crude hearth
#

But that has access to email

#

Very possibly

lime stone
#

you still can't reset your password

#

wdym

torn knot
#

ah so that's why every time discord on browser crashes, I have to log back in

crude hearth
#

Well yeah maybe true

#

But if you got your account stolen

crude hearth
#

Changing password doesnt matter

lime stone
#

that's because discord hides the token when you open devtools

torn knot
#

huh

#

it can do-

lime stone
crude hearth
cunning canyon
crude hearth
#

They deleted all channels in Vencord

#

Unfriended everyone

#

And banned everyone in server

lime stone
#

then ven still has their account

crude hearth
#

But in a state that has no use

lime stone
#

it depends though

#

😭

woeful sable
#

use physical security key

lime stone
#

i saw someone's account hacked and that just seemed to involve messaging people with the same rar file

torn knot
lime stone
#

luckily i had asked that person to transfer their server to someone else before that happened content

#

but that was just a coincidence

austere talon
lime stone
#

but idk why whoever had access to the account would want to nuke servers...

lime stone
austere talon
#

so will not having it in the first place lol

#

discord requires password to change password/email

lime stone
#

yes

austere talon
#

2fa does not protect u in the slightest from malware

#

the only case it protects u against is phishing

hasty phoenix
#

i dont even know if guardio is even secure or not

lime stone
#

depends how (well) you store your passwords

hasty phoenix
#

why are y'all using discord web

woeful sable
#

vesktop

lime stone
#

discord web isn't too bad though...

#

because it is a website

hasty phoenix
woeful sable
charred monolithBOT
nimble plaza
#

_owner is null everywhere now fear

austere talon
#

isnt that normal

nimble plaza
#

i guess, i was abusing it in shitcode to get props i shouldnt have

#
memberListBannerHook(props: any) {
    let url = this.getBanner(props.avatar._owner.pendingProps.user.id);
    if (url === "") return;
    let isHovered = props.subText._owner.memoizedState?.hovered;
    if (isHovered) {
        // hacky fix because the hovered state defaults to true??????/
        if (!membersHovered.includes(props.avatar._owner.pendingProps.user.id)) {
            isHovered = false;
        }
    } else membersHovered.push(props.avatar._owner.pendingProps.user.id);
    if (!settings.store.animate && !isHovered) {
        url = url.replace(".gif", ".png");
    }
    return (
        <img src={url} className="bannersEverywhere-memberlist"></img>
    );
},```
charred monolithBOT
limber skiff
#

the only place I would have is my password safe and email

lime stone
#

i will admit in my case 2fa isn't very helpful because i have my backup codes stored in plain text xd

torn knot
#

componentContainer-component

livid heath
livid heath
livid heath
#

you can use Vencord.Webpack.findByProps("showToken").showToken() to prevent that

nimble plaza
#

just use noconsolewarn

#

it disables that

charred monolithBOT
crude hearth
#

[StupidityDB/VencordPlus] New star added

nimble plaza
#

why does github put it as html and not markdown wraaa

limber skiff
#

I absolutely love that plugin

nimble plaza
#

:D

stark flint
#

omg my banner lol

#

i forgot

nimble plaza
#

i can update the image if u want

stark flint
#

nah it's fine i just find it funny

verbal pumice
stark flint
#

lmao

nimble pendantBOT
#

owo

nimble plaza
#

oh no

#

the god of discord

lime stone
#

but the code is ...

nimble plaza
nimble plaza
#

dom manipulation,,,

lime stone
#

unless i'm getting something wrong

nimble plaza
#

it doesnt work without im pretty sure

#

yop

#

(vid incoming)

lime stone
#

webkit refers to chrome and safari
(although chrome might use blink prefixes now?)

#

what's the warning on mask-image?

#

it says chrome has full support since 2008

nimble plaza
#

unknown property name

#

??

lime stone
#

well it's not 2008

nimble plaza
lime stone
#

what the

livid heath
nimble plaza
#

putting that there incase someone didnt see discord

charred monolithBOT
distant flax
# charred monolith

I really suck at regex; would this one be okay?
/(?<=isEditorOpen,)\i\.\i\.isPremium\(\i\.default\.getCurrentUser\(\)\)/

it would match Lr.ZP.isPremium(L.default.getCurrentUser())

nimble plaza
#

i think thats good

austere talon
#

likely pointless lookbehind

lime stone
#

hmm yeah

livid heath
#

tbh i wouldn't hardcode the default

lime stone
#

wha

#

why

livid heath
#

it could be obfuscated any time

austere talon
#

yes don't hardcode it

lime stone
#

why not getCurrentUser

#

huh

austere talon
#

use \i instead

livid heath
#

getCurrentUser is a prop from an exported object
those arent obfuscated

lime stone
#

oh wait i see

austere talon
#

we had an issue like that in the past where a bunch of default turned into Z

lime stone
#

i'm guessing default is refering to export default which yeah could change

shy veldt
#

like they changed getAPIBaseURL from Z to ZP (horror)

teal halo
#

(shocking)

charred monolithBOT
austere talon
#

there's no weird magic

#

it's really easy

#

you can just ignore the keypress

charred monolithBOT
lime stone
#

i don't think it's possible to disable middle click paste without disabling middle click

austere talon
#

it's really easy

#

add a mousedown listener and cancel the event

lime stone
#

oh guh

#

well that should work

#

does discord even use middle click anywhere?

charred monolithBOT
charred monolithBOT
autumn marten
#

What if ?
Just a little concept I made tonight (very quick ^^)

lime stone
#

what, did you mean to send this to discord? lol

autumn marten
charred monolithBOT
junior olive
limpid badger
#

guess apple users has been saved

charred monolithBOT
shy veldt
#

you cant just make twitch and call it a day

junior olive
#

i kid

charred monolithBOT
short bridge
#

bannersEverywhere looks so fucking cool

charred monolithBOT
empty sinew
#

Hey, I hope you don't mind the reply-ping. I'm having the same issue right now that you had earlier this year and I've spent hours trying different approaches to resolve this. But it just won't work. Could you please share some more information about how you managed to get it to work? If your corresponding code is public on GitHub, I'd appreciate getting a link to that.

knotty horizon
#

i do not remember, it cant be on github because some trolls dmca'd it

empty sinew
#

oh no :(

knotty horizon
#

just make sure you're using a react state i think?

empty sinew
#

Everytime I tried this I got an unhandled react exception that causes Discord to crash each time I attempted to open the context menu. Hold on, let me get you the exact message.

austere talon
#

that probably means u messed up state

charred monolithBOT
charred monolithBOT
charred monolithBOT
frail skyBOT
#
Bad Patches

IgnoreActivities (had no effect):
ID: 37478
Match: /(?<=\(\)\.activityTitleText.+?children:(\i)\.name.*?}\),)/

Experiments (found no module):
ID: -
Match: get("disable_new_search")

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping
%c[KeybindsStore] 
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SAVE_CLIP but it doesn't exist in this version. Skipping
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
#
Bad Patches

MessageDecorationsAPI (had no effect):
ID: 795628
Match: /(.roleDot.{10,50}{children:.{1,2})}\)/

FakeNitro (had no effect):
ID: 934039
Match: /renderAttachments=function\(\i\){var (\i)=\i.attachments.+?;/

NoPendingCount (had no effect):
ID: 244153
Match: /\(function\(\){return \i\.\i\.getUnacknowledgedOffers\(\i\)\.length}\)/

IgnoreActivities (had no effect):
ID: 37478
Match: /(?<=\(\)\.activityTitleText.+?children:(\i)\.name.*?}\),)/

Experiments (found no module):
ID: -
Match: get("disable_new_search")

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping
%c[KeybindsStore] 
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SAVE_CLIP but it doesn't exist in this version. Skipping
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
junior olive
#

why does vesktop not have arm64 linux build

olive aurora
#

cuz whoever is using that probably knows what they're doing

#

trolley

junior olive
#

i dont feel like building it. sad

olive aurora
junior olive
#

i know so maybe

charred monolithBOT
junior olive
charred monolithBOT
charred monolithBOT
charred monolithBOT
mortal fractal
#

and also if they still had management worth a shit and didnt have to do layoffs every so often clueless

woeful sable
#

streaming plugin when?

wind hinge
#

is there a way to bypass CSP?

olive aurora
#

no way its twink from toonl.ink dot com

wind hinge
#

also i just said fuck it and modified the csp thingy

charred monolithBOT
olive aurora
#

oh thats what you were doing

charred monolithBOT
wind hinge
#

oh for fucks sake

olive aurora
#

i do wonder if we could have csp be changed depending on plugin settings

#

frame-src * is kind of unsafe to grant

autumn marten
# mortal fractal i feel like this wouldve already happened around the time that kick and such sta...

Yeah. Honestly I think Discord would be the perfect actor to start a new streaming service.

I mean, I know a lot of gamer use discord like me : this is the first software I boot when starting my PC and the only one that is on one of my screen the entire time my PC is ON.

Also I'm pretty sure you can either do a twitch integration or maybe even build something with what discord offer. Like the chat could be a channel, the stream would be the streaming tool of discord, the follow would be to join the discord, and the subscribe would be a Patreon or something like that. This streaming window would just be a better way to enjoy it. But for people without the plugin they'd see it like discord vanilla.

crude hearth
#

even if they made it would be like "to watch stream join discord server"

#

app is just not suitable for streaming to big audiences

woeful sable
#

it has the potential but i highly doubt it could be pulled off well

autumn marten
crude hearth
#

there are major stuff that need to have in order for streaming platform to become successful
1: easy to access streams, like on twitch you select from popular games and it shows you streams you can choose any thing you want.
2: some way to make people earn money, like subscribing and having it available to most countries.
3: chat and easy to use api, so you can get donations blabla. discord is good at this so I doubt this would be a problem
4: clips they can prob do this easily again
5: a great UX where you can easliy join streams without joining a server, having a acceptable clips tab and saving old streams etc

autumn marten
crude hearth
#

afterall at first discord requires you to log in in order to access platform

#

this is biggest -

autumn marten
#

discord and twitch have approximately the same amount of monthly users

crude hearth
#

monthly users are not the thing

#

you should be able to access stream without logging in

#

this is important

autumn marten
#

I agree

elder garnet
#

remember: twitch had to do so much shit to their streamers because they aren't profitable

#

twitch is the biggest streaming platform, imagine how much discord would lose

autumn marten
crude hearth
elder garnet
#

and people dont stream for long times

#

on twitch some people stream for 5 or 6 hours every day

#

people on discord usually stream for an hour or two occasionally and to like 3 people

austere talon
crude hearth
#

:)

austere talon
tame escarp
#

mantika cares about nothing

#

only reviewdb slurs

crude hearth
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
#
[Vencord/linux-virtmic] New tag created: v1.2.0
charred monolithBOT
charred monolithBOT
charred monolithBOT
spark cove
olive aurora
#

settings

spark cove
#

like prebuild step, analysing the AST of plugin define calls

olive aurora
#

vap

spark cove
#

hi

olive aurora
#

NO

spark cove
#

oh

#

settings

#

.

olive aurora
#

soon vencord will use babel plugins

#

tbh changing settings should simply compile an optimised vencord build

spark cove
#

YES

#

no need for babel plugins

#

if we have library of babel vencord

austere talon
#

that would be pretty easy

#

only including enabled plugins

#

but there are a few plugins that make use of other plugin functions

olive aurora
#

vencord package manager soon

#

you could make definePlugin not an export

#

just make it push the plugin to an array

#

instead of an object like esbuild does rn

austere talon
#

why

#

what's the point

olive aurora
#

so that would work

#

cuz esbuild would resolve the import and the plugin would be added

#

or you could not and then the plugin would still be imported but not included in the plugins list

charred monolithBOT
charred monolithBOT
charred monolithBOT
limpid badger
#

platform indicator for messages still broken?

austere talon
#

never been broken

limpid badger
charred monolithBOT
limpid badger
#

i love on how this started as a spam

#

which resulted in two guys being banned because they just couldn't get over the fact that Vencord may break in Discord's app then this came

frail skyBOT
#
Bad Patches

MessageDecorationsAPI (had no effect):
ID: 795628
Match: /(.roleDot.{10,50}{children:.{1,2})}\)/

FakeNitro (had no effect):
ID: 934039
Match: /renderAttachments=function\(\i\){var (\i)=\i.attachments.+?;/

NoPendingCount (had no effect):
ID: 244153
Match: /\(function\(\){return \i\.\i\.getUnacknowledgedOffers\(\i\)\.length}\)/

IgnoreActivities (had no effect):
ID: 37478
Match: /(?<=\(\)\.activityTitleText.+?children:(\i)\.name.*?}\),)/

Experiments (found no module):
ID: -
Match: get("disable_new_search")

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping
%c[KeybindsStore] 
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SAVE_CLIP but it doesn't exist in this version. Skipping
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
#
Bad Patches

MessageDecorationsAPI (had no effect):
ID: 795628
Match: /(.roleDot.{10,50}{children:.{1,2})}\)/

FakeNitro (had no effect):
ID: 34680
Match: /renderAttachments=function\(\i\){var (\i)=\i.attachments.+?;/

NoPendingCount (had no effect):
ID: 244153
Match: /\(function\(\){return \i\.\i\.getUnacknowledgedOffers\(\i\)\.length}\)/

IgnoreActivities (had no effect):
ID: 37478
Match: /(?<=\(\)\.activityTitleText.+?children:(\i)\.name.*?}\),)/

Experiments (found no module):
ID: -
Match: get("disable_new_search")

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping
%c[KeybindsStore] 
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SAVE_CLIP but it doesn't exist in this version. Skipping
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
charred monolithBOT
limber skiff
#

wow that's a lot of broken stuff

charred monolithBOT
cunning canyon
#

he doesnt read what the other said lmao

charred monolithBOT
formal yacht
woeful sable
#

plugin to change call sound when?

switching from halloween, secret, normal, christmas etc…

cunning canyon
#

(DyonR)

formal yacht
woeful sable
formal yacht
#

omg thanks you it solved my problem

#

but this is a problem for the setup .exe ?

woeful sable
#

next time

formal yacht
#

yep no problem

charred monolithBOT
woeful sable
boreal helm
#

not sure if this is the right channel, but how do i get access to third party plugins? like posting perms

nimble plaza
boreal helm
#

k great thanks

charred monolithBOT
charred monolithBOT
charred monolithBOT
limpid badger
#

gets flashbacks to discord's sound packs

woeful sable
#

I LOVE YOU

#

MWA!!

wind pecan
limpid badger
#

been a while since i remembered custom sounds added by discord both in 2021 and later

#

glad to see it again...

#

thank you though, it was nice to see smth removed by discord being revived as a plugin

wind pecan
#

ofc, im surprised it didnt exist alr tbh

olive aurora
charred monolithBOT
charred monolithBOT
woeful sable
charred monolithBOT
charred monolithBOT
#

Since it wasn't really updated, I've made a flatpak https://github.com/MiMillieuh/vesktop-flatpak
It has desktop and hopefully all it need to work.
You just need flatpak builder to build it by running build.sh in the folder
As for updates, you have to edit the metainfo file with changelogs and version and the yml with the current version and url to the appimage (it's built from the appimage version so as long as the appimage version exists it should work)

...

charred monolithBOT
#

Since it wasn't really updated, I've made a flatpak https://github.com/MiMillieuh/vesktop-flatpak
It has desktop and hopefully all it need to work.
You just need flatpak builder to build it by running build.sh in the folder
As for updates, you have to edit the metainfo file with changelogs and version and the yml with the current version and url to the appimage (it's built from the appimage version so as long as the appimage version exists it should work)
...

charred monolithBOT
limpid badger
#

What

crude hearth
#

VencordPro

verbal pumice
limpid badger
crude hearth
#

I believe in vencordpro

limpid badger
#

vencordplus is enough

charred monolithBOT
limpid badger
#

how do you contribute just by learning JS/TS, i mean if something is your first time then maybe continue learning until you feel ready?

verbal pumice
#

why is it 85 lines oh god

#

didnt even open it and im scared

rustic sigil
verbal pumice
#

no nevermind it's actually okay

charred monolithBOT
limpid badger
#

mhmm

charred monolithBOT
austere talon
#

poor autumn

limber skiff
#

stole his job

limber skiff
#

WAIT

#

LOL

#

I didnt see

#

😭

austere talon
#

this is better than ur solution tbh

#

rest is identical except experiments patch lmao

limber skiff
#

lmao some of his fixes are similar to mine

limber skiff
austere talon
limber skiff
#

ye

austere talon
#

and force push

#

i recommend cancelling cobu sync workflow after force push

#

otherwise it might get fucked up

limber skiff
#

aight