Confluence: Simple Floating ToC

Makes widget from macro "Table of Contents" float on the right hand side of content.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Aŭtoro
andrybak
Ĉiutagaj instaloj
0
Tutaj instaloj
19
Ratings
0 0 0
Versio
3
Kreita
2023/01/11
Ĝisdatigita
2023/02/17
Size
2,25 kb
Licenco
MIT
Aplikiĝas al

Confluence: Simple Floating Table of Contents

This style moves the table of contents to the right side of the page and makes the table of contents "sticky", floating in the same place when scrolling. You can change the size and position of table of contents using style's settings. Click on the cog icon in the browser extension's menu to change the settings.

This style supports both Confluence Server and Confluence Cloud.

Demo

https://user-images.githubusercontent.com/624072/211896771-f93fd25a-a199-4bb0-9766-46dfe09438ce.mp4

Instructions

The style uses @url-prefix rules to work on any domain that starts with the word confluence. If your Confluence instance uses a domain which doesn't start with the word confluence, you'll have to manually add your custom 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-simple-floating-toc.user.css

See also

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