WebView.Favicon
---------------

Get the actual image data of the favicon.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WebView](component_WebView.md) | [15.4](newinversion154.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |

MBS( "WebView.Favicon"; WebViewerRef { ; ImageType; FileName } ) 

**MBS**( **"WebView.Favicon";** /\* Get the actual image data of the favicon. \*/  
**$WebViewerRef**; /\* Either the Web Viewer Object Name or the Web Viewer ID as returned by "[WebView.FindByName](WebViewFindByName.md)" function. \*/   
**$ImageType**; /\* Optional; Pass JPEG or PNG.  
Default is PNG.e.g. "PNG" \*/   
**$FileName**) /\* Optional; The file name to use. \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| WebViewerRef | Either the Web Viewer Object Name or the Web Viewer ID as returned by "[WebView.FindByName](WebViewFindByName.md)" function. |  |  |
| ImageType | Pass JPEG or PNG.   Default is PNG. | "PNG" | Optional |
| FileName | The file name to use. |  | Optional |

### Result

Returns containwer or error.

### Description

Get the actual image data of the favicon.  
Returns a container value with the image or empty result if there is no image.  
### Examples

Queries favicon URL and image:

 Set Field \[ WebViewer Copy Text::FavIcon URL ; MBS ( "[WebView.FaviconURI](WebViewFaviconURI.md)"; "web" ) \]  
Set Field \[ WebViewer Copy Text::FavIcon Image ; MBS ( "WebView.Favicon"; "web" ) \]  
### See also

- [WebView.FaviconURI](WebViewFaviconURI.md)
- [WebView.FindByName](WebViewFindByName.md)
- [WebView.GetIcon](WebViewGetIcon.md)

### Release notes

- **Version 15.4**
    - Added [WebView.Favicon](https://www.mbsplugins.eu/WebViewFavicon.shtml) and [WebView.FaviconURI](https://www.mbsplugins.eu/WebViewFaviconURI.shtml) functions for Windows.

### Blog Entries

- [MBS FileMaker Plugin 15.4 News](https://www.mbsplugins.de/archive/2025-09-23/MBS_FileMaker_Plugin_154_News/monkeybreadsoftware_blog_filemaker)
- [Neues MBS Plugin 15.4 für Claris FileMaker](https://www.mbsplugins.de/archive/2025-09-09/Neues_MBS_Plugin_154_für_Clar/monkeybreadsoftware_blog_filemaker)
- [MBS Plugin 15.4 for Claris FileMaker](https://www.mbsplugins.de/archive/2025-09-09/MBS_Plugin_154_for_Claris_File/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 15.4pr1](https://www.mbsplugins.de/archive/2025-08-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 21st July 2025 , last changed 17th January 2026

  
[WebView.ExecCommand](WebViewExecCommand.md) - [WebView.FaviconURI](WebViewFaviconURI.md)

[HTML Version](WebViewFavicon.shtml)