A simple Chrome extension that hides UI elements in Confluence pages for distraction-free writing.
- Hides specific UI elements in Confluence pages
- Toggle visibility with keyboard shortcut:
Ctrl+Shift+Z
(Windows) orCmd+Shift+Z
(Mac) - Automatically handles dynamically loaded elements
- Creates a clean, focused writing environment
- Clone this repository
- Open Chrome and go to
chrome://extensions/
- Enable "Developer mode"
- Click "Load unpacked" and select the repository folder
- Navigate to any Confluence page
- Press
Ctrl/Cmd+Shift+Z
to toggle zen mode on/off - Enjoy distraction-free writing and editing!
To hide additional UI elements:
- Open
content.js
- Add your selectors to the
elementsToHide
array:
const elementsToHide = [
'[data-testid="object-header-container"]',
// Add your selectors here:
'[data-testid="another-element"]',
".some-class",
"#some-id",
];
Contributions are welcome! Please feel free to submit a Pull Request.
MIT License