Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- Exported types
- Methods
- webContextAllowTlsCertificateForHost
- webContextClearCache
- webContextDownloadUri
- webContextGetCacheModel
- webContextGetCookieManager
- webContextGetDefault
- webContextGetFaviconDatabase
- webContextGetFaviconDatabaseDirectory
- webContextGetPlugins
- webContextGetPluginsFinish
- webContextGetProcessModel
- webContextGetSecurityManager
- webContextGetSpellCheckingEnabled
- webContextGetSpellCheckingLanguages
- webContextGetTlsErrorsPolicy
- webContextGetWebProcessCountLimit
- webContextGetWebsiteDataManager
- webContextNew
- webContextNewWithWebsiteDataManager
- webContextPrefetchDns
- webContextRegisterUriScheme
- webContextSetAdditionalPluginsDirectory
- webContextSetCacheModel
- webContextSetDiskCacheDirectory
- webContextSetFaviconDatabaseDirectory
- webContextSetPreferredLanguages
- webContextSetProcessModel
- webContextSetSpellCheckingEnabled
- webContextSetSpellCheckingLanguages
- webContextSetTlsErrorsPolicy
- webContextSetWebExtensionsDirectory
- webContextSetWebExtensionsInitializationUserData
- webContextSetWebProcessCountLimit
- Properties
- Signals
- newtype WebContext = WebContext (ForeignPtr WebContext)
- class GObject o => WebContextK o
- toWebContext :: WebContextK o => o -> IO WebContext
- noWebContext :: Maybe WebContext
- data WebContextAllowTlsCertificateForHostMethodInfo
- webContextAllowTlsCertificateForHost :: (MonadIO m, WebContextK a, TlsCertificateK b) => a -> b -> Text -> m ()
- data WebContextClearCacheMethodInfo
- webContextClearCache :: (MonadIO m, WebContextK a) => a -> m ()
- data WebContextDownloadUriMethodInfo
- webContextDownloadUri :: (MonadIO m, WebContextK a) => a -> Text -> m Download
- data WebContextGetCacheModelMethodInfo
- webContextGetCacheModel :: (MonadIO m, WebContextK a) => a -> m CacheModel
- data WebContextGetCookieManagerMethodInfo
- webContextGetCookieManager :: (MonadIO m, WebContextK a) => a -> m CookieManager
- webContextGetDefault :: MonadIO m => m WebContext
- data WebContextGetFaviconDatabaseMethodInfo
- webContextGetFaviconDatabase :: (MonadIO m, WebContextK a) => a -> m FaviconDatabase
- data WebContextGetFaviconDatabaseDirectoryMethodInfo
- webContextGetFaviconDatabaseDirectory :: (MonadIO m, WebContextK a) => a -> m Text
- data WebContextGetPluginsMethodInfo
- webContextGetPlugins :: (MonadIO m, WebContextK a, CancellableK b) => a -> Maybe b -> Maybe AsyncReadyCallback -> m ()
- data WebContextGetPluginsFinishMethodInfo
- webContextGetPluginsFinish :: (MonadIO m, WebContextK a, AsyncResultK b) => a -> b -> m [Plugin]
- data WebContextGetProcessModelMethodInfo
- webContextGetProcessModel :: (MonadIO m, WebContextK a) => a -> m ProcessModel
- data WebContextGetSecurityManagerMethodInfo
- webContextGetSecurityManager :: (MonadIO m, WebContextK a) => a -> m SecurityManager
- data WebContextGetSpellCheckingEnabledMethodInfo
- webContextGetSpellCheckingEnabled :: (MonadIO m, WebContextK a) => a -> m Bool
- data WebContextGetSpellCheckingLanguagesMethodInfo
- webContextGetSpellCheckingLanguages :: (MonadIO m, WebContextK a) => a -> m [Text]
- data WebContextGetTlsErrorsPolicyMethodInfo
- webContextGetTlsErrorsPolicy :: (MonadIO m, WebContextK a) => a -> m TLSErrorsPolicy
- data WebContextGetWebProcessCountLimitMethodInfo
- webContextGetWebProcessCountLimit :: (MonadIO m, WebContextK a) => a -> m Word32
- data WebContextGetWebsiteDataManagerMethodInfo
- webContextGetWebsiteDataManager :: (MonadIO m, WebContextK a) => a -> m WebsiteDataManager
- webContextNew :: MonadIO m => m WebContext
- webContextNewWithWebsiteDataManager :: (MonadIO m, WebsiteDataManagerK a) => a -> m WebContext
- data WebContextPrefetchDnsMethodInfo
- webContextPrefetchDns :: (MonadIO m, WebContextK a) => a -> Text -> m ()
- data WebContextRegisterUriSchemeMethodInfo
- webContextRegisterUriScheme :: (MonadIO m, WebContextK a) => a -> Text -> URISchemeRequestCallback -> m ()
- data WebContextSetAdditionalPluginsDirectoryMethodInfo
- webContextSetAdditionalPluginsDirectory :: (MonadIO m, WebContextK a) => a -> Text -> m ()
- data WebContextSetCacheModelMethodInfo
- webContextSetCacheModel :: (MonadIO m, WebContextK a) => a -> CacheModel -> m ()
- data WebContextSetDiskCacheDirectoryMethodInfo
- webContextSetDiskCacheDirectory :: (MonadIO m, WebContextK a) => a -> Text -> m ()
- data WebContextSetFaviconDatabaseDirectoryMethodInfo
- webContextSetFaviconDatabaseDirectory :: (MonadIO m, WebContextK a) => a -> Maybe Text -> m ()
- data WebContextSetPreferredLanguagesMethodInfo
- webContextSetPreferredLanguages :: (MonadIO m, WebContextK a) => a -> Maybe [Text] -> m ()
- data WebContextSetProcessModelMethodInfo
- webContextSetProcessModel :: (MonadIO m, WebContextK a) => a -> ProcessModel -> m ()
- data WebContextSetSpellCheckingEnabledMethodInfo
- webContextSetSpellCheckingEnabled :: (MonadIO m, WebContextK a) => a -> Bool -> m ()
- data WebContextSetSpellCheckingLanguagesMethodInfo
- webContextSetSpellCheckingLanguages :: (MonadIO m, WebContextK a) => a -> [Text] -> m ()
- data WebContextSetTlsErrorsPolicyMethodInfo
- webContextSetTlsErrorsPolicy :: (MonadIO m, WebContextK a) => a -> TLSErrorsPolicy -> m ()
- data WebContextSetWebExtensionsDirectoryMethodInfo
- webContextSetWebExtensionsDirectory :: (MonadIO m, WebContextK a) => a -> Text -> m ()
- data WebContextSetWebExtensionsInitializationUserDataMethodInfo
- webContextSetWebExtensionsInitializationUserData :: (MonadIO m, WebContextK a) => a -> GVariant -> m ()
- data WebContextSetWebProcessCountLimitMethodInfo
- webContextSetWebProcessCountLimit :: (MonadIO m, WebContextK a) => a -> Word32 -> m ()
- data WebContextLocalStorageDirectoryPropertyInfo
- constructWebContextLocalStorageDirectory :: Text -> IO ([Char], GValue)
- getWebContextLocalStorageDirectory :: (MonadIO m, WebContextK o) => o -> m (Maybe Text)
- webContextLocalStorageDirectory :: AttrLabelProxy "localStorageDirectory"
- data WebContextWebsiteDataManagerPropertyInfo
- constructWebContextWebsiteDataManager :: WebsiteDataManagerK a => a -> IO ([Char], GValue)
- getWebContextWebsiteDataManager :: (MonadIO m, WebContextK o) => o -> m WebsiteDataManager
- webContextWebsiteDataManager :: AttrLabelProxy "websiteDataManager"
- type WebContextDownloadStartedCallback = Download -> IO ()
- type WebContextDownloadStartedCallbackC = Ptr () -> Ptr Download -> Ptr () -> IO ()
- data WebContextDownloadStartedSignalInfo
- afterWebContextDownloadStarted :: (GObject a, MonadIO m) => a -> WebContextDownloadStartedCallback -> m SignalHandlerId
- mkWebContextDownloadStartedCallback :: WebContextDownloadStartedCallbackC -> IO (FunPtr WebContextDownloadStartedCallbackC)
- noWebContextDownloadStartedCallback :: Maybe WebContextDownloadStartedCallback
- onWebContextDownloadStarted :: (GObject a, MonadIO m) => a -> WebContextDownloadStartedCallback -> m SignalHandlerId
- webContextDownloadStartedCallbackWrapper :: WebContextDownloadStartedCallback -> Ptr () -> Ptr Download -> Ptr () -> IO ()
- webContextDownloadStartedClosure :: WebContextDownloadStartedCallback -> IO Closure
- type WebContextInitializeWebExtensionsCallback = IO ()
- type WebContextInitializeWebExtensionsCallbackC = Ptr () -> Ptr () -> IO ()
- data WebContextInitializeWebExtensionsSignalInfo
- afterWebContextInitializeWebExtensions :: (GObject a, MonadIO m) => a -> WebContextInitializeWebExtensionsCallback -> m SignalHandlerId
- mkWebContextInitializeWebExtensionsCallback :: WebContextInitializeWebExtensionsCallbackC -> IO (FunPtr WebContextInitializeWebExtensionsCallbackC)
- noWebContextInitializeWebExtensionsCallback :: Maybe WebContextInitializeWebExtensionsCallback
- onWebContextInitializeWebExtensions :: (GObject a, MonadIO m) => a -> WebContextInitializeWebExtensionsCallback -> m SignalHandlerId
- webContextInitializeWebExtensionsCallbackWrapper :: WebContextInitializeWebExtensionsCallback -> Ptr () -> Ptr () -> IO ()
- webContextInitializeWebExtensionsClosure :: WebContextInitializeWebExtensionsCallback -> IO Closure
Exported types
newtype WebContext Source
GObject WebContext | |
((~) * info (ResolveWebContextMethod t WebContext), MethodInfo * info WebContext p) => IsLabelProxy t (WebContext -> p) | |
type ParentTypes WebContext | |
type AttributeList WebContext | |
type SignalList WebContext |
class GObject o => WebContextK o Source
(GObject o, IsDescendantOf WebContext o) => WebContextK o |
toWebContext :: WebContextK o => o -> IO WebContext Source
Methods
webContextAllowTlsCertificateForHost
data WebContextAllowTlsCertificateForHostMethodInfo Source
((~) * signature (b -> Text -> m ()), MonadIO m, WebContextK a, TlsCertificateK b) => MethodInfo * WebContextAllowTlsCertificateForHostMethodInfo a signature |
webContextAllowTlsCertificateForHost :: (MonadIO m, WebContextK a, TlsCertificateK b) => a -> b -> Text -> m () Source
webContextClearCache
data WebContextClearCacheMethodInfo Source
((~) * signature (m ()), MonadIO m, WebContextK a) => MethodInfo * WebContextClearCacheMethodInfo a signature |
webContextClearCache :: (MonadIO m, WebContextK a) => a -> m () Source
webContextDownloadUri
data WebContextDownloadUriMethodInfo Source
((~) * signature (Text -> m Download), MonadIO m, WebContextK a) => MethodInfo * WebContextDownloadUriMethodInfo a signature |
webContextDownloadUri :: (MonadIO m, WebContextK a) => a -> Text -> m Download Source
webContextGetCacheModel
data WebContextGetCacheModelMethodInfo Source
((~) * signature (m CacheModel), MonadIO m, WebContextK a) => MethodInfo * WebContextGetCacheModelMethodInfo a signature |
webContextGetCacheModel :: (MonadIO m, WebContextK a) => a -> m CacheModel Source
webContextGetCookieManager
data WebContextGetCookieManagerMethodInfo Source
((~) * signature (m CookieManager), MonadIO m, WebContextK a) => MethodInfo * WebContextGetCookieManagerMethodInfo a signature |
webContextGetCookieManager :: (MonadIO m, WebContextK a) => a -> m CookieManager Source
webContextGetDefault
webContextGetDefault :: MonadIO m => m WebContext Source
webContextGetFaviconDatabase
data WebContextGetFaviconDatabaseMethodInfo Source
((~) * signature (m FaviconDatabase), MonadIO m, WebContextK a) => MethodInfo * WebContextGetFaviconDatabaseMethodInfo a signature |
webContextGetFaviconDatabase :: (MonadIO m, WebContextK a) => a -> m FaviconDatabase Source
webContextGetFaviconDatabaseDirectory
data WebContextGetFaviconDatabaseDirectoryMethodInfo Source
((~) * signature (m Text), MonadIO m, WebContextK a) => MethodInfo * WebContextGetFaviconDatabaseDirectoryMethodInfo a signature |
webContextGetFaviconDatabaseDirectory :: (MonadIO m, WebContextK a) => a -> m Text Source
webContextGetPlugins
data WebContextGetPluginsMethodInfo Source
((~) * signature (Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, WebContextK a, CancellableK b) => MethodInfo * WebContextGetPluginsMethodInfo a signature |
webContextGetPlugins :: (MonadIO m, WebContextK a, CancellableK b) => a -> Maybe b -> Maybe AsyncReadyCallback -> m () Source
webContextGetPluginsFinish
data WebContextGetPluginsFinishMethodInfo Source
((~) * signature (b -> m [Plugin]), MonadIO m, WebContextK a, AsyncResultK b) => MethodInfo * WebContextGetPluginsFinishMethodInfo a signature |
webContextGetPluginsFinish :: (MonadIO m, WebContextK a, AsyncResultK b) => a -> b -> m [Plugin] Source
webContextGetProcessModel
data WebContextGetProcessModelMethodInfo Source
((~) * signature (m ProcessModel), MonadIO m, WebContextK a) => MethodInfo * WebContextGetProcessModelMethodInfo a signature |
webContextGetProcessModel :: (MonadIO m, WebContextK a) => a -> m ProcessModel Source
webContextGetSecurityManager
data WebContextGetSecurityManagerMethodInfo Source
((~) * signature (m SecurityManager), MonadIO m, WebContextK a) => MethodInfo * WebContextGetSecurityManagerMethodInfo a signature |
webContextGetSecurityManager :: (MonadIO m, WebContextK a) => a -> m SecurityManager Source
webContextGetSpellCheckingEnabled
data WebContextGetSpellCheckingEnabledMethodInfo Source
((~) * signature (m Bool), MonadIO m, WebContextK a) => MethodInfo * WebContextGetSpellCheckingEnabledMethodInfo a signature |
webContextGetSpellCheckingEnabled :: (MonadIO m, WebContextK a) => a -> m Bool Source
webContextGetSpellCheckingLanguages
data WebContextGetSpellCheckingLanguagesMethodInfo Source
((~) * signature (m [Text]), MonadIO m, WebContextK a) => MethodInfo * WebContextGetSpellCheckingLanguagesMethodInfo a signature |
webContextGetSpellCheckingLanguages :: (MonadIO m, WebContextK a) => a -> m [Text] Source
webContextGetTlsErrorsPolicy
data WebContextGetTlsErrorsPolicyMethodInfo Source
((~) * signature (m TLSErrorsPolicy), MonadIO m, WebContextK a) => MethodInfo * WebContextGetTlsErrorsPolicyMethodInfo a signature |
webContextGetTlsErrorsPolicy :: (MonadIO m, WebContextK a) => a -> m TLSErrorsPolicy Source
webContextGetWebProcessCountLimit
data WebContextGetWebProcessCountLimitMethodInfo Source
((~) * signature (m Word32), MonadIO m, WebContextK a) => MethodInfo * WebContextGetWebProcessCountLimitMethodInfo a signature |
webContextGetWebProcessCountLimit :: (MonadIO m, WebContextK a) => a -> m Word32 Source
webContextGetWebsiteDataManager
data WebContextGetWebsiteDataManagerMethodInfo Source
((~) * signature (m WebsiteDataManager), MonadIO m, WebContextK a) => MethodInfo * WebContextGetWebsiteDataManagerMethodInfo a signature |
webContextGetWebsiteDataManager :: (MonadIO m, WebContextK a) => a -> m WebsiteDataManager Source
webContextNew
webContextNew :: MonadIO m => m WebContext Source
webContextNewWithWebsiteDataManager
webContextNewWithWebsiteDataManager :: (MonadIO m, WebsiteDataManagerK a) => a -> m WebContext Source
webContextPrefetchDns
data WebContextPrefetchDnsMethodInfo Source
((~) * signature (Text -> m ()), MonadIO m, WebContextK a) => MethodInfo * WebContextPrefetchDnsMethodInfo a signature |
webContextPrefetchDns :: (MonadIO m, WebContextK a) => a -> Text -> m () Source
webContextRegisterUriScheme
data WebContextRegisterUriSchemeMethodInfo Source
((~) * signature (Text -> URISchemeRequestCallback -> m ()), MonadIO m, WebContextK a) => MethodInfo * WebContextRegisterUriSchemeMethodInfo a signature |
webContextRegisterUriScheme :: (MonadIO m, WebContextK a) => a -> Text -> URISchemeRequestCallback -> m () Source
webContextSetAdditionalPluginsDirectory
data WebContextSetAdditionalPluginsDirectoryMethodInfo Source
((~) * signature (Text -> m ()), MonadIO m, WebContextK a) => MethodInfo * WebContextSetAdditionalPluginsDirectoryMethodInfo a signature |
webContextSetAdditionalPluginsDirectory :: (MonadIO m, WebContextK a) => a -> Text -> m () Source
webContextSetCacheModel
data WebContextSetCacheModelMethodInfo Source
((~) * signature (CacheModel -> m ()), MonadIO m, WebContextK a) => MethodInfo * WebContextSetCacheModelMethodInfo a signature |
webContextSetCacheModel :: (MonadIO m, WebContextK a) => a -> CacheModel -> m () Source
webContextSetDiskCacheDirectory
data WebContextSetDiskCacheDirectoryMethodInfo Source
((~) * signature (Text -> m ()), MonadIO m, WebContextK a) => MethodInfo * WebContextSetDiskCacheDirectoryMethodInfo a signature |
webContextSetDiskCacheDirectory :: (MonadIO m, WebContextK a) => a -> Text -> m () Source
Deprecated: (Since version 2.10.)Use webkit_web_context_new_with_website_data_manager() instead.
webContextSetFaviconDatabaseDirectory
data WebContextSetFaviconDatabaseDirectoryMethodInfo Source
((~) * signature (Maybe Text -> m ()), MonadIO m, WebContextK a) => MethodInfo * WebContextSetFaviconDatabaseDirectoryMethodInfo a signature |
webContextSetFaviconDatabaseDirectory :: (MonadIO m, WebContextK a) => a -> Maybe Text -> m () Source
webContextSetPreferredLanguages
data WebContextSetPreferredLanguagesMethodInfo Source
((~) * signature (Maybe [Text] -> m ()), MonadIO m, WebContextK a) => MethodInfo * WebContextSetPreferredLanguagesMethodInfo a signature |
webContextSetPreferredLanguages :: (MonadIO m, WebContextK a) => a -> Maybe [Text] -> m () Source
webContextSetProcessModel
data WebContextSetProcessModelMethodInfo Source
((~) * signature (ProcessModel -> m ()), MonadIO m, WebContextK a) => MethodInfo * WebContextSetProcessModelMethodInfo a signature |
webContextSetProcessModel :: (MonadIO m, WebContextK a) => a -> ProcessModel -> m () Source
webContextSetSpellCheckingEnabled
data WebContextSetSpellCheckingEnabledMethodInfo Source
((~) * signature (Bool -> m ()), MonadIO m, WebContextK a) => MethodInfo * WebContextSetSpellCheckingEnabledMethodInfo a signature |
webContextSetSpellCheckingEnabled :: (MonadIO m, WebContextK a) => a -> Bool -> m () Source
webContextSetSpellCheckingLanguages
data WebContextSetSpellCheckingLanguagesMethodInfo Source
((~) * signature ([Text] -> m ()), MonadIO m, WebContextK a) => MethodInfo * WebContextSetSpellCheckingLanguagesMethodInfo a signature |
webContextSetSpellCheckingLanguages :: (MonadIO m, WebContextK a) => a -> [Text] -> m () Source
webContextSetTlsErrorsPolicy
data WebContextSetTlsErrorsPolicyMethodInfo Source
((~) * signature (TLSErrorsPolicy -> m ()), MonadIO m, WebContextK a) => MethodInfo * WebContextSetTlsErrorsPolicyMethodInfo a signature |
webContextSetTlsErrorsPolicy :: (MonadIO m, WebContextK a) => a -> TLSErrorsPolicy -> m () Source
webContextSetWebExtensionsDirectory
data WebContextSetWebExtensionsDirectoryMethodInfo Source
((~) * signature (Text -> m ()), MonadIO m, WebContextK a) => MethodInfo * WebContextSetWebExtensionsDirectoryMethodInfo a signature |
webContextSetWebExtensionsDirectory :: (MonadIO m, WebContextK a) => a -> Text -> m () Source
webContextSetWebExtensionsInitializationUserData
data WebContextSetWebExtensionsInitializationUserDataMethodInfo Source
((~) * signature (GVariant -> m ()), MonadIO m, WebContextK a) => MethodInfo * WebContextSetWebExtensionsInitializationUserDataMethodInfo a signature |
webContextSetWebExtensionsInitializationUserData :: (MonadIO m, WebContextK a) => a -> GVariant -> m () Source
webContextSetWebProcessCountLimit
data WebContextSetWebProcessCountLimitMethodInfo Source
((~) * signature (Word32 -> m ()), MonadIO m, WebContextK a) => MethodInfo * WebContextSetWebProcessCountLimitMethodInfo a signature |
webContextSetWebProcessCountLimit :: (MonadIO m, WebContextK a) => a -> Word32 -> m () Source
Properties
LocalStorageDirectory
data WebContextLocalStorageDirectoryPropertyInfo Source
AttrInfo WebContextLocalStorageDirectoryPropertyInfo | |
type AttrLabel WebContextLocalStorageDirectoryPropertyInfo = "local-storage-directory" | |
type AttrGetType WebContextLocalStorageDirectoryPropertyInfo = Maybe Text | |
type AttrBaseTypeConstraint WebContextLocalStorageDirectoryPropertyInfo = WebContextK | |
type AttrSetTypeConstraint WebContextLocalStorageDirectoryPropertyInfo = * ~ Text | |
type AttrAllowedOps WebContextLocalStorageDirectoryPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag))) |
getWebContextLocalStorageDirectory :: (MonadIO m, WebContextK o) => o -> m (Maybe Text) Source
webContextLocalStorageDirectory :: AttrLabelProxy "localStorageDirectory" Source
WebsiteDataManager
data WebContextWebsiteDataManagerPropertyInfo Source
constructWebContextWebsiteDataManager :: WebsiteDataManagerK a => a -> IO ([Char], GValue) Source
getWebContextWebsiteDataManager :: (MonadIO m, WebContextK o) => o -> m WebsiteDataManager Source
webContextWebsiteDataManager :: AttrLabelProxy "websiteDataManager" Source
Signals
DownloadStarted
type WebContextDownloadStartedCallback = Download -> IO () Source
afterWebContextDownloadStarted :: (GObject a, MonadIO m) => a -> WebContextDownloadStartedCallback -> m SignalHandlerId Source
mkWebContextDownloadStartedCallback :: WebContextDownloadStartedCallbackC -> IO (FunPtr WebContextDownloadStartedCallbackC) Source
onWebContextDownloadStarted :: (GObject a, MonadIO m) => a -> WebContextDownloadStartedCallback -> m SignalHandlerId Source
webContextDownloadStartedCallbackWrapper :: WebContextDownloadStartedCallback -> Ptr () -> Ptr Download -> Ptr () -> IO () Source
InitializeWebExtensions
type WebContextInitializeWebExtensionsCallbackC = Ptr () -> Ptr () -> IO () Source
afterWebContextInitializeWebExtensions :: (GObject a, MonadIO m) => a -> WebContextInitializeWebExtensionsCallback -> m SignalHandlerId Source
mkWebContextInitializeWebExtensionsCallback :: WebContextInitializeWebExtensionsCallbackC -> IO (FunPtr WebContextInitializeWebExtensionsCallbackC) Source
noWebContextInitializeWebExtensionsCallback :: Maybe WebContextInitializeWebExtensionsCallback Source
onWebContextInitializeWebExtensions :: (GObject a, MonadIO m) => a -> WebContextInitializeWebExtensionsCallback -> m SignalHandlerId Source
webContextInitializeWebExtensionsCallbackWrapper :: WebContextInitializeWebExtensionsCallback -> Ptr () -> Ptr () -> IO () Source