Context reader

Read generic metadata about the current page context


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
timestamp string The current time in ISO format

Details

ID @pixiebrix/document-context
Author @pixiebrix
Version 1.7.0
Created Aug. 17, 2021
Updated May 26, 2022

Related Bricks