uzbl-with-source-0.1.0.0: Utility function for reading a source of loaded uzbl pages.

Copyright(c) Mateusz Kowalczyk 2014
LicenseGPLv3
Maintainerfuuzetsu@fuuzetsu.co.uk
Stabilityexperimental
Safe HaskellSafe-Inferred
LanguageHaskell2010

Uzbl.WithSource

Description

Deals with retrieving page source from running uzbl instance. Possibly will deal more in the future, such as overwriting the page.

Synopsis

Documentation

getSource :: IO (Maybe String) Source

Retrieves the source code of a currently loaded page in the uzbl browser from the UZBL_SOCKET environmental variable. If the variable is not set, we get back Nothing. If reading from or writing to the socket fails, we also get back Nothing.