Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "Export save" bookmarklet:
- javascript:(function(){var x=$("<textarea/>");x.text(btoa(localStorage.gameState));$("body").prepend(x);var y=$("<input type=button value=hide>");y.click(function(){x.remove();y.remove()});x.after(y)})();
- Note: You have to use your mouse to right-click-select-all-copy, because the keyboard seems to be restricted in this page.
- "Import save" bookmarklet:
- javascript:(function(){var x=$("<textarea/>");$("body").prepend(x);var y=$("<input type=button value=load>");y.click(function(){localStorage.gameState=atob(x.val());location.reload()});x.after(y)})();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement