Snippets/Replace a page's contents with something else

Description
Adds a tab that can be clicked to replace the current page's contents with different text. Released into the public domain. Mostly just a proof-of-concept here.

Code
This code demonstrates how to make nested API calls as well as use tokens.