Aliucord / plugin-requests

Plugin requests for Aliucord
42 stars 3 forks source link

ClearURLs #1386

Open KraXen72 opened 1 month ago

KraXen72 commented 1 month ago

Discord Account

kraxen72

Plugin Description

please add a plugin that automatically removes tracking parameters from urls, for example the ?si= from spotify urls

Go into more detail...

when sending and receiving links port of vencord plugin: https://github.com/Vendicated/Vencord/tree/main/src/plugins/clearURLs

i checked the plugin channels on discord and issues here and couldn't find this request but it might be under a different name, so if that's the case, i'm sorry.

Request Agreement

OasisVee commented 1 month ago

until its made you could use a textreplace rule to do it

find: (https?:\/\/[^?#\s]+)(\?.+?)(?=#|\s|$) replace: $1 Regex: true case insensitive: true match unsent: true match sent: whichever you want match embeds: same as sent Screenshot_20240527-131455

OmegaSunkey commented 1 month ago

(https?:\/\/[^?#\s]+)(\?.+?)(?=#|\s|$) replace: $1