{"action":"created","issue":{"url":"https://api.github.com/repos/firasdib/Regex101/issues/206","labels_url":"https://api.github.com/repos/firasdib/Regex101/issues/206/labels{/name}","comments_url":"https://api.github.com/repos/firasdib/Regex101/issues/206/comments","events_url":"https://api.github.com/repos/firasdib/Regex101/issues/206/events","html_url":"https://github.com/firasdib/Regex101/issues/206","id":53535365,"number":206,"title":"Save current regex when exiting the website, restore when you come back","user":{"login":"Jakobud","id":87356,"avatar_url":"https://avatars.githubusercontent.com/u/87356?v=3","gravatar_id":"","url":"https://api.github.com/users/Jakobud","html_url":"https://github.com/Jakobud","followers_url":"https://api.github.com/users/Jakobud/followers","following_url":"https://api.github.com/users/Jakobud/following{/other_user}","gists_url":"https://api.github.com/users/Jakobud/gists{/gist_id}","starred_url":"https://api.github.com/users/Jakobud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jakobud/subscriptions","organizations_url":"https://api.github.com/users/Jakobud/orgs","repos_url":"https://api.github.com/users/Jakobud/repos","events_url":"https://api.github.com/users/Jakobud/events{/privacy}","received_events_url":"https://api.github.com/users/Jakobud/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/firasdib/Regex101/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/firasdib/Regex101/labels/looking%20into","name":"looking into","color":"159818"},{"url":"https://api.github.com/repos/firasdib/Regex101/labels/low%20prio","name":"low prio","color":"5319e7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-06T16:52:40Z","updated_at":"2015-03-22T17:37:14Z","closed_at":"2015-03-22T17:37:14Z","body":"Make the site so that when you leave the page or close the browser it saves your work (regex, examples, substitutions, etc) and when you come back to the page later, it will automatically local up the last thing you had in there.\r\n\r\nThis would actually be really, really easy with localStorage and a window.onbeforeunload event handler. When In that page, simply save everything to localStorage. Then restore them when you come back to regex101.com later."},"comment":{"url":"https://api.github.com/repos/firasdib/Regex101/issues/comments/84663371","html_url":"https://github.com/firasdib/Regex101/issues/206#issuecomment-84663371","issue_url":"https://api.github.com/repos/firasdib/Regex101/issues/206","id":84663371,"user":{"login":"firasdib","id":1335165,"avatar_url":"https://avatars.githubusercontent.com/u/1335165?v=3","gravatar_id":"","url":"https://api.github.com/users/firasdib","html_url":"https://github.com/firasdib","followers_url":"https://api.github.com/users/firasdib/followers","following_url":"https://api.github.com/users/firasdib/following{/other_user}","gists_url":"https://api.github.com/users/firasdib/gists{/gist_id}","starred_url":"https://api.github.com/users/firasdib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/firasdib/subscriptions","organizations_url":"https://api.github.com/users/firasdib/orgs","repos_url":"https://api.github.com/users/firasdib/repos","events_url":"https://api.github.com/users/firasdib/events{/privacy}","received_events_url":"https://api.github.com/users/firasdib/received_events","type":"User","site_admin":false},"created_at":"2015-03-22T17:37:14Z","updated_at":"2015-03-22T17:37:14Z","body":"I added a little popup to notify you of unsaved changes."}}