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 |
- newtype UserScript = UserScript (ForeignPtr UserScript)
- noUserScript :: Maybe UserScript
- userScriptNew :: MonadIO m => Text -> UserContentInjectedFrames -> UserScriptInjectionTime -> Maybe [Text] -> Maybe [Text] -> m UserScript
- data UserScriptRefMethodInfo
- userScriptRef :: MonadIO m => UserScript -> m UserScript
- data UserScriptUnrefMethodInfo
- userScriptUnref :: MonadIO m => UserScript -> m ()
Exported types
newtype UserScript Source
BoxedObject UserScript Source | |
((~) * info (ResolveUserScriptMethod t UserScript), MethodInfo * info UserScript p) => IsLabel t (UserScript -> p) Source | |
((~) * info (ResolveUserScriptMethod t UserScript), MethodInfo * info UserScript p) => IsLabelProxy t (UserScript -> p) Source | |
((~) (TYPE Lifted) signature (m ()), MonadIO m) => MethodInfo (TYPE Lifted) UserScriptUnrefMethodInfo UserScript signature Source | |
((~) (TYPE Lifted) signature (m UserScript), MonadIO m) => MethodInfo (TYPE Lifted) UserScriptRefMethodInfo UserScript signature Source | |
Methods
userScriptNew
userScriptNew :: MonadIO m => Text -> UserContentInjectedFrames -> UserScriptInjectionTime -> Maybe [Text] -> Maybe [Text] -> m UserScript Source
userScriptRef
data UserScriptRefMethodInfo Source
((~) (TYPE Lifted) signature (m UserScript), MonadIO m) => MethodInfo (TYPE Lifted) UserScriptRefMethodInfo UserScript signature Source | |
userScriptRef :: MonadIO m => UserScript -> m UserScript Source
userScriptUnref
data UserScriptUnrefMethodInfo Source
((~) (TYPE Lifted) signature (m ()), MonadIO m) => MethodInfo (TYPE Lifted) UserScriptUnrefMethodInfo UserScript signature Source | |
userScriptUnref :: MonadIO m => UserScript -> m () Source