Widget Reference
Reference for UInternetBrowser and shipped tab Blueprints under InternetBrowserUMG/. C++ API verified from plugin source (v5.8) and Unreal MCP.
Class diagram
Section titled “Class diagram”flowchart TB Parent["«parent» UWidget"] Browser["UInternetBrowser<br/>InitialURL · bSupportsTransparency · bShowWhitelistOnly · bEnableHistory · bOnlyHTTPS · WhitelistWebsites · Bookmarks<br/>LoadURL() · InitializeInternetBrowser() · ExecuteJavascript() · AddBookmark() · GetHistory()"] Shell["WBP_InternetBrowser<br/>CurrentTabButton · InitialURL · CurrentBookmarks<br/>AddNewTab() · SwitchTab() · CloseTab()"] Content["WBP_InternetBrowserContent<br/>ParentBrowser · InitialURL<br/>LoadURL() · GetInternetBrowserWidget()"] Parent --> Browser Shell -->|manages tabs| Content Content -->|hosts| Browser
Structs
Section titled “Structs”FBrowserBookmark
Section titled “FBrowserBookmark”| Field | Type |
|---|---|
| Title | Text |
| URL | Text |
FInternetBrowserHistory
Section titled “FInternetBrowserHistory”| Field | Type |
|---|---|
| Title | Text |
| URL | Text |
| Date And Time | DateTime |
Use Is History Valid to test entries.
FBrowserCookie
Section titled “FBrowserCookie”| Field | Type |
|---|---|
| Name, Value, Domain, Path | String |
| Https Requests Only, Http Request Only, Expires | Boolean |
| Expire Time | DateTime |
Properties — UInternetBrowser
Section titled “Properties — UInternetBrowser”| Property | Default | Description |
|---|---|---|
| Initial URL | — | Must include protocol (https://) |
| Support Transparency | — | Transparent browser background |
| Show Whitelist Only | — | Only Whitelist Websites load |
| Enable History | — | Record visited pages |
| Only HTTPS | — | Upgrade HTTP to HTTPS |
| Support Browser URLs | — | Custom chrome://-style protocols |
| Support localhost | — | Allow 127.0.0.1 / localhost |
| Whitelist Websites | Array | Allowed domains when whitelist on |
| Bookmarks | Array | Initial FBrowserBookmark entries |
| Internet Browser Save Game Class | Class | Optional persistence |
Delegates (events)
Section titled “Delegates (events)”| Event | When |
|---|---|
| On Load Started | Navigation begins |
| On Load Completed | Page finished loading |
| On Load Error | Load failed |
| On Url Changed | Address changed |
| On Access Denied | Whitelist / policy block |
| On Before Popup | New window/tab requested |
| On Load Browser URL | Internal browser protocol link |
UInternetBrowser — Blueprint functions
Section titled “UInternetBrowser — Blueprint functions”| Function | Category | Description |
|---|---|---|
| Initialize Internet Browser | Browser | Wire back/forward/reload/address bar; load URL |
| Load URL | Browser | Navigate (auto-adds https:// if missing) |
| Load String | Browser | Display HTML string |
| Execute Javascript | Browser | Run JS in current page |
| Get Url / Get Title Text / Get Addressbar Url | Browser | Query state |
| Get Clean Domain Name | Browser | Static — strip path from URL |
| Get Browser Protocol Link | Browser | Custom protocol prefix |
| Add Bookmark / Remove Bookmark / Get Bookmarks | Bookmark | Bookmark CRUD |
| Get History | Browser | Returns FInternetBrowserHistory array |
| Set Cookie / Set Cookie (All URLs) | Cookies | Async via delegate |
| Delete Cookie / Delete Cookie Database | Cookies | Async via delegate |
| Get Cookie Name | Cookies | Read cookie field |
Assign Back Button, Forward Button, Reload Button, and Addressbar widget references before Initialize Internet Browser.
WBP_InternetBrowser (tab shell)
Section titled “WBP_InternetBrowser (tab shell)”Variables: Current Tab Button, Initial URL, Current Bookmarks, On Tab Switch.
| Function | Description |
|---|---|
| Add New Tab | Spawn tab + content |
| Switch Tab | Activate tab by button |
| Close Tab | Remove tab |
| Get Next Tab / Get Previous Tab | Keyboard navigation helpers |
| Enable Fullscreen | Toggle fullscreen for active tab |
| Add Bookmark To Browser Widgets / Remove Bookmark From Browser Widgets | Sync bookmarks across tabs |
WBP_InternetBrowserContent (single tab)
Section titled “WBP_InternetBrowserContent (single tab)”Variables: Tab Button, Parent Browser, Initial URL.
| Function | Description |
|---|---|
| Get Internet Browser Widget | Returns embedded UInternetBrowser |
| Load URL | Navigate this tab |
| Switch To Fullscreen | Fullscreen this tab |
| Refresh Bookmarks | Rebuild bookmark bar |
| Load History Widgets | Populate history panel |
| Remove Bookmark | Remove from bar |
| Toggle History Delete | Bulk delete mode |
| Set Browser Switch Index | Tab index for keyboard |
Content paths
Section titled “Content paths”| Item | Location |
|---|---|
| Content root | InternetBrowserUMG/ |
| Tabbed UI | WBP_InternetBrowser |
| Demo | DemoLevel |
| Icons | DefaultIcons/ |
C++ module
Section titled “C++ module”PrivateDependencyModuleNames.AddRange(new string[] { "InternetBrowserUMG" });#include "InternetBrowser.h"