It looks like you're new here. If you want to get involved, click one of these buttons!
$(document).click(function(){ state.history[0].variables.<variablenamehere>=<value> });but i would like to know how deep i can go before i actually need to edit the source code of the story using only JavaScript to create additional passages. The reason i dont want to edit the original story is because this extension is going to be developed separately and im hoping to package it up into something like a javascript bookmarklet that can be run at the beginning of the story to add the extension to it.
Comments
sorry for all the weird html escaping it was how i had to put it in the chrome javascript dev console