diff --git a/CefSharp/IRequestContext.cs b/CefSharp/IRequestContext.cs index 6d3bd1ebb..0b0029160 100644 --- a/CefSharp/IRequestContext.cs +++ b/CefSharp/IRequestContext.cs @@ -270,9 +270,14 @@ namespace CefSharp /// If extension resources will be provided by the client then rootDirectory should be a path component unique to the extension /// and manifestJson should contain the contents that would otherwise be read from the manifest.json file on disk /// handle events related to browser extensions - /// For extensions that load a popup you are required to query the Manifest, build a Url in the format + /// + /// For extensions that load a popup you are required to query the Manifest, build a Url in the format /// chrome-extension://{extension.Identifier}/{default_popup} with default_popup url coming from the mainfest. With the extension - /// url you then need to open a new Form/Window/Tab and create a new ChromiumWebBrowser instance to host the extension popup + /// url you then need to open a new Form/Window/Tab and create a new ChromiumWebBrowser instance to host the extension popup. + /// To load a crx file you must first unzip them to a folder and pass the path containing the extension as . + /// It in theory should be possible to load a crx file in memory, passing it's manifest.json file content as + /// then fulfilling the resource rquests made to . + /// void LoadExtension(string rootDirectory, string manifestJson, IExtensionHandler handler); } } diff --git a/CefSharp/RequestContextExtensions.cs b/CefSharp/RequestContextExtensions.cs index 31f694ab9..993155fc5 100644 --- a/CefSharp/RequestContextExtensions.cs +++ b/CefSharp/RequestContextExtensions.cs @@ -9,7 +9,7 @@ namespace CefSharp public static class RequestContextExtensions { /// - /// Load an extension from the given directory. + /// Load an extension from the given directory. To load a crx file you must unzip it first. /// For further details see /// /// request context @@ -23,7 +23,7 @@ namespace CefSharp /// /// Load extension(s) from the given directory. This methods obtains all the sub directories of /// and calls if manifest.json - /// is found in the sub folder. + /// is found in the sub folder. To load crx file(s) you must unzip them first. /// For further details see /// /// request context