WebContext.setWebExtensionsDirectory

Set the directory where WebKit will look for Web Extensions. This method must be called before loading anything in this context, otherwise it will not have any effect. You can connect to #WebKitWebContext::initialize-web-extensions to call this method before anything is loaded.

class WebContext
void
setWebExtensionsDirectory
(
string directory
)

Parameters

directory string

the directory to add

Meta