#๐พ-core-development
1 messages ยท Page 96 of 1
lmao
i still have an old version of mcord somewhere
which used string patching
but it was really overengineered compared to vencord
ven talked a lot about that in replugged iirc
because i had never done it before
yeah I wasn't in replugged
you were saved
i've never been active in replugged
I read a lot of the powercord server
I was active in replugged the first month it was created
i only do the bi-yearly message in the contributor channel like i did in powercord
but not replugged
because the contrib channels are always dead
dude powercord dev channel was dead asl ๐
so is the replugged one
had king fish and asport in there being nerds
my first attempt to make a plugin was using powercord
powercord v3 when
i remember hating how inefficient making plugins felt like in powercord
and it only got worse
me too but i don't think i got any futher than creating a file xd
yeah lmao
powercord v3 releases tomorrow
i made a plugin that added context menu buttons for a server iwas in
after 3 years of development
like this but this didn't exist back then
a friend of mine made the plugin I wanted in like 1 hour without ever touching powercord plugins before
i just wanted to fix the scrolling speed on disctop
they used injector and I was like?? how did you know you needed that
HAHAHA REMEMBER MY POWERCORD MODULE FINDER PLUGIN
whats that
I remember
If I only knew monkey patch was so simple
nvm i googled it
I USED THAT LOL
bro this was literally me when I realised you can just search all files
๐คฏ๐คฏ๐คฏ๐คฏ
proto jumpscare
real?
my first plugin was made using it ๐ญ๐ญ
it's so fucking bad it like added slash commands for finding modules and it was really budget find cause you could only search exports
lmao
what even was my first contribution to vencord
anyway like all the fucking devs used it cause noone knew you could just search all sources
I think Spotify crack patch
mfw i use this for searching code

dpacker my beloved
ironically it doesn't work properly with jsx-reconstructor even though i made both
jsx reconstructor is complicated tho
read source and cry
megu is complicated
whats that
I prefer in client cause I rely heavily on debugger
i dont ever use the debugger 
nice
you really should use the debugger
I barely use debugger lol
I use it so often
only when needed
it splits the discord <hash>.js files into their individual modules
most of the time I just read the code
I use it both to check local variables / functions called and also to step the stacktrace to find the caller
14,044 items...
it takes vscode a bit to index it for the first time you search, but after that its fast
its nice for being able to ctrl-click to follow references and stuff
and it fixes the imports so that import references work properly
yes that's so useful
require("megu")
the problem with that is if the module isn't extracted then you have to scroll for ages until you find it
could not resolve module "megu"
please fix bug
wdym extracted
yeye
I also use search for the var name
oh right yea i get it nvm
chunks contain many modules so you can't just scroll to top
I just got used to finding stuff lol
being able to do this is 
but either way using debugger to find the variables is good
idk i just put breakpoint cause then you can jump to variables referenced
yea dpacker splits them all
similar to ctrl click in vscode
I have used it before
yeah
tbh
the worst thing you can encounter is react components being rendered
i just console.log and store as global if need be
because putting breakpoints and looking at the stack will most of the time just get you to react internals
I get react jumpscared so often
who needs debugger when i can have temp1
for components yes
walking stack is only useful for non react functions
I spent 2 days to find how discord was changing the route when I clicked on a hidden stage channel
because it used a component to change the route
also another thing about me heavily using the debugger is that most of the time i open devtools my discord immediately freezes cause i still have old breakpoints
always such a jumpscare
It just rendered a component that had a to: prop which changed the route
lmao I always clear them
hop on jsx reconstructor
FakeNitro (had no effect):
ID: 918124
Match: /((\i)=\i\.node,\i=\i\.expressionSourceGuild)(.+?return )(.{0,450}Messages\.EMOJI_POPOUT_PREMIUM_JOINED_GUILD_DESCRIPTION.+?}\))/
MoreUserTags (had no effect):
ID: 742224
Match: /this.props.user;return null!=(\i)&&.{0,10}\?(.{0,50})\.botTag/
IgnoreActivities (had no effect):
ID: 660859
Match: /!(\i)(\)return null;var \i=(\i)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/
None
font-weight: bold;
color: purple;
resetSocketOnError Cannot access '_pe' before initialization
%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 ```
reporter jumpscare
jumpscare
does it support jsx runtime
FakeNitro (had no effect):
ID: 918124
Match: /((\i)=\i\.node,\i=\i\.expressionSourceGuild)(.+?return )(.{0,450}Messages\.EMOJI_POPOUT_PREMIUM_JOINED_GUILD_DESCRIPTION.+?}\))/
MoreUserTags (had no effect):
ID: 742224
Match: /this.props.user;return null!=(\i)&&.{0,10}\?(.{0,50})\.botTag/
IgnoreActivities (had no effect):
ID: 660859
Match: /!(\i)(\)return null;var \i=(\i)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/
None
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 ```
HORROR
I find it pretty surprising I've never seen voice call internals inside the source
like the stuff that controls bitrate etc
rust
I spent so much fucking time trying to figure out how to get 1080p to work on web
the code is so hard to follow
๐
funny canUseStreamSetting function
ah
720p is hardcoded

smartfridge found this really hacky solution https://github.com/Vencord/Vesktop/blob/main/src/renderer/components/ScreenSharePicker.tsx#L233
virus
then u also need this patch https://github.com/Vencord/Vesktop/blob/main/src/renderer/components/ScreenSharePicker.tsx#L47
the patch works only for the initial stream, the hacky code works only for when you change source
That's what discord considers it like, also normal clients can't do it
I wouldn't recommend doing so because it does have a pretty noticeable impact
not how it works lol
manage roles, kick, ban, or admin
makes sense
Literally what they said in some Twitter comment
Also the fact that this flag is made for mods kinda proves that
It's pretty much the same story with embeds honestly
vns
?
they consider it selfbotting because the average idiot does it via a selfbot duh. there's nothing making it a selfbot if you do it via client mod
It's kinda sus when you ping someone on public chat but it doesn't go through
It's still a flag made for bots.
no lol
what do you think how reply ping toggle works part 2
the social media team most definitely did not comment on how antispam works in a twitter post lol
flag?
as if the media managers knew anything about the api

Thank you for improving this plugin every day. I found a bug with bookmarks. When you add too many bookmarks, they don't fit on the screen. I think it would be great if you move these bookmarks to the next line? Discord's workspace will be a little smaller, but you'll be able to make a lot of bookmarks.
If you want to, you could do something similar to chrome and ...
cryptic ๐
Thank you for improving this plugin every day. I found a bug with bookmarks. When you add too many bookmarks, they don't fit on the screen. I think it would be great if you move these bookmarks to the next line? Discord's workspace will be a little smaller, but you'll be able to make a lot of bookmarks.
If you want to, you could do something similar to...
i think they send me and a lot of other people friend requests for some nft thing
at least somebody with a similar name and same avatar
lmao
That's what I was told when I also tried making a similar plugin. I mean it makes sense too.
Back in the day the powercord folks, BD folks (ofc)
I mean I never bothered to read their guidelines etc, it made a lot sense to me (and still does tbh)
anti-spam might be the wrong word for it honestly. I'll try finding that reply later today
I never checked but honestly I didn't think they'd use that allowed_mentions thing because they can just not include the mention instead of appending it to the mentions array
But ofc, it's discord so always expect the unexpected to happen
But yeah, giving it another thought, it might not be directly selfbotting but rather just suspicious in general and could raise some sleeping dogs I think.
You're basically even more exposing yourself that you're abusing the api imo
disclaimer: I don't know a lot about Discord and I'm probably misunderstanding everything :D
I don't see how allowedMentions could appear to be malicious
Not malicious
There's not many bots and neither users that use this feature. If suddenly this appears, it's gonna be kinda suspicious to others and possibly report the client mod user is what I'm thinking
I mean powercord rules were extra braindead anyway
obviously e.g. it wouldn't be used in raids
This is exactly why we at BD are so strict with this. We've been confronted by users crying "why didn't you warn me that [...] causes my account at risk. Remove this plugin immediately"
Yeah I guess, it was long time ago so eh.
you only are at risk if the plugin actually does something malicious /abusive like spamming
animated status for example
Just don't wanna risk it, you know
does any one know where did VSC Cord went?
fair
unusual requests are always bad imo
aliucord and vencord have always been very liberal with these things and there were never any issues
we didnt had any issues but it doesnt mean we wont ever have
We don't disallow 3rd party plugins to implement this and neither the usage of those plugins, we just advertise them to be careful and use at own risk, so we are out of scope for when something happens
bd also has many plugins with potentially unusual requests
like i said maybe just have a warning icon on the plugin (or maybe that's stupid)
@austere talon review
But you don't have as much users
it's stupid because that's misleading and causes fear for normie
thats not true and a dumb argument anyway
BD user peak was at a couple million different clients when, back when we used to load BD from remote
both aliucord and vencord have a shit ton of users
vencord really has lot of users
bd is pretty shit anyway
there is 65k reviewdb users from vencord guess from there
vencord has at least 100k active users, aliucord at its peak had even more
I know
its probably lot more than 100k
probably but i can't know for sure since we don't really have such statistics
add
yeah not really a way you can phrase it that's both accurate and not scary i suppose
๐
It didn't meant to sound dumb, but what I learned that it does kinda matter. Good example was powercords pronounsdb plugin vs my bd implementation
unnecessary comment
the old version??
If only we could go back to BBD days ๐
your entire argument was unnecessary so suck it up I suppose
such an interesting philosophy
lmao
adrian very rude
bd is kinda horrible but that doesnt change the fact still thausands of people use it
it's also subjective and not helpful
ye
yeah, it's just a matter of respect to the people
I disagree on the subjective part
many people quit modding because it's very time consuming and stressful, nowadays bd's the oldest clientmod with 8years of existence
it's not worth arguing
crazy to see people's true colors
Telemetry 
what's ur true colour
mine is salmon
electric blue
I suppose a higher-quality default shiggy would be a good plan...
You could also set image-rendering: pixelated on the video element with an option to enable it for pixel art.
please show a before and after
it doesn't work very well
Oops, I took the screenshot at like 160% scale or something to exaggerate the effect of the bilinear scaling but it also made the replacement look worse. Here's 100% scale:
Before:
After:
merely an issue of skill
the only stressful part is other people than anything
the only stressful part are the braindead people who keep pinging me in #๐ฅ-vencord-support-๐ฅ

don't TRUE me you have it so good
vencord will go private soon
actually you do vendetta too, fair
not really
if you knew how things truly are
if you dont get a income you slowly lose motivation to work on
shits fracturing atm because of infra being offline 
stagnant
true, but good luck even getting people to invest on a new project
what's happening
power outage and the one person that has access hasnt turned it back on
vencord started off as a meme and became popular because i had perfect timing
vencord was mostly just me at the start
then megu made settings ui and a few other people contributed
and then it got very popular cause of ntts and then contributions exploded
yeah thats the thing, you need people willing to contribute
yes and at the end those people were your friends
powercords death contributed too but yeah
honestly at this point vencord has too many contributions to a point where I can't possibly review everything timely

yep
just merge everything 
gonna become thanos and just close half of the prs
dont review
I wish it were that easy
need more reviewers fr
as soon as I merge the code becomes my responsibility
anyway merge my pr when
thats true too
I want to move ban notifications to new notification api
but doing that now would trigger double notifications for some users
im still waiting on further review on highlight but im not going to be pushy about it

bad
change it to 20x notification
Banned users deserve to be spammed
good
I will implement it once I get back to hoem
beloved megu ui
real ones remember when vencord had no settings ui
plugins just didn't support settings

With fake nitro plugin do I get more messgae limit
?
all we had was STFU
that's all we really needed
?
back in my day we ain't have no fake nitro
the plugin
if you say ? one more time without using #๐ฅ-vencord-support-๐ฅ I swear to god
xd
tired: settings ui
wired: manually editing json
:wires:
https://github.com/Vendicated/Vencord/pull/1733
Can this be merged?๐๐ญ
It removes ?si= from youtube.com/shorts/ links, TESTED, it works.
mod vencord to add a settings ui
shrimple
Can you add pp@youtube.com while you're at it, since it leaks search query (base64 encoded)
๐คจ
Wtf
penis search

i will port tracking parameters to piped
I will merge and it will become mine ๐ง
bro STFU was banger
nuh uh
this is terrible, people will find out I searched for spongebob gaming moments montage
it was the champ ๐ช
now too many gah dayum files in vencord
we should remove all plugins except for moyai
and add back STFU plugin
inb4 my PR becomes obsolete in a month or two because the feature gets added by someone else because everyone forgot about my PR
time to make the other oneko PR obsolete
i should give the person credit for trying to get the feature in, and giving me the idea
can i use .+? here just because of the fact that this number would need to keep being updated when discord adds new rules
why do you even need to match so much
can't u instead just match the variable name
i guess
er
not really
id still have to get to the end somehow
so i can make the function call
i guess i can call it here
could anyone please link me that guide to developing plugins?
thank you
Added built-in skinning functionality
istfg this PR will never get merged
you have to supply the skins
there are some out there already
i have them all saved
you will need a URL to them
oh?
no way in hell am i finding a way to let you upload, that sounds like emotional suicide to code
eel
it's really easy
but also the entire pr doesn't seem that useful
you can just do the skin with css
as for speed I feel it kinda goes against the spirit of oneko
okay so
firefox store doesn't allow remote scripts, but would they allow an iframe?
bundling monaco with the extension seems like a massive headache
it would probably be easier to frame something like monaco.vencord.dev
for the quick css editor that is
oneko has always had a speed setting
even far back to just neko
there has been a speed setting
so, by your logic, oneko goes against it's own spirit
i see
get a review squad
:P
We need to move away from remote resources
I already migrated the monaco editor, but:
- It for some reason only works with load unpacked, loading the extension.zip gives ERR_FILE_NOT_FOUND on files that exist ??
- This does not account for Desktop, we will have to rewrite some of the Monaco logic for that
i love chrome https://github.com/Vendicated/Vencord/pull/1740/files#diff-3eb28ef1c788c1e3af985c93bf10d6680ff377b22bfd4bb2972b7cae0978ad79
have to do some shitty workaround that monkey patches workers
u love
(it only monkey patches inside the monaco popout, discord is unaffected)
@spark cove we have to somehow make rnnoise work on browser without external import
is this cus extension or smth
whats the external import the wasm thing?
idk
and the worklet
no
well i cant find where its loaded
oh right
so its three files
we can just include those in the extension
how big are they
extension size will explode lmao
yea it will lollol
unpkg is taking forever to load
the wasm files are 153kB each
worklet is 64kB
are u gonna like
no lol
just include files manually
and i will exclude shiki and stegcloak from web build
real real
worklet which i think falls under the same csp umbrella
okay i think i got it working
@spark cove can u join voice
can u hear me @spark cove
horror
๐
FakeNitro (had no effect):
ID: 918124
Match: /((\i)=\i\.node,\i=\i\.expressionSourceGuild)(.+?return )(.{0,450}Messages\.EMOJI_POPOUT_PREMIUM_JOINED_GUILD_DESCRIPTION.+?}\))/
MoreUserTags (had no effect):
ID: 742224
Match: /this.props.user;return null!=(\i)&&.{0,10}\?(.{0,50})\.botTag/
IgnoreActivities (had no effect):
ID: 660859
Match: /!(\i)(\)return null;var \i=(\i)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/
None
font-weight: bold;
color: purple;
resetSocketOnError Cannot access '_pe' before initialization
%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 ```
FakeNitro (had no effect):
ID: 918124
Match: /((\i)=\i\.node,\i=\i\.expressionSourceGuild)(.+?return )(.{0,450}Messages\.EMOJI_POPOUT_PREMIUM_JOINED_GUILD_DESCRIPTION.+?}\))/
MoreUserTags (had no effect):
ID: 742224
Match: /this.props.user;return null!=(\i)&&.{0,10}\?(.{0,50})\.botTag/
IgnoreActivities (had no effect):
ID: 660859
Match: /!(\i)(\)return null;var \i=(\i)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/
None
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 ```
figured it out yet?
@austere talon embed nvim when
NEVER
embed emacs when
theres some incompatibility between chrome and fflate zip
idk why
yeah
switched lib and it works
wontโค๏ธ
works
can vencord interact with the discord api or does it count as self botting?
i just need it to notify me when certain phrases are said in certain channels
80f8e4f Discard changes to src/modules.d.ts - Vendicated
5542ad5 Bundle dependencies with extensions for webstor... - Vendicated
"si@youtube.com",
"pp@youtube.com",
fb021ad ClearURLs: Add si parameter on youtube.com (#1733) - XAlboX
0ce5c37 textReplace: pad space only in string rules (#1... - AutumnVN
bf3801e serverProfile: fix crash with lurked guilds (#1... - aamiaa
5cf8d56 moreUserTags: fix user tag in member list (#1730) - AutumnVN
41f5d71 Bundle dependencies with extensions for webstor... - Vendicated
7d8f350 ClearURLs: Add si parameter on youtube.com (#1733) - XAlboX
1f87d14 textReplace: pad space only in string rules (#1... - AutumnVN
fc0417e moreUserTags: fix user tag in member list (#1730) - AutumnVN
12fe367 bump to v1.5.0 - Vendicated
Guys fix ur mobile version please
so uhhhhhh
fr
@austere talon
why the oneko no work? i just added it on vencord doesnt work

husk
whar
thats not selfbotting
well plugin you want is keywordAlerts but its not made still afaik
theres a pr tho
I'm almost positive that Cynthia's probably works fine
at least summoning her works
but it is
its used in more than just search but search is where it actually started being privacy invasive
see
2030
Alright, gonna check the code
we cant
๐ฅ
@granite otter that PR is waiting on someone to add components for the settings modal
for the each type
the problem is that its kinda painful because the plugin modal system is messy
Oh ok thanks!
maybe one day i will pr a overhaul on that part of the codebase
so that it's easier to do
i love mistypin ctrl+k and sending just "k" randomly
yeah plugins settings code is hard to maintain
it honestly needs a rewrite
cause everyone just kept adding features on top of it
make it so you have to write jq filters to update settings and thats the only ui
raw sql settings 
bad
whats dev companion
very good thing
lets use yml
vscode extension
explain
check pins
oh
make live reload when
its kinda annoying to reload discord everytime you make a change
rewrite in java
not possible
I mean it could be possible for most things
but overcomplicated
get used to it
๐
powercord and bd plugins were able to do it bleh
if we ignore the patches
wouldnt restarting plugin be enough
vencord is loaded on start right
maybe add some modular components
like get a plugin through websocket
and replace it
thiking we can patch discords code
we should able to patch plugins functions and stuff too
only need to load changed plugin files dynamically which can be maybe done if you build plugin seperatedly
but also yeah for that to work you would need to use global Vencord api
LOL LITERLALY
IVE DONE THIS TOO MUCH
ive been meaning to switch to ctrl+t
so that i dont end up feeling bad when i dm someone "t" instead of "k"
i should disable ctrl + k somehow
do
i didit
rebind ctrl k to quit app
i think they finally fixed the keybinds settings
LMAO
OMG
THEY DID FIX IT
thank fuck i can add ctrl + ' too
fuck that keybind
nevermind fuck its kinda broken
why are they so bad dude please discord pleaseee
owned
realest
my discord now reloads every time I tab into it after being tabbed out for a few minutes
ven
hi
hello how are you
IM WELL
get better
sweet, ty
this is probably a stupid question but could i download the plugin from the pr?
If you build Vencord yourself yes
you mean installing it without using the installer?
im not very good at this stuff, sry
so there's no way of me installing third party plugins without building vencord myself?
Yes
why is it like that? just wondering
i have no problem with doing it, just curious why
Its the way Vencord is made
Basically
closing as this has been unfinished for very long now and thus outdated. thank you for your effort!
I'm not sure this is a good addition. for me personally, this looks way worse than just having the username
@spark cove wtf were u cooking in #696
so convoluted
does the vencord userscript use any greasemonkey apis or would it work fine being loaded another way
waaaa unsafewindow moment
why
it uses userscript specific apis
you can use browser.js & browser.css
they are pure browser build
im guilty of this
posting this was very painful
cause for some reason discord thinks its a good idea to parse urls inside code blocks
and it messes up the regex???
https://github/.com/(/w+//w+)/(?:issues|pull)/(\d+)
yeah i had that issue the other day with my bot and trying to eval shit
oh i tried that and it had issues with settings, assumed it was extension issue
discord deletes localStorage so you need to load the extension before discord
oh i didnt see that, thank you
:3
what r u even doing
sometimes i have to be on a chromebook so im making a proxy that injects vencord into discord web
notifications https://toaster.sh/i/3qs9hyf3.png
search results https://toaster.sh/i/i3ovb0fx.png
as i said, if you base64 decode the search results one you get the search query string in plain text after all the extra bytes
notification ones are just "random" bytes
regional thing maybe? if not just rollout
cant u just install the chrome extension?
not on a managed chromebook
i overwrite discord's csp header to allow all 
import { Router, createCors, html } from "itty-router";
const router = Router();
const { preflight, corsify } = createCors({
methods: ["GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS"],
maxAge: 86400,
});
router.all("*", preflight);
router.all("*", async (req: Request) => {
const config: any = {
method: req.method,
headers: {},
};
if (req.method === "POST") {
const body = await req.text();
config.body = body;
config.headers["Content-Type"] = req.headers.get("Content-Type");
}
if (req.headers.get("Authorization")) {
config.headers["Authorization"] = req.headers.get("Authorization");
}
const response = await fetch(
`https://canary.discord.com${new URL(req.url).pathname}`,
{
...config,
}
);
let body = await response.text();
body = body.replaceAll("//canary.discord.com", "");
if (response.headers.get("Content-Type")?.includes("text/html")) {
const rewriter = new HTMLRewriter().on("head", {
async element(element) {
element.prepend(
`<script src="https://github.com/Vendicated/Vencord/releases/download/devbuild/browser.js"></script>`,
{
html: true,
}
);
const cssResponse = await fetch(
"https://github.com/Vendicated/Vencord/releases/download/devbuild/browser.css"
).then((res) => res.text());
element.prepend(`<style>${cssResponse}</style>`, {
html: true,
});
},
});
body = await rewriter.transform(new Response(body)).text();
}
return new Response(body, {
status: response.status,
statusText: response.statusText,
headers: {
"Content-Type": response.headers.get("Content-Type") || "text/plain",
},
});
});
export default {
fetch: (req: Request) => router.handle(req).then(corsify),
port: 8080,
};
cursed
that style line looks dangerous btw
it doesnt like loading the style from a link for some reason :(
like just make a proxy route on ur server for the CSS file
that sends css content type
other than that pretty neat
husk
waaaaa
new URL(path, baseUrl)
removes the existing path
ah
knda meh tbh
oh
i didnt know it did that
that sucks
i thought it was similar to httpclient in c# lol
i assume its because its using basePath and then just overwriting the .path with whatever you pass
instead of appending
which is a really stupid way of doing it
c# does it by..
well
actually joining them together
xd
epic idea to bypass content type: request the css text and add it to a <link rel="stylesheet"> with href being the data uri for the contents
at that point just use an inline style
xd
or a blob
inling has the risk of xss
blob would work but thats soooooooooooooooooooooooooooo complicated
oh yea
is not
its 2 lines!
i mean i was cooking OptionType.ARRAY and OptionType.REGEX
one line even!
everything can be one line if u have a minifier
URL.createObjectUrl(new Blob([ css ], { type: "text/css" }));
memory leak
we do this in vencord already
xd
for theme files
and usercss uses object URLs to serve the compiled output
FakeNitro (had no effect):
ID: 918124
Match: /((\i)=\i\.node,\i=\i\.expressionSourceGuild)(.+?return )(.{0,450}Messages\.EMOJI_POPOUT_PREMIUM_JOINED_GUILD_DESCRIPTION.+?}\))/
IgnoreActivities (had no effect):
ID: 660859
Match: /!(\i)(\)return null;var \i=(\i)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/
None
font-weight: bold;
color: purple;
resetSocketOnError Cannot access 'Fpe' before initialization
%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 ```
FakeNitro (had no effect):
ID: 918124
Match: /((\i)=\i\.node,\i=\i\.expressionSourceGuild)(.+?return )(.{0,450}Messages\.EMOJI_POPOUT_PREMIUM_JOINED_GUILD_DESCRIPTION.+?}\))/
IgnoreActivities (had no effect):
ID: 157541
Match: /!(\i)(\)return null;var \i=(\i)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/
FixInbox (found no module):
ID: -
Match: INBOX_OPEN:function
None
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 ```
at least they didn't add themeselves to Devs
... i added myself to devs. on purpose.
when did i mention you
@umbral hedge discord fixed the issue "FixInbox" was for by removing subscribing to all guilds, and instead only subscribe by the ones which appear in the unreads tab while you scroll down
so uhhh
i think having just the username feels kinda weird, especially when discord has display names as well as usernames everywhere throughout the app
Does Vesktop support installing it with a custom path on Windows? I'm one of the people who prefer to install things to a different hard drive than the one Windows is installed in to prevent storage issues. I also need these to usually test the programs in case they do not have portable methods.
I'm aware that some people will just tell me to test the installer but i like to make sure first for reasons. Is this supported or not?
For some reason, i can't add labels to this opened issue so i will just put [question] in the title to make sense
Hey guys, is it possible to export my channel tabs setting to use on other device?
I set up this plugin on my windows pc, and want to have the same bookmarks on my mac.
no way they fixed the wontfix???
impossible
test it for me 
I'm not on 200+ servers so couldnt test
yeye no worries
I just took quick look at code and got that conclusion
well I mainly compared the stable vs canary code
a
1pm here
go to sleep nookies ๐ญ
soon :)
timezone?
brt/utc-3

it says totally other time on google lol
wtf
am in future
rather than checking the time
ohh true
911
๐คฏ
๐ข ๐ข
lmao
here the numbers are 110 and 112
110 for police, 112 for fire fighters and medical services
190 is police, 192 is medical and 193 is fire fighters here
here 113 114 115 
calling basically any of those anywhere will usually route you to the right place
omw to call 01189998819991197253
so I can call 112 in the US?
what is the purpose of optionsCache in vcNarrator
lazy initialised options
why?
because of the speech synthesis stuff
ohhh
iirc it caused issues on top level
thank you, typescript
you will install extension
Almost all plugins have been tested
Only vcNarrator has not been migrated, as to the way it loads settings
jumpscare
try adding an as const
tried to fix macos screenshare issue but cant get it to work
issue time
When attempting to stream your screen, macOS prompts you to give screen share permission every time, even though it was already granted. Possible entitlements issue?
I have checked for permissions and it says granted, and the screen share handler returns the correct video stream on the electron side
<img width="867" alt="image" src="https://github.com/Vencord/Vesktop/assets/44179559/7100ce89-beec-4ff8-9f5e-720e861063da">
granted log being from console.log(systemPreferences.getMediaAccessStatus("screen"));
github issues dont have markdown inline code?
github markdown doesnt work when u have html on same line
Merge
its because you mixed html and md
 for images in md
YoutubeWatchTogetherAdblock Plugin if anyone wants to make a pull-request, don't have time to properly test it right now.
- Place adGuardBlockScript.ts in "\src\main\utils"
- Create "src\plugins\watchTogetherActivityAdblock.ts" (Snippet 1)
- Modify "src\main\ipcPlugins.ts" (Snippet 2, Don't forget import)
- Test it and feel free to claim credit ๐
/*
* Vencord, a Discord client mod
* Copyright (c) 2023 Vendicated and contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
import definePlugin from "@utils/types";
// The entire code of this plugin can be found in ipcPlugins
export default definePlugin({
name: "WatchTogetherActivityAdblock",
description: "Makes ads go away in the Youtube activity.",
authors: [
{
id: 0n,
name: "anon",
},
],
patches: [],
});
app.on("browser-window-created", (_, win) => {
win.webContents.on("frame-created", (_, { frame }) => {
frame.once("dom-ready", () => {
// FixSpotifyEmbeds
if (frame.url.startsWith("https://open.spotify.com/embed/")) {
const settings = getSettings().plugins?.FixSpotifyEmbeds;
if (settings?.enabled) {
frame.executeJavaScript(`
const original = Audio.prototype.play;
Audio.prototype.play = function() {
this.volume = ${(settings.volume / 100) || 0.1};
return original.apply(this, arguments);
}
`);
}
}
// WatchTogetherActivityAdblock
if (frame.url.startsWith("https://www.youtube.com/")) {
const settings = getSettings().plugins?.WatchTogetherActivityAdblock;
if (settings?.enabled) {
frame.executeJavaScript(AdGuardBlockScript);
}
}
});
});
});
just open a draft?
i just pasted the image in and github did the upload and formatting
Simple plugin that injects a modified version AdGuard's BlockYouTubeAdsShortcut code into youtube frames.
This plugin looks like it would only work on desktop/vesktop, as it uses electronside code. The plugin file should be suffixed with .desktop.ts
FakeNitro (had no effect):
ID: 918124
Match: /((\i)=\i\.node,\i=\i\.expressionSourceGuild)(.+?return )(.{0,450}Messages\.EMOJI_POPOUT_PREMIUM_JOINED_GUILD_DESCRIPTION.+?}\))/
IgnoreActivities (had no effect):
ID: 49929
Match: /!(\i)(\)return null;var \i=(\i)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/
FixInbox (found no module):
ID: -
Match: INBOX_OPEN:function
None
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 ```
FakeNitro (had no effect):
ID: 918124
Match: /((\i)=\i\.node,\i=\i\.expressionSourceGuild)(.+?return )(.{0,450}Messages\.EMOJI_POPOUT_PREMIUM_JOINED_GUILD_DESCRIPTION.+?}\))/
IgnoreActivities (had no effect):
ID: 49929
Match: /!(\i)(\)return null;var \i=(\i)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/
FixInbox (found no module):
ID: -
Match: INBOX_OPEN:function
None
font-weight: bold;
color: purple;
resetSocketOnError Cannot access 'ohe' before initialization
%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 ```
yes
Um I think in https://github.com/Vencord/Vinstaller
It says cd Vesktop instead of cd Vinstaller.
vinstaller is gone lmao
also is there any eta on when wailsinstaller will be used
e5c0898 [ReviewDB] add emojis, discord markdown & notif... - mantikafasi
fadd159 Settings: use nearest-neighbour for shiggy (#1739) - AppleMayExist
children can be a single node
replace: "$1children: $self.isSourceAvailable() ? $self.LoadingSource() : $2"
getTextStyle: () => ({ top: settings.store.overrideTextOffset ? settings.store.textOffset : void 0 }),
description: 'Override the text's "top" property specified with CSS',
instead of using the errorboundaries here, it'd be much better to wrap the entire component, as otherwise it will only catch errors in the child components, but not the component itself. In any case, wrapping just the outmost component of yours should be enough
iirc vencord fills this for you
it'd be better UX to add a default value
required: false,
please move this plugin to a directory and add a README.md file documenting the plugin and showing a screenshot
do not specify flags unless you really need them. if so, document why
match: /children:\[this\.renderPlayIcon\(\),.{0,200}\.setDurationRef}\),/,
generally you should try to avoid using (). for classes. we did in the past and they changed to non () a bunch
see if this is still unique
find: ".videoControls:",
use discord css variables instead of hardcoding colour
i didnt mean to approve
why not just use a normal type here?
& {
defaultReactRuleOptions: {
enableBuildOverrides: false;
};
reactParserFor(rules: MarkdownRules): ReactParser;
...
}
yes it can. and this pr is dangerous because this could be abused to execute arbitrary code for example by getting someone to use your settings backup
d8c8b74 BetterRoleDot: Setting for copying role color i... - AutumnVN
probably best to revert this one as it has a single quote anyway
will be replaced with the user's name (nothing if it's yourself), the user's display name and the channel's name respectively
const displayName = isMe && !Settings.plugins.VcNarrator.sayOwnName ? "" : UserStore.getUser(userId).globalName ?? UserStore.getUser(userId).username;







