No description
  • TypeScript 77.7%
  • CSS 22.3%
Find a file
2026-11-03 12:51:08 +03:00
dist Initial release of bb-plugin-work-life-balance 2026-11-03 12:51:08 +03:00
skills/work-life-balance Initial release of bb-plugin-work-life-balance 2026-11-03 12:51:08 +03:00
.gitignore Initial release of bb-plugin-work-life-balance 2026-11-03 12:51:08 +03:00
app.css Initial release of bb-plugin-work-life-balance 2026-11-03 12:51:08 +03:00
app.tsx Initial release of bb-plugin-work-life-balance 2026-11-03 12:51:08 +03:00
package-lock.json Initial release of bb-plugin-work-life-balance 2026-11-03 12:51:08 +03:00
package.json Initial release of bb-plugin-work-life-balance 2026-11-03 12:51:08 +03:00
README.md Initial release of bb-plugin-work-life-balance 2026-11-03 12:51:08 +03:00
server.ts Initial release of bb-plugin-work-life-balance 2026-11-03 12:51:08 +03:00
tsconfig.json Initial release of bb-plugin-work-life-balance 2026-11-03 12:51:08 +03:00

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().openUrl available 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.com as a built-in browser tab in the right panel (system browser as fallback outside those views);
    • a MutationObserver re-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.