No description
- TypeScript 77.7%
- CSS 22.3%
| dist | ||
| skills/work-life-balance | ||
| .gitignore | ||
| app.css | ||
| app.tsx | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| server.ts | ||
| tsconfig.json | ||
bb-plugin-work-life-balance
A BB plugin that adds a Work life balance button under the sidebar's New thread control. Clicking it opens an adult site in BB's built-in browser (a tab in the right panel, per the host's default link preference).
How it works
app.tsx— frontend-only plugin:- a content script injects the button into the sidebar under New thread (works in both rail and top-list navigation layouts);
- an invisible composer banner keeps
useBbNavigate().openUrlavailable to the script — the in-app browser opener only exists inside thread and New thread views, which is where the banner mounts; - the click opens
https://www.pornhub.comas a built-in browser tab in the right panel (system browser as fallback outside those views); - a
MutationObserverre-plants the button after React re-renders.
app.css— button styles using the host theme's CSS variables.server.ts— minimal backend (required by every plugin manifest; logs load).skills/work-life-balance/SKILL.md— agent-facing docs.
Install
bb plugin install .
Reload with bb plugin reload work-life-balance after edits, or run
bb plugin dev for rebuild-on-save.