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.

Autor
andrybak
Dnevne instalacije
0
Ukupno instalacija
18
Ocene
0 0 0
Verzija
5
Napravljeno
07/07/2023
Ažurirano
15/08/2024
Size
8,84 КБ
Licenca
MIT
Važi za

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。