Skip to content

Improve readability and cleanliness of clearURLs#2877

Closed
CodeF53 wants to merge 2 commits into
Vendicated:mainfrom
CodeF53:clean_clearURLs
Closed

Improve readability and cleanliness of clearURLs#2877
CodeF53 wants to merge 2 commits into
Vendicated:mainfrom
CodeF53:clean_clearURLs

Conversation

@CodeF53
Copy link
Copy Markdown
Contributor

@CodeF53 CodeF53 commented Sep 14, 2024

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.

Comment thread src/plugins/clearURLs/index.ts Outdated
@Vendicated Vendicated closed this Apr 17, 2026
@CodeF53
Copy link
Copy Markdown
Contributor Author

CodeF53 commented Apr 19, 2026

fire close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants