Context reader

Read generic metadata about the current page context

by @pixiebrix

How to Use

The Context reader brick takes no input, but allows you to choose a target tab(s), by default being the current tab. This grabs the URL open in that tab and a timestamp of when it was ran to be used by other bricks.

Use Case

  • Use this brick in conjunction with other bricks that require to grab the title of the page or the timestamp

Inputs

Name Required Type Description
No inputs for this brick defined.

Outputs

Name Required Type Description
url string The current URL
title string The current title
isFrame boolean Whether the document is in an inline frame
timestamp string The current time in ISO format

Related Tags