{"action":"created","comment":{"url":"https://api.github.com/repos/dimotsai/agar-mini-map/pulls/comments/35488906","id":35488906,"diff_hunk":"@@ -95,7 +95,14 @@ window.msgpack = this.msgpack;\n                         }\n                     }\n                     mini_map_party.trigger('update-list');\n-\n+                    break;\n+                case 130:\n+                    if (agar_server != packet.data.url) {\n+                        var region_name = $(\"#region>option[value='\"+packet.data.region+\"']\").text();\n+                        var gamemode_name = $(\"#gamemode>option[value='\"+packet.data.gamemode+\"']\").text();\n+                        alert(\"game server mismatched\\n\\n\" + \"Your game server is:\\n\" + agar_server\n+                            + \"\\n\\nMini-map game server is:\\n\" + packet.data.url + \"\\n\" + region_name + \", \" + gamemode_name + packet.data.party);","path":"agar-mini-map.user.js","position":11,"original_position":11,"commit_id":"dd3a427dccee70b54453e3324a9ce90bfbfdca60","original_commit_id":"dd3a427dccee70b54453e3324a9ce90bfbfdca60","user":{"login":"dimotsai","id":1947580,"avatar_url":"https://avatars.githubusercontent.com/u/1947580?v=3","gravatar_id":"","url":"https://api.github.com/users/dimotsai","html_url":"https://github.com/dimotsai","followers_url":"https://api.github.com/users/dimotsai/followers","following_url":"https://api.github.com/users/dimotsai/following{/other_user}","gists_url":"https://api.github.com/users/dimotsai/gists{/gist_id}","starred_url":"https://api.github.com/users/dimotsai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimotsai/subscriptions","organizations_url":"https://api.github.com/users/dimotsai/orgs","repos_url":"https://api.github.com/users/dimotsai/repos","events_url":"https://api.github.com/users/dimotsai/events{/privacy}","received_events_url":"https://api.github.com/users/dimotsai/received_events","type":"User","site_admin":false},"body":"`alert` will block the javascript engine. Is there other ways showing messages?","created_at":"2015-07-26T03:13:38Z","updated_at":"2015-07-26T03:13:38Z","html_url":"https://github.com/dimotsai/agar-mini-map/pull/20#discussion_r35488906","pull_request_url":"https://api.github.com/repos/dimotsai/agar-mini-map/pulls/20","_links":{"self":{"href":"https://api.github.com/repos/dimotsai/agar-mini-map/pulls/comments/35488906"},"html":{"href":"https://github.com/dimotsai/agar-mini-map/pull/20#discussion_r35488906"},"pull_request":{"href":"https://api.github.com/repos/dimotsai/agar-mini-map/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/dimotsai/agar-mini-map/pulls/20","id":40838007,"html_url":"https://github.com/dimotsai/agar-mini-map/pull/20","diff_url":"https://github.com/dimotsai/agar-mini-map/pull/20.diff","patch_url":"https://github.com/dimotsai/agar-mini-map/pull/20.patch","issue_url":"https://api.github.com/repos/dimotsai/agar-mini-map/issues/20","number":20,"state":"open","locked":false,"title":"Show message when the game server mismatched","user":{"login":"domen111","id":8273087,"avatar_url":"https://avatars.githubusercontent.com/u/8273087?v=3","gravatar_id":"","url":"https://api.github.com/users/domen111","html_url":"https://github.com/domen111","followers_url":"https://api.github.com/users/domen111/followers","following_url":"https://api.github.com/users/domen111/following{/other_user}","gists_url":"https://api.github.com/users/domen111/gists{/gist_id}","starred_url":"https://api.github.com/users/domen111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domen111/subscriptions","organizations_url":"https://api.github.com/users/domen111/orgs","repos_url":"https://api.github.com/users/domen111/repos","events_url":"https://api.github.com/users/domen111/events{/privacy}","received_events_url":"https://api.github.com/users/domen111/received_events","type":"User","site_admin":false},"body":"Tell players the accepted server information. But it still cannot connect to the server automatically.","created_at":"2015-07-25T14:57:00Z","updated_at":"2015-07-26T03:13:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8382e2e9d7c7d5c261e3e881697098c192150900","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dimotsai/agar-mini-map/pulls/20/commits","review_comments_url":"https://api.github.com/repos/dimotsai/agar-mini-map/pulls/20/comments","review_comment_url":"https://api.github.com/repos/dimotsai/agar-mini-map/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dimotsai/agar-mini-map/issues/20/comments","statuses_url":"https://api.github.com/repos/dimotsai/agar-mini-map/statuses/dd3a427dccee70b54453e3324a9ce90bfbfdca60","head":{"label":"domen111:master","ref":"master","sha":"dd3a427dccee70b54453e3324a9ce90bfbfdca60","user":{"login":"domen111","id":8273087,"avatar_url":"https://avatars.githubusercontent.com/u/8273087?v=3","gravatar_id":"","url":"https://api.github.com/users/domen111","html_url":"https://github.com/domen111","followers_url":"https://api.github.com/users/domen111/followers","following_url":"https://api.github.com/users/domen111/following{/other_user}","gists_url":"https://api.github.com/users/domen111/gists{/gist_id}","starred_url":"https://api.github.com/users/domen111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domen111/subscriptions","organizations_url":"https://api.github.com/users/domen111/orgs","repos_url":"https://api.github.com/users/domen111/repos","events_url":"https://api.github.com/users/domen111/events{/privacy}","received_events_url":"https://api.github.com/users/domen111/received_events","type":"User","site_admin":false},"repo":{"id":39147907,"name":"agar-mini-map","full_name":"domen111/agar-mini-map","owner":{"login":"domen111","id":8273087,"avatar_url":"https://avatars.githubusercontent.com/u/8273087?v=3","gravatar_id":"","url":"https://api.github.com/users/domen111","html_url":"https://github.com/domen111","followers_url":"https://api.github.com/users/domen111/followers","following_url":"https://api.github.com/users/domen111/following{/other_user}","gists_url":"https://api.github.com/users/domen111/gists{/gist_id}","starred_url":"https://api.github.com/users/domen111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domen111/subscriptions","organizations_url":"https://api.github.com/users/domen111/orgs","repos_url":"https://api.github.com/users/domen111/repos","events_url":"https://api.github.com/users/domen111/events{/privacy}","received_events_url":"https://api.github.com/users/domen111/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/domen111/agar-mini-map","description":"A mini map which is able to show your location on agar.io","fork":true,"url":"https://api.github.com/repos/domen111/agar-mini-map","forks_url":"https://api.github.com/repos/domen111/agar-mini-map/forks","keys_url":"https://api.github.com/repos/domen111/agar-mini-map/keys{/key_id}","collaborators_url":"https://api.github.com/repos/domen111/agar-mini-map/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/domen111/agar-mini-map/teams","hooks_url":"https://api.github.com/repos/domen111/agar-mini-map/hooks","issue_events_url":"https://api.github.com/repos/domen111/agar-mini-map/issues/events{/number}","events_url":"https://api.github.com/repos/domen111/agar-mini-map/events","assignees_url":"https://api.github.com/repos/domen111/agar-mini-map/assignees{/user}","branches_url":"https://api.github.com/repos/domen111/agar-mini-map/branches{/branch}","tags_url":"https://api.github.com/repos/domen111/agar-mini-map/tags","blobs_url":"https://api.github.com/repos/domen111/agar-mini-map/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/domen111/agar-mini-map/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/domen111/agar-mini-map/git/refs{/sha}","trees_url":"https://api.github.com/repos/domen111/agar-mini-map/git/trees{/sha}","statuses_url":"https://api.github.com/repos/domen111/agar-mini-map/statuses/{sha}","languages_url":"https://api.github.com/repos/domen111/agar-mini-map/languages","stargazers_url":"https://api.github.com/repos/domen111/agar-mini-map/stargazers","contributors_url":"https://api.github.com/repos/domen111/agar-mini-map/contributors","subscribers_url":"https://api.github.com/repos/domen111/agar-mini-map/subscribers","subscription_url":"https://api.github.com/repos/domen111/agar-mini-map/subscription","commits_url":"https://api.github.com/repos/domen111/agar-mini-map/commits{/sha}","git_commits_url":"https://api.github.com/repos/domen111/agar-mini-map/git/commits{/sha}","comments_url":"https://api.github.com/repos/domen111/agar-mini-map/comments{/number}","issue_comment_url":"https://api.github.com/repos/domen111/agar-mini-map/issues/comments{/number}","contents_url":"https://api.github.com/repos/domen111/agar-mini-map/contents/{+path}","compare_url":"https://api.github.com/repos/domen111/agar-mini-map/compare/{base}...{head}","merges_url":"https://api.github.com/repos/domen111/agar-mini-map/merges","archive_url":"https://api.github.com/repos/domen111/agar-mini-map/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/domen111/agar-mini-map/downloads","issues_url":"https://api.github.com/repos/domen111/agar-mini-map/issues{/number}","pulls_url":"https://api.github.com/repos/domen111/agar-mini-map/pulls{/number}","milestones_url":"https://api.github.com/repos/domen111/agar-mini-map/milestones{/number}","notifications_url":"https://api.github.com/repos/domen111/agar-mini-map/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/domen111/agar-mini-map/labels{/name}","releases_url":"https://api.github.com/repos/domen111/agar-mini-map/releases{/id}","created_at":"2015-07-15T16:27:28Z","updated_at":"2015-07-15T16:27:28Z","pushed_at":"2015-07-26T02:54:46Z","git_url":"git://github.com/domen111/agar-mini-map.git","ssh_url":"git@github.com:domen111/agar-mini-map.git","clone_url":"https://github.com/domen111/agar-mini-map.git","svn_url":"https://github.com/domen111/agar-mini-map","homepage":"https://github.com/dimotsai/agar-mini-map","size":201,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"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":"dimotsai:master","ref":"master","sha":"9970e6e2306b09b621577b7e25288e99bcc36423","user":{"login":"dimotsai","id":1947580,"avatar_url":"https://avatars.githubusercontent.com/u/1947580?v=3","gravatar_id":"","url":"https://api.github.com/users/dimotsai","html_url":"https://github.com/dimotsai","followers_url":"https://api.github.com/users/dimotsai/followers","following_url":"https://api.github.com/users/dimotsai/following{/other_user}","gists_url":"https://api.github.com/users/dimotsai/gists{/gist_id}","starred_url":"https://api.github.com/users/dimotsai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimotsai/subscriptions","organizations_url":"https://api.github.com/users/dimotsai/orgs","repos_url":"https://api.github.com/users/dimotsai/repos","events_url":"https://api.github.com/users/dimotsai/events{/privacy}","received_events_url":"https://api.github.com/users/dimotsai/received_events","type":"User","site_admin":false},"repo":{"id":36954059,"name":"agar-mini-map","full_name":"dimotsai/agar-mini-map","owner":{"login":"dimotsai","id":1947580,"avatar_url":"https://avatars.githubusercontent.com/u/1947580?v=3","gravatar_id":"","url":"https://api.github.com/users/dimotsai","html_url":"https://github.com/dimotsai","followers_url":"https://api.github.com/users/dimotsai/followers","following_url":"https://api.github.com/users/dimotsai/following{/other_user}","gists_url":"https://api.github.com/users/dimotsai/gists{/gist_id}","starred_url":"https://api.github.com/users/dimotsai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimotsai/subscriptions","organizations_url":"https://api.github.com/users/dimotsai/orgs","repos_url":"https://api.github.com/users/dimotsai/repos","events_url":"https://api.github.com/users/dimotsai/events{/privacy}","received_events_url":"https://api.github.com/users/dimotsai/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dimotsai/agar-mini-map","description":"A minimap which is able to show positions on agar.io","fork":false,"url":"https://api.github.com/repos/dimotsai/agar-mini-map","forks_url":"https://api.github.com/repos/dimotsai/agar-mini-map/forks","keys_url":"https://api.github.com/repos/dimotsai/agar-mini-map/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dimotsai/agar-mini-map/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dimotsai/agar-mini-map/teams","hooks_url":"https://api.github.com/repos/dimotsai/agar-mini-map/hooks","issue_events_url":"https://api.github.com/repos/dimotsai/agar-mini-map/issues/events{/number}","events_url":"https://api.github.com/repos/dimotsai/agar-mini-map/events","assignees_url":"https://api.github.com/repos/dimotsai/agar-mini-map/assignees{/user}","branches_url":"https://api.github.com/repos/dimotsai/agar-mini-map/branches{/branch}","tags_url":"https://api.github.com/repos/dimotsai/agar-mini-map/tags","blobs_url":"https://api.github.com/repos/dimotsai/agar-mini-map/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dimotsai/agar-mini-map/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dimotsai/agar-mini-map/git/refs{/sha}","trees_url":"https://api.github.com/repos/dimotsai/agar-mini-map/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dimotsai/agar-mini-map/statuses/{sha}","languages_url":"https://api.github.com/repos/dimotsai/agar-mini-map/languages","stargazers_url":"https://api.github.com/repos/dimotsai/agar-mini-map/stargazers","contributors_url":"https://api.github.com/repos/dimotsai/agar-mini-map/contributors","subscribers_url":"https://api.github.com/repos/dimotsai/agar-mini-map/subscribers","subscription_url":"https://api.github.com/repos/dimotsai/agar-mini-map/subscription","commits_url":"https://api.github.com/repos/dimotsai/agar-mini-map/commits{/sha}","git_commits_url":"https://api.github.com/repos/dimotsai/agar-mini-map/git/commits{/sha}","comments_url":"https://api.github.com/repos/dimotsai/agar-mini-map/comments{/number}","issue_comment_url":"https://api.github.com/repos/dimotsai/agar-mini-map/issues/comments{/number}","contents_url":"https://api.github.com/repos/dimotsai/agar-mini-map/contents/{+path}","compare_url":"https://api.github.com/repos/dimotsai/agar-mini-map/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dimotsai/agar-mini-map/merges","archive_url":"https://api.github.com/repos/dimotsai/agar-mini-map/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dimotsai/agar-mini-map/downloads","issues_url":"https://api.github.com/repos/dimotsai/agar-mini-map/issues{/number}","pulls_url":"https://api.github.com/repos/dimotsai/agar-mini-map/pulls{/number}","milestones_url":"https://api.github.com/repos/dimotsai/agar-mini-map/milestones{/number}","notifications_url":"https://api.github.com/repos/dimotsai/agar-mini-map/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dimotsai/agar-mini-map/labels{/name}","releases_url":"https://api.github.com/repos/dimotsai/agar-mini-map/releases{/id}","created_at":"2015-06-05T20:32:12Z","updated_at":"2015-07-25T21:23:01Z","pushed_at":"2015-07-26T02:54:46Z","git_url":"git://github.com/dimotsai/agar-mini-map.git","ssh_url":"git@github.com:dimotsai/agar-mini-map.git","clone_url":"https://github.com/dimotsai/agar-mini-map.git","svn_url":"https://github.com/dimotsai/agar-mini-map","homepage":"https://github.com/dimotsai/agar-mini-map","size":514,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":5,"forks":6,"open_issues":5,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dimotsai/agar-mini-map/pulls/20"},"html":{"href":"https://github.com/dimotsai/agar-mini-map/pull/20"},"issue":{"href":"https://api.github.com/repos/dimotsai/agar-mini-map/issues/20"},"comments":{"href":"https://api.github.com/repos/dimotsai/agar-mini-map/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/dimotsai/agar-mini-map/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/dimotsai/agar-mini-map/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dimotsai/agar-mini-map/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/dimotsai/agar-mini-map/statuses/dd3a427dccee70b54453e3324a9ce90bfbfdca60"}}}}