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.

Versão de: 15/07/2023. Veja: a última versão.

Autor
andrybak
Avaliações
0 0 0
Versão
1
Criado
07/07/2023
Atualizado
15/07/2023
Tamanho
8,59 KB
Licença
N/A
Aplicável a

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.

长期地址
遇到问题?请前往 GitHub 提 Issues。