WebKit2.WebContext.prototype.get_plugins
function get_plugins(cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void { // Gjs wrapper for webkit_web_context_get_plugins() }
Asynchronously get the list of installed plugins.
When the operation is finished, callback will be called. You can then call WebKit2.WebContext.prototype.get_plugins_finish to get the result of the operation.
- cancellable
a Gio.Cancellable or null to ignore
- callback
a Gio.AsyncReadyCallback to call when the request is satisfied