Module

WebExtension.Polyfill

Package
purescript-webextension-polyfill
Repository
rowtype-yoga/purescript-webextension-polyfill

#browserImpl Source

#LocalStorage Source

#removeFromLocalStorageImpl Source

#loadFromLocalStorage Source

#saveInLocalStorage Source

#removeFromLocalStorage Source

#Port Source

data Port

#sendMessageViaPort Source

sendMessageViaPort :: forall msg. WriteForeign msg => msg -> Port -> Effect Unit

#addOnPortMessageListener Source

#onContentScriptConnectedImpl Source

#onContentScriptConnected Source

#ConnectOptions Source

type ConnectOptions :: Row Typetype ConnectOptions = (name :: String)

#connectToBackgroundScriptImpl Source

#connectToBackgroundScript Source

connectToBackgroundScript :: forall opts missing. Union opts missing ConnectOptions => Record opts -> Effect Port

#openNewWindowImpl Source

openNewWindowImpl :: forall opts. Record opts -> Effect Unit

#openNewWindow Source

openNewWindow :: forall opts. Record opts -> Effect Unit

#BrowserHistory Source

#HistoryItem Source

type HistoryItem = { id :: String, lastVisitTime :: Maybe Number, title :: Maybe String, url :: Maybe String, visitCount :: Maybe Int }