browser extension framework

by r457·v0.9.7·Updated 2025-09-24

The browser extension framework provides a convenient entry point for adding custom websites to the main browser page 'NETdir://ncity.pub', while collecting and displaying all vanilla websites defined as log entries in the game.

Screenshots 4 screenshots

About this mod Machine translation

The browser extension framework provides a convenient entry point for adding custom websites to the main browser page 'NETdir://ncity.pub', while collecting and displaying all vanilla websites defined as log entries in the game.

Browser extension framework

**🎮 Browser extension system created for "Cyberpunk 2077"**

---

📋 Prerequisites

  • **redscript** - Required script support
  • **red4ext** - Extended framework base
  • **Codeware** - Custom component support
  • **Mod Settings** - optional settings module

🚀 Installation Guide

  • Download the main framework compressed package
  • Extract the file to the "Cyberpunk 2077" installation directory
  • Optional: Download the address blocking module (see instructions below for details)

**💡 IMPORTANT NOTE**: The main page is not a real scrolling page, but a simulated scrolling effect. Gamepad users should use the arrow keys to turn pages up and down, while keyboard and mouse users should use the mouse wheel or arrow keys.

✨ Core Functions

**🌐 Custom Website Integration**

  • Easily add custom websites to the main browser page `NETdir://ncity.pub`
  • Automatically collect and display all original websites in the game
  • The new website will be displayed at the top of the homepage and scrolling is supported

**🔧 Developer Friendly**

  • Add new sites by creating a BrowserEventsListener subclass
  • Support creating pages from scratch or reusing original templates
  • Provide CustomSiteExample as a reference example

🛠️ Technical details

**🔗 Link processing mechanism**

  • Only links starting with your website's main address will be processed
  • Define all website pages in GetWebPage method
  • Link pages using the LoadPageByAddress method

**🎨 Icon Production Guide**

  • Icon size: 204×229 pixels
  • Use DDS as raw format
  • Select TEXG_Generic_UI texture group when importing
  • Enable IsGamma and VFlip options

⚙️ Address blocking function

Open the `r6\scripts\BlockByAddress\BlockByAddress.reds` file and uncomment the website addresses you don't want to display in the game. This is a simple shielding system, and in-game UI may be added in the future.

🔮 Development Plan

  • Change home page to a real scrollable component (currently simulates scrolling)
  • Improve website coverage system

---

**🌟 Special thanks**

  • **DJ_Kovrik** - Provide valuable "Cyberpunk 2077" module development guidance
  • **psiberx** - Provides excellent tool and documentation support

Experience a richer online world of Night City! 🌃

Install & use Install: follow the bundled instructions

  1. Unzip the archive from playbuff and read the bundled readme / instructions first.
  2. There is no universal mod manager for this game: some mods replace game files directly, some go into a game-specific Mods folder, and some need a game-specific community loader or tool first — follow the bundled readme.
  3. Place the files exactly as the readme says; mods with listed dependencies need those installed too.
  4. Launch the game to confirm it loaded; some games require enabling mods in settings or an in-game mod menu.

Install locations vary a lot between games and mods — the bundled readme is the most reliable guide.

File & checksum

Filename
BrowserExtensionExample
File size
22.1 KiB