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.

Aŭtoro
andrybak
Ĉiutagaj instaloj
0
Tutaj instaloj
9
Ratings
0 0 0
Versio
4
Kreita
2023/07/07
Ĝisdatigita
2023/09/21
Licenco
MIT
Aplikiĝas al

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.