Confluence: copy link buttons

Adds buttons to copy a link to the current page directly into clipboard. Two buttons are supported: Markdown and Jira syntax. Both buttons support HTML for rich text editors.

作者
andrybak
日安装量
0
总安装量
18
评分
0 0 0
版本
5
创建于
2023-07-07
更新于
2024-08-15
大小
8.8 KB
许可证
MIT
适用于

Adds buttons to copy a link to the current page directly into clipboard. Two buttons are supported: Markdown and Jira syntax. Both buttons support HTML for rich text editors.

This script supports both Confluence Server and Confluence Cloud.

Screenshot of buttons in Confluence Server and Confluence Cloud

Instructions

The script uses @include rules to work on any domain that includes the word confluence. If your browser doesn't support @include (which might happen in the future when Chrome switches to Manifest V3 browser extensions) or your Confluence server uses a domain which doesn't include the word confluence, you'll have to manually add your domain. Up-to-date instructions are at https://github.com/rybak/atlassian-tweaks#custom-domains

Source code

Source code and full history can be seen on GitHub: https://github.com/rybak/atlassian-tweaks/blob/main/confluence-copy-link-buttons.user.js

See also

More user scripts and user styles for Jira, Bitbucket, and Confluence in set Atlassian Tweaks.