你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/447276-discord-paste-links-without-embeds,源站連結 點此以跳轉。
Wraps URLs with angle brackets (<https://example.com>) when pasting into discord to avoid link embeds
Wraps URLs with angle brackets (<https://example.com>) when pasting into discord to avoid link embeds
*.user.js), so click the "Install" button to install it. If it doesn't, copy the entire contents of the script into the Tampermonkey script editor (make sure you save).If you don't want to use this script anymore, you can uninstall it anytime.
There are a few settings you can configure:
const CONFIG = {
replaceStandaloneLinks: true, // will affect "https://stackoverflow.com", but not "check out https://stackoverflow.com"; can be true or false; default: true
replaceLinksInMessage: true, // will affect "check out https://stackoverflow.com", but not "https://stackoverflow.com"; can be true or false; default: true
linkRegexProvider: "discord", // discord doesn't parse links perfectly on the frontend; can be "discord" or "custom"; default: "discord"
ignoreCaseInLink: true, // discord doesn't treat HTTPS as a valid link, unless you wrap in <>; can be false or true; default true
};
Note that "replaceStandaloneLinks" and "replaceLinksInMessage" 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.
Please file bugs under the Issues tab.