CB User Context Menu

Modify the user context menu

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!)

Penulis
imarawn
Pemasangan harian
0
Total pemasangan
12
Nilai
0 0 0
Versi
4.9.1
Dibuat
16 Oktober 2025
Diperbarui
19 Oktober 2025
Size
18,4 KB
Lisensi
CC-BY-NC-SA-4.0
Berlaku untuk

💬 CB User Context Info Mode — Smart Bio Enhancer

A Tampermonkey userscript that enhances the Chaturbate user context menu by adding clean, dynamic user information — directly under the native menu header — based on real data from Chaturbate’s /api/biocontext/{username}/ endpoint.

It works only when valid API data is available, leaving the original menu untouched when not.


✨ Features

🧩 Inline Bio Info

  • Seamlessly extends the native user context menu.
  • Displays performer or user information such as:
    • Age, gender, location, body decorations, last broadcast, fanclub cost, and more.
  • Fetches data securely from /api/biocontext/{username}/ using your own session.
  • Only updates the menu when valid data is returned —
    if the API call fails (e.g. locked room), the menu stays exactly as it was.

⚙️ Customization

🧱 Display Modes

You can choose how the information appears:

  • List mode (default) → Structured 2-column table (labels & values).
  • Pills mode → Compact emoji-tagged info bubbles.

Switch between modes anytime from the Tampermonkey menu.


🎛️ Field Picker

Fully customizable fields:

  • Choose which pieces of info are shown in your list or pills view.
  • Toggle fields on/off through a built-in Tampermonkey configuration menu.
  • Save, reset, or import/export your preferences.

⚡ API Behavior

  • Fetches /api/biocontext/{username}/ once when the context menu opens.
  • Data is cached for 5 minutes to reduce load.
  • Automatically retries failed requests up to 2 times per username.
  • After 2 failed attempts, that username is silenced for 10 minutes
    (no further API calls until cool-down expires).
  • If valid data arrives → menu updates instantly.
  • If no valid data → nothing is changed.

🧩 What It Changes in the Menu

✅ Adds:

  • Real name (if different from username).
  • Extra info list or pills, depending on your chosen mode.

✅ Hides:

  • The default age/gender icon block (only when API data is valid).

❌ Leaves everything else untouched:

  • Ignore, Report, Send PM/DM links, etc. all work as before.

🧭 Tampermonkey Menu Options

Open the Tampermonkey icon → Script menu → You’ll see:

  • Mode toggle: switch between Details listFact pills
  • Configure visible fields… → enable/disable data fields
  • Reset fields to defaults
  • Export fields JSON
  • Import fields JSON

🖥️ Requirements

Install a userscript manager such as:


🔧 Installation

  1. Install Tampermonkey.
  2. Click Install this script on GreasyFork.
  3. Visit any Chaturbate room.
  4. Click a username in chat.
  5. The user context menu will now display enhanced profile data.

🎨 Style & Display

  • Integrates seamlessly into Chaturbate’s native menu.
  • Uses minimal, additive CSS — no overrides of existing layout.
  • Dark-friendly and clean typography.
  • Emojis added in Pills mode for quick readability.
  • Respects Chaturbate’s font and color scheme.

🧠 Performance

  • Cached API calls (5-minute TTL).
  • Limited retries (2x per user).
  • 10-minute cooldown after failed lookups.
  • Lightweight DOM mutation observer with debounce.
  • Works with SPA navigation and dynamically loaded chat rooms.

🔒 Privacy

  • Runs entirely client-side in your browser.
  • Uses only Chaturbate’s official API.
  • No external requests, analytics, or third-party servers.

🚫 Limitations

  • If the /api/biocontext/ endpoint is restricted (e.g., in private or locked rooms), the script will not modify the menu.
  • No information is saved or sent anywhere — customization is stored locally via Tampermonkey.

🧾 License

License: CC BY-NC-SA 4.0

  • ✅ Free for personal use & sharing.
  • 🚫 Non-commercial only.
  • 🪪 Derivatives must credit the author and share alike.