{"action":"opened","number":35,"pull_request":{"url":"https://api.github.com/repos/privly/privly-safari/pulls/35","id":40300700,"html_url":"https://github.com/privly/privly-safari/pull/35","diff_url":"https://github.com/privly/privly-safari/pull/35.diff","patch_url":"https://github.com/privly/privly-safari/pull/35.patch","issue_url":"https://api.github.com/repos/privly/privly-safari/issues/35","number":35,"state":"open","locked":false,"title":"Make option changes in background page","user":{"login":"sammyshj","id":4390022,"avatar_url":"https://avatars.githubusercontent.com/u/4390022?v=3","gravatar_id":"","url":"https://api.github.com/users/sammyshj","html_url":"https://github.com/sammyshj","followers_url":"https://api.github.com/users/sammyshj/followers","following_url":"https://api.github.com/users/sammyshj/following{/other_user}","gists_url":"https://api.github.com/users/sammyshj/gists{/gist_id}","starred_url":"https://api.github.com/users/sammyshj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sammyshj/subscriptions","organizations_url":"https://api.github.com/users/sammyshj/orgs","repos_url":"https://api.github.com/users/sammyshj/repos","events_url":"https://api.github.com/users/sammyshj/events{/privacy}","received_events_url":"https://api.github.com/users/sammyshj/received_events","type":"User","site_admin":false},"body":"**Changes made in the PR:**\r\nBoth the background page and the `PRIVLY_APPLICATION` pages have a different localStorage. Thus, if any changes are made in the `PRIVLY_APPLICATION` pages, a message is sent to the background page with the changes. Hence, the same changes need to be made in the background page too by parsing the message.\r\nThe option changes that are supported are:\r\n* options/privlyButton\r\n* options/injection\r\n* options/whitelist/domains\r\n* options/whitelist/regexp\r\n* options/contentServer/url\r\n* options/glyph","created_at":"2015-07-19T00:04:57Z","updated_at":"2015-07-19T00:04:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fd39e78c5f32ffe7584f774325b0527a81db2510","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/privly/privly-safari/pulls/35/commits","review_comments_url":"https://api.github.com/repos/privly/privly-safari/pulls/35/comments","review_comment_url":"https://api.github.com/repos/privly/privly-safari/pulls/comments{/number}","comments_url":"https://api.github.com/repos/privly/privly-safari/issues/35/comments","statuses_url":"https://api.github.com/repos/privly/privly-safari/statuses/9b1b90c37fad6ab66a45e81813d2cd319e1e374c","head":{"label":"sammyshj:safariadapter","ref":"safariadapter","sha":"9b1b90c37fad6ab66a45e81813d2cd319e1e374c","user":{"login":"sammyshj","id":4390022,"avatar_url":"https://avatars.githubusercontent.com/u/4390022?v=3","gravatar_id":"","url":"https://api.github.com/users/sammyshj","html_url":"https://github.com/sammyshj","followers_url":"https://api.github.com/users/sammyshj/followers","following_url":"https://api.github.com/users/sammyshj/following{/other_user}","gists_url":"https://api.github.com/users/sammyshj/gists{/gist_id}","starred_url":"https://api.github.com/users/sammyshj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sammyshj/subscriptions","organizations_url":"https://api.github.com/users/sammyshj/orgs","repos_url":"https://api.github.com/users/sammyshj/repos","events_url":"https://api.github.com/users/sammyshj/events{/privacy}","received_events_url":"https://api.github.com/users/sammyshj/received_events","type":"User","site_admin":false},"repo":{"id":31713080,"name":"privly-safari","full_name":"sammyshj/privly-safari","owner":{"login":"sammyshj","id":4390022,"avatar_url":"https://avatars.githubusercontent.com/u/4390022?v=3","gravatar_id":"","url":"https://api.github.com/users/sammyshj","html_url":"https://github.com/sammyshj","followers_url":"https://api.github.com/users/sammyshj/followers","following_url":"https://api.github.com/users/sammyshj/following{/other_user}","gists_url":"https://api.github.com/users/sammyshj/gists{/gist_id}","starred_url":"https://api.github.com/users/sammyshj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sammyshj/subscriptions","organizations_url":"https://api.github.com/users/sammyshj/orgs","repos_url":"https://api.github.com/users/sammyshj/repos","events_url":"https://api.github.com/users/sammyshj/events{/privacy}","received_events_url":"https://api.github.com/users/sammyshj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sammyshj/privly-safari","description":"Official Safari Browser Extension","fork":true,"url":"https://api.github.com/repos/sammyshj/privly-safari","forks_url":"https://api.github.com/repos/sammyshj/privly-safari/forks","keys_url":"https://api.github.com/repos/sammyshj/privly-safari/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sammyshj/privly-safari/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sammyshj/privly-safari/teams","hooks_url":"https://api.github.com/repos/sammyshj/privly-safari/hooks","issue_events_url":"https://api.github.com/repos/sammyshj/privly-safari/issues/events{/number}","events_url":"https://api.github.com/repos/sammyshj/privly-safari/events","assignees_url":"https://api.github.com/repos/sammyshj/privly-safari/assignees{/user}","branches_url":"https://api.github.com/repos/sammyshj/privly-safari/branches{/branch}","tags_url":"https://api.github.com/repos/sammyshj/privly-safari/tags","blobs_url":"https://api.github.com/repos/sammyshj/privly-safari/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sammyshj/privly-safari/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sammyshj/privly-safari/git/refs{/sha}","trees_url":"https://api.github.com/repos/sammyshj/privly-safari/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sammyshj/privly-safari/statuses/{sha}","languages_url":"https://api.github.com/repos/sammyshj/privly-safari/languages","stargazers_url":"https://api.github.com/repos/sammyshj/privly-safari/stargazers","contributors_url":"https://api.github.com/repos/sammyshj/privly-safari/contributors","subscribers_url":"https://api.github.com/repos/sammyshj/privly-safari/subscribers","subscription_url":"https://api.github.com/repos/sammyshj/privly-safari/subscription","commits_url":"https://api.github.com/repos/sammyshj/privly-safari/commits{/sha}","git_commits_url":"https://api.github.com/repos/sammyshj/privly-safari/git/commits{/sha}","comments_url":"https://api.github.com/repos/sammyshj/privly-safari/comments{/number}","issue_comment_url":"https://api.github.com/repos/sammyshj/privly-safari/issues/comments{/number}","contents_url":"https://api.github.com/repos/sammyshj/privly-safari/contents/{+path}","compare_url":"https://api.github.com/repos/sammyshj/privly-safari/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sammyshj/privly-safari/merges","archive_url":"https://api.github.com/repos/sammyshj/privly-safari/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sammyshj/privly-safari/downloads","issues_url":"https://api.github.com/repos/sammyshj/privly-safari/issues{/number}","pulls_url":"https://api.github.com/repos/sammyshj/privly-safari/pulls{/number}","milestones_url":"https://api.github.com/repos/sammyshj/privly-safari/milestones{/number}","notifications_url":"https://api.github.com/repos/sammyshj/privly-safari/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sammyshj/privly-safari/labels{/name}","releases_url":"https://api.github.com/repos/sammyshj/privly-safari/releases{/id}","created_at":"2015-03-05T12:39:43Z","updated_at":"2015-04-27T23:41:32Z","pushed_at":"2015-07-19T00:02:20Z","git_url":"git://github.com/sammyshj/privly-safari.git","ssh_url":"git@github.com:sammyshj/privly-safari.git","clone_url":"https://github.com/sammyshj/privly-safari.git","svn_url":"https://github.com/sammyshj/privly-safari","homepage":"https://priv.ly","size":1045,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"privly:master","ref":"master","sha":"6ce4de38dc3e45d95b61e12ccfc9b3cfad9d178a","user":{"login":"privly","id":1761186,"avatar_url":"https://avatars.githubusercontent.com/u/1761186?v=3","gravatar_id":"","url":"https://api.github.com/users/privly","html_url":"https://github.com/privly","followers_url":"https://api.github.com/users/privly/followers","following_url":"https://api.github.com/users/privly/following{/other_user}","gists_url":"https://api.github.com/users/privly/gists{/gist_id}","starred_url":"https://api.github.com/users/privly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/privly/subscriptions","organizations_url":"https://api.github.com/users/privly/orgs","repos_url":"https://api.github.com/users/privly/repos","events_url":"https://api.github.com/users/privly/events{/privacy}","received_events_url":"https://api.github.com/users/privly/received_events","type":"Organization","site_admin":false},"repo":{"id":3260595,"name":"privly-safari","full_name":"privly/privly-safari","owner":{"login":"privly","id":1761186,"avatar_url":"https://avatars.githubusercontent.com/u/1761186?v=3","gravatar_id":"","url":"https://api.github.com/users/privly","html_url":"https://github.com/privly","followers_url":"https://api.github.com/users/privly/followers","following_url":"https://api.github.com/users/privly/following{/other_user}","gists_url":"https://api.github.com/users/privly/gists{/gist_id}","starred_url":"https://api.github.com/users/privly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/privly/subscriptions","organizations_url":"https://api.github.com/users/privly/orgs","repos_url":"https://api.github.com/users/privly/repos","events_url":"https://api.github.com/users/privly/events{/privacy}","received_events_url":"https://api.github.com/users/privly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/privly/privly-safari","description":"Official Safari Browser Extension","fork":false,"url":"https://api.github.com/repos/privly/privly-safari","forks_url":"https://api.github.com/repos/privly/privly-safari/forks","keys_url":"https://api.github.com/repos/privly/privly-safari/keys{/key_id}","collaborators_url":"https://api.github.com/repos/privly/privly-safari/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/privly/privly-safari/teams","hooks_url":"https://api.github.com/repos/privly/privly-safari/hooks","issue_events_url":"https://api.github.com/repos/privly/privly-safari/issues/events{/number}","events_url":"https://api.github.com/repos/privly/privly-safari/events","assignees_url":"https://api.github.com/repos/privly/privly-safari/assignees{/user}","branches_url":"https://api.github.com/repos/privly/privly-safari/branches{/branch}","tags_url":"https://api.github.com/repos/privly/privly-safari/tags","blobs_url":"https://api.github.com/repos/privly/privly-safari/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/privly/privly-safari/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/privly/privly-safari/git/refs{/sha}","trees_url":"https://api.github.com/repos/privly/privly-safari/git/trees{/sha}","statuses_url":"https://api.github.com/repos/privly/privly-safari/statuses/{sha}","languages_url":"https://api.github.com/repos/privly/privly-safari/languages","stargazers_url":"https://api.github.com/repos/privly/privly-safari/stargazers","contributors_url":"https://api.github.com/repos/privly/privly-safari/contributors","subscribers_url":"https://api.github.com/repos/privly/privly-safari/subscribers","subscription_url":"https://api.github.com/repos/privly/privly-safari/subscription","commits_url":"https://api.github.com/repos/privly/privly-safari/commits{/sha}","git_commits_url":"https://api.github.com/repos/privly/privly-safari/git/commits{/sha}","comments_url":"https://api.github.com/repos/privly/privly-safari/comments{/number}","issue_comment_url":"https://api.github.com/repos/privly/privly-safari/issues/comments{/number}","contents_url":"https://api.github.com/repos/privly/privly-safari/contents/{+path}","compare_url":"https://api.github.com/repos/privly/privly-safari/compare/{base}...{head}","merges_url":"https://api.github.com/repos/privly/privly-safari/merges","archive_url":"https://api.github.com/repos/privly/privly-safari/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/privly/privly-safari/downloads","issues_url":"https://api.github.com/repos/privly/privly-safari/issues{/number}","pulls_url":"https://api.github.com/repos/privly/privly-safari/pulls{/number}","milestones_url":"https://api.github.com/repos/privly/privly-safari/milestones{/number}","notifications_url":"https://api.github.com/repos/privly/privly-safari/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/privly/privly-safari/labels{/name}","releases_url":"https://api.github.com/repos/privly/privly-safari/releases{/id}","created_at":"2012-01-24T22:48:35Z","updated_at":"2015-07-13T18:45:49Z","pushed_at":"2015-07-19T00:04:57Z","git_url":"git://github.com/privly/privly-safari.git","ssh_url":"git@github.com:privly/privly-safari.git","clone_url":"https://github.com/privly/privly-safari.git","svn_url":"https://github.com/privly/privly-safari","homepage":"https://priv.ly","size":3039,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":5,"forks":4,"open_issues":5,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/privly/privly-safari/pulls/35"},"html":{"href":"https://github.com/privly/privly-safari/pull/35"},"issue":{"href":"https://api.github.com/repos/privly/privly-safari/issues/35"},"comments":{"href":"https://api.github.com/repos/privly/privly-safari/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/privly/privly-safari/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/privly/privly-safari/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/privly/privly-safari/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/privly/privly-safari/statuses/9b1b90c37fad6ab66a45e81813d2cd319e1e374c"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":32,"deletions":1,"changed_files":3}}