Skip to content

What is window.__GITBOOK_INITIAL_PROPS__ ? #286

Discussion options

You must be logged in to vote

This value is used to pass the data our frontend code requires to run and render the content.

The reason why it's displayed as random characters, it's because it's compressed using lz-string.
You can, for example copy this string and paste it in a script with lz-string to see what's inside

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@atelog
Comment options

Answer selected by atelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants