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

Stabilityexperimental
Maintainerfuuzetsu@fuuzetsu.co.uk
Safe HaskellSafe-Inferred

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.