Created
April 24, 2021 16:46
-
-
Save nmcclain/f0287605f815b2af690f4d598e8d4631 to your computer and use it in GitHub Desktop.
notion-browser-content.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (var id of window.__console.AppStore.instanceState.currentBlockStore.instanceState.value.content) { | |
for (var entry of Array.from(window.__console.AppStore.instanceState.currentBlockStore.inMemoryRecordCache.cache)) { | |
if (entry[0].startsWith(id)) { | |
console.log(entry[1].value.value); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment