Greasy Fork is available in English.

Discord Paste Links without Embeds

Wraps URLs with angle brackets (<https://example.com>) when pasting into discord to avoid link embeds

2022/06/30のページです。最新版はこちら

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
Samathingamajig
評価
0 0 0
バージョン
0.1
作成日
2022/06/30
更新日
2022/06/30
大きさ
2.44KB
ライセンス
MIT
対象サイト

discord-paste-links-without-embeds

Wraps URLs with angle brackets (<https://example.com>) when pasting into discord to avoid link embeds

🐛 Bugs:

Please file bugs under the Issues tab.

⚙ Config:

There are two settings you can configure:

const CONFIG = {
  replaceStandaloneLinks: true, // will affect "https://stackoverflow.com", but not "check out https://stackoverflow.com"; default: true
  replaceLinksInMessage: true, // will affect "check out https://stackoverflow.com", but not "https://stackoverflow.com"; default: true
};

Note that these settings are not mutually exclusive. When both are true (the default setting), links will be affected regardless of if they're the entire clipboard or inside of the clipboard.

To turn off one or both of these, replace true with false. NOTE: Changes are only re-evaluated when discord is completely refreshed