CB User Context Menu

Modify the user context menu

За да инсталирате този скрипт, трябва да имате инсталирано разширение като Tampermonkey, Greasemonkey или Violentmonkey.

За да инсталирате този скрипт, трябва да имате инсталирано разширение като Tampermonkey или Violentmonkey.

За да инсталирате този скрипт, трябва да имате инсталирано разширение като Tampermonkey или Violentmonkey.

За да инсталирате този скрипт, трябва да имате инсталирано разширение като Tampermonkey или Userscripts.

За да инсталирате скрипта, трябва да инсталирате разширение като Tampermonkey.

За да инсталирате този скрипт, трябва да имате инсталиран скриптов мениджър.

(Вече имам скриптов мениджър, искам да го инсталирам!)

За да инсталирате този стил, трябва да инсталирате разширение като Stylus.

За да инсталирате този стил, трябва да инсталирате разширение като Stylus.

За да инсталирате този стил, трябва да инсталирате разширение като Stylus.

За да инсталирате този стил, трябва да имате инсталиран мениджър на потребителски стилове.

За да инсталирате този стил, трябва да имате инсталиран мениджър на потребителски стилове.

За да инсталирате този стил, трябва да имате инсталиран мениджър на потребителски стилове.

(Вече имам инсталиран мениджър на стиловете, искам да го инсталирам!)

Автор
imarawn
Инсталации дневно
0
Инсталации общо
12
Рейтинг
0 0 0
Версия
4.9.1
Създаден
16.10.2025
Обновен
19.10.2025
Размер
20 КБ
Лиценз
CC-BY-NC-SA-4.0
Работи на

💬 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.