Vencord icon indicating copy to clipboard operation
Vencord copied to clipboard

Improve readability and cleanliness of clearURLs

Open CodeF53 opened this issue 1 year ago • 0 comments

Today when I was stealing the url cleaning from clearURLs for one of my personal projects, I found the code kinda disgusting.

This commit primarily is just because of the unnecessarily complex code replacer used for removing bad params. Otherwise its just light edits to reduce unnecessary indents/lines.

This should hopefully make the code easier to steal for people in the future.

CodeF53 avatar Sep 14 '24 22:09 CodeF53