-
Notifications
You must be signed in to change notification settings - Fork 6
Idea: Humanize Links #1
Copy link
Copy link
Open
Description
ChatGPT often adds an utm_source to links.
For example "https://de.wikipedia.org/wiki/BorgWarner?utm_source=chatgpt.com".
It would be great if humanize-ai-lib could also remove this.
Something like this could work:
url.replace(/(\?|&)utm_source=[^&]*&?/, (match, p1) => (p1 === '?' ? '?' : ''))
.replace(/[?&]$/, '');
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels