{"action":"opened","issue":{"url":"https://api.github.com/repos/sgimeno/pagediff-extension/issues/1","labels_url":"https://api.github.com/repos/sgimeno/pagediff-extension/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/sgimeno/pagediff-extension/issues/1/comments","events_url":"https://api.github.com/repos/sgimeno/pagediff-extension/issues/1/events","html_url":"https://github.com/sgimeno/pagediff-extension/issues/1","id":122940455,"number":1,"title":"Preserve on reload","user":{"login":"sgimeno","id":946661,"avatar_url":"https://avatars.githubusercontent.com/u/946661?v=3","gravatar_id":"","url":"https://api.github.com/users/sgimeno","html_url":"https://github.com/sgimeno","followers_url":"https://api.github.com/users/sgimeno/followers","following_url":"https://api.github.com/users/sgimeno/following{/other_user}","gists_url":"https://api.github.com/users/sgimeno/gists{/gist_id}","starred_url":"https://api.github.com/users/sgimeno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgimeno/subscriptions","organizations_url":"https://api.github.com/users/sgimeno/orgs","repos_url":"https://api.github.com/users/sgimeno/repos","events_url":"https://api.github.com/users/sgimeno/events{/privacy}","received_events_url":"https://api.github.com/users/sgimeno/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-18T12:27:24Z","updated_at":"2015-12-18T12:27:24Z","closed_at":null,"body":"For the sake of user experience it is needed to preserve the picture loaded when page is reloaded.\r\n\r\nThe main steps to achieve the functionality are:\r\n\r\n1. Read checkbox value from the popup\r\n2. Store it in localStorage\r\n3. Read localStorage value on popup startup\r\n4. Render checkbox value in popup\r\n5. Send message to content script to inject the image"}}