A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cefsharp.github.io/api/118.6.x/html/M_CefSharp_IExtensionHandler_GetExtensionResource.htm below:

IExtensionHandlerGetExtensionResource Method Version 118.6.80

Called to retrieve an extension resource that would normally be loaded from disk (e.g. if a file parameter is specified to chrome.tabs.executeScript). Localization substitutions will not be applied to resources handled via this method.

Namespace:  CefSharp
Assembly:

CefSharp (in CefSharp.dll) Version: 118.6.80.0 (118.6.80.0)

Syntax
bool GetExtensionResource(
	IExtension extension,
	IBrowser browser,
	string file,
	IGetExtensionResourceCallback callback
)
bool GetExtensionResource(
	IExtension^ extension, 
	IBrowser^ browser, 
	String^ file, 
	IGetExtensionResourceCallback^ callback
)
Parameters
extension
Type: CefSharpIExtension
extension the call originates from
browser
Type: CefSharpIBrowser
browser the call originates from
file
Type: SystemString
is the requested relative file path.
callback
Type: CefSharpIGetExtensionResourceCallback
callback used to handle custom resource requests
Return Value

Type:

Boolean

To handle the resource request return true and execute

callback

either synchronously or asynchronously. For the default behavior which reads the resource from the extension directory on disk return false

See Also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4