Greasy Fork is available in English.
Wraps URLs with angle brackets (<https://example.com>) when pasting into discord to avoid link embeds
< Feedback on Discord Paste Links without Embeds
Explanation within the code was kept short. Let's make sure it's explained clearly: replaceLinksInMessage
refers to pasting when the clipboard contains more than just a URL, like having "sample text http://example.com" on the clipboardreplaceStandaloneLinks
means if the only thing on the clipboard is the URL (no extra text)
With your explanation, I get the impression your clipboard only contains the URL and you're typing the other words. If that's the case, replaceStandaloneLinks
is what applies.
If you mean something else, can you describe it more?
With your explanation, I get the impression your clipboard only contains the URL and you're typing the other words. If that's the case,
replaceStandaloneLinks
is what applies.
Thanks, I understand, this scipt is for the content of the clipboard.
Hi, why after I set it like this, it doesn't work for both link formats:
But when I reversed the settings it worked again for all link formats:
I typed
check out
before the link and it didn't work, can I replacecheck out
with any other words here?