{"action":"created","comment":{"url":"https://api.github.com/repos/The-Compiler/qutebrowser/pulls/comments/31897716","id":31897716,"diff_hunk":"@@ -1510,3 +1510,29 @@ def debug_webaction(self, action, count=1):\n         view = self._current_widget()\n         for _ in range(count):\n             view.triggerPageAction(member)\n+\n+    @cmdutils.register(instance='command-dispatcher', scope='window',\n+                       maxsplit=0, no_cmd_split=True)\n+    def jseval(self, js_code):","path":"qutebrowser/browser/commands.py","position":7,"original_position":7,"commit_id":"b0880df695867bc60a8ac9edd79bd8fee671a393","original_commit_id":"b0880df695867bc60a8ac9edd79bd8fee671a393","user":{"login":"The-Compiler","id":625793,"avatar_url":"https://avatars.githubusercontent.com/u/625793?v=3","gravatar_id":"","url":"https://api.github.com/users/The-Compiler","html_url":"https://github.com/The-Compiler","followers_url":"https://api.github.com/users/The-Compiler/followers","following_url":"https://api.github.com/users/The-Compiler/following{/other_user}","gists_url":"https://api.github.com/users/The-Compiler/gists{/gist_id}","starred_url":"https://api.github.com/users/The-Compiler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/The-Compiler/subscriptions","organizations_url":"https://api.github.com/users/The-Compiler/orgs","repos_url":"https://api.github.com/users/The-Compiler/repos","events_url":"https://api.github.com/users/The-Compiler/events{/privacy}","received_events_url":"https://api.github.com/users/The-Compiler/received_events","type":"User","site_admin":false},"body":"What about adding a `quiet` flag so the output doesn't get shown?","created_at":"2015-06-08T09:19:19Z","updated_at":"2015-06-08T09:19:19Z","html_url":"https://github.com/The-Compiler/qutebrowser/pull/699#discussion_r31897716","pull_request_url":"https://api.github.com/repos/The-Compiler/qutebrowser/pulls/699","_links":{"self":{"href":"https://api.github.com/repos/The-Compiler/qutebrowser/pulls/comments/31897716"},"html":{"href":"https://github.com/The-Compiler/qutebrowser/pull/699#discussion_r31897716"},"pull_request":{"href":"https://api.github.com/repos/The-Compiler/qutebrowser/pulls/699"}}},"pull_request":{"url":"https://api.github.com/repos/The-Compiler/qutebrowser/pulls/699","id":36523159,"html_url":"https://github.com/The-Compiler/qutebrowser/pull/699","diff_url":"https://github.com/The-Compiler/qutebrowser/pull/699.diff","patch_url":"https://github.com/The-Compiler/qutebrowser/pull/699.patch","issue_url":"https://api.github.com/repos/The-Compiler/qutebrowser/issues/699","number":699,"state":"open","locked":false,"title":"Implement :jseval (Issue #334)","user":{"login":"Carpetsmoker","id":1032692,"avatar_url":"https://avatars.githubusercontent.com/u/1032692?v=3","gravatar_id":"","url":"https://api.github.com/users/Carpetsmoker","html_url":"https://github.com/Carpetsmoker","followers_url":"https://api.github.com/users/Carpetsmoker/followers","following_url":"https://api.github.com/users/Carpetsmoker/following{/other_user}","gists_url":"https://api.github.com/users/Carpetsmoker/gists{/gist_id}","starred_url":"https://api.github.com/users/Carpetsmoker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Carpetsmoker/subscriptions","organizations_url":"https://api.github.com/users/Carpetsmoker/orgs","repos_url":"https://api.github.com/users/Carpetsmoker/repos","events_url":"https://api.github.com/users/Carpetsmoker/events{/privacy}","received_events_url":"https://api.github.com/users/Carpetsmoker/received_events","type":"User","site_admin":false},"body":"TODO:\r\n- Tests\r\n- Doesn't show errors","created_at":"2015-05-29T16:40:40Z","updated_at":"2015-06-08T09:19:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2013f8333180f91a0e7f632d19be1622d7edaa2e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/The-Compiler/qutebrowser/pulls/699/commits","review_comments_url":"https://api.github.com/repos/The-Compiler/qutebrowser/pulls/699/comments","review_comment_url":"https://api.github.com/repos/The-Compiler/qutebrowser/pulls/comments{/number}","comments_url":"https://api.github.com/repos/The-Compiler/qutebrowser/issues/699/comments","statuses_url":"https://api.github.com/repos/The-Compiler/qutebrowser/statuses/b0880df695867bc60a8ac9edd79bd8fee671a393","head":{"label":"Carpetsmoker:jseval","ref":"jseval","sha":"b0880df695867bc60a8ac9edd79bd8fee671a393","user":{"login":"Carpetsmoker","id":1032692,"avatar_url":"https://avatars.githubusercontent.com/u/1032692?v=3","gravatar_id":"","url":"https://api.github.com/users/Carpetsmoker","html_url":"https://github.com/Carpetsmoker","followers_url":"https://api.github.com/users/Carpetsmoker/followers","following_url":"https://api.github.com/users/Carpetsmoker/following{/other_user}","gists_url":"https://api.github.com/users/Carpetsmoker/gists{/gist_id}","starred_url":"https://api.github.com/users/Carpetsmoker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Carpetsmoker/subscriptions","organizations_url":"https://api.github.com/users/Carpetsmoker/orgs","repos_url":"https://api.github.com/users/Carpetsmoker/repos","events_url":"https://api.github.com/users/Carpetsmoker/events{/privacy}","received_events_url":"https://api.github.com/users/Carpetsmoker/received_events","type":"User","site_admin":false},"repo":{"id":36473066,"name":"qutebrowser","full_name":"Carpetsmoker/qutebrowser","owner":{"login":"Carpetsmoker","id":1032692,"avatar_url":"https://avatars.githubusercontent.com/u/1032692?v=3","gravatar_id":"","url":"https://api.github.com/users/Carpetsmoker","html_url":"https://github.com/Carpetsmoker","followers_url":"https://api.github.com/users/Carpetsmoker/followers","following_url":"https://api.github.com/users/Carpetsmoker/following{/other_user}","gists_url":"https://api.github.com/users/Carpetsmoker/gists{/gist_id}","starred_url":"https://api.github.com/users/Carpetsmoker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Carpetsmoker/subscriptions","organizations_url":"https://api.github.com/users/Carpetsmoker/orgs","repos_url":"https://api.github.com/users/Carpetsmoker/repos","events_url":"https://api.github.com/users/Carpetsmoker/events{/privacy}","received_events_url":"https://api.github.com/users/Carpetsmoker/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Carpetsmoker/qutebrowser","description":"A keyboard-driven, vim-like browser based on PyQt5 and QtWebKit.","fork":true,"url":"https://api.github.com/repos/Carpetsmoker/qutebrowser","forks_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/forks","keys_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/teams","hooks_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/hooks","issue_events_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/issues/events{/number}","events_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/events","assignees_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/assignees{/user}","branches_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/branches{/branch}","tags_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/tags","blobs_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/git/refs{/sha}","trees_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/statuses/{sha}","languages_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/languages","stargazers_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/stargazers","contributors_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/contributors","subscribers_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/subscribers","subscription_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/subscription","commits_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/commits{/sha}","git_commits_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/git/commits{/sha}","comments_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/comments{/number}","issue_comment_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/issues/comments{/number}","contents_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/contents/{+path}","compare_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/merges","archive_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/downloads","issues_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/issues{/number}","pulls_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/pulls{/number}","milestones_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/milestones{/number}","notifications_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/labels{/name}","releases_url":"https://api.github.com/repos/Carpetsmoker/qutebrowser/releases{/id}","created_at":"2015-05-29T00:04:44Z","updated_at":"2015-05-29T00:04:45Z","pushed_at":"2015-06-07T15:32:06Z","git_url":"git://github.com/Carpetsmoker/qutebrowser.git","ssh_url":"git@github.com:Carpetsmoker/qutebrowser.git","clone_url":"https://github.com/Carpetsmoker/qutebrowser.git","svn_url":"https://github.com/Carpetsmoker/qutebrowser","homepage":null,"size":7055,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"The-Compiler:master","ref":"master","sha":"2459f14f6fe431f6b8bc0d8aa8ebcc4d6c7b16ad","user":{"login":"The-Compiler","id":625793,"avatar_url":"https://avatars.githubusercontent.com/u/625793?v=3","gravatar_id":"","url":"https://api.github.com/users/The-Compiler","html_url":"https://github.com/The-Compiler","followers_url":"https://api.github.com/users/The-Compiler/followers","following_url":"https://api.github.com/users/The-Compiler/following{/other_user}","gists_url":"https://api.github.com/users/The-Compiler/gists{/gist_id}","starred_url":"https://api.github.com/users/The-Compiler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/The-Compiler/subscriptions","organizations_url":"https://api.github.com/users/The-Compiler/orgs","repos_url":"https://api.github.com/users/The-Compiler/repos","events_url":"https://api.github.com/users/The-Compiler/events{/privacy}","received_events_url":"https://api.github.com/users/The-Compiler/received_events","type":"User","site_admin":false},"repo":{"id":21244505,"name":"qutebrowser","full_name":"The-Compiler/qutebrowser","owner":{"login":"The-Compiler","id":625793,"avatar_url":"https://avatars.githubusercontent.com/u/625793?v=3","gravatar_id":"","url":"https://api.github.com/users/The-Compiler","html_url":"https://github.com/The-Compiler","followers_url":"https://api.github.com/users/The-Compiler/followers","following_url":"https://api.github.com/users/The-Compiler/following{/other_user}","gists_url":"https://api.github.com/users/The-Compiler/gists{/gist_id}","starred_url":"https://api.github.com/users/The-Compiler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/The-Compiler/subscriptions","organizations_url":"https://api.github.com/users/The-Compiler/orgs","repos_url":"https://api.github.com/users/The-Compiler/repos","events_url":"https://api.github.com/users/The-Compiler/events{/privacy}","received_events_url":"https://api.github.com/users/The-Compiler/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/The-Compiler/qutebrowser","description":"A keyboard-driven, vim-like browser based on PyQt5 and QtWebKit.","fork":false,"url":"https://api.github.com/repos/The-Compiler/qutebrowser","forks_url":"https://api.github.com/repos/The-Compiler/qutebrowser/forks","keys_url":"https://api.github.com/repos/The-Compiler/qutebrowser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/The-Compiler/qutebrowser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/The-Compiler/qutebrowser/teams","hooks_url":"https://api.github.com/repos/The-Compiler/qutebrowser/hooks","issue_events_url":"https://api.github.com/repos/The-Compiler/qutebrowser/issues/events{/number}","events_url":"https://api.github.com/repos/The-Compiler/qutebrowser/events","assignees_url":"https://api.github.com/repos/The-Compiler/qutebrowser/assignees{/user}","branches_url":"https://api.github.com/repos/The-Compiler/qutebrowser/branches{/branch}","tags_url":"https://api.github.com/repos/The-Compiler/qutebrowser/tags","blobs_url":"https://api.github.com/repos/The-Compiler/qutebrowser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/The-Compiler/qutebrowser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/The-Compiler/qutebrowser/git/refs{/sha}","trees_url":"https://api.github.com/repos/The-Compiler/qutebrowser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/The-Compiler/qutebrowser/statuses/{sha}","languages_url":"https://api.github.com/repos/The-Compiler/qutebrowser/languages","stargazers_url":"https://api.github.com/repos/The-Compiler/qutebrowser/stargazers","contributors_url":"https://api.github.com/repos/The-Compiler/qutebrowser/contributors","subscribers_url":"https://api.github.com/repos/The-Compiler/qutebrowser/subscribers","subscription_url":"https://api.github.com/repos/The-Compiler/qutebrowser/subscription","commits_url":"https://api.github.com/repos/The-Compiler/qutebrowser/commits{/sha}","git_commits_url":"https://api.github.com/repos/The-Compiler/qutebrowser/git/commits{/sha}","comments_url":"https://api.github.com/repos/The-Compiler/qutebrowser/comments{/number}","issue_comment_url":"https://api.github.com/repos/The-Compiler/qutebrowser/issues/comments{/number}","contents_url":"https://api.github.com/repos/The-Compiler/qutebrowser/contents/{+path}","compare_url":"https://api.github.com/repos/The-Compiler/qutebrowser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/The-Compiler/qutebrowser/merges","archive_url":"https://api.github.com/repos/The-Compiler/qutebrowser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/The-Compiler/qutebrowser/downloads","issues_url":"https://api.github.com/repos/The-Compiler/qutebrowser/issues{/number}","pulls_url":"https://api.github.com/repos/The-Compiler/qutebrowser/pulls{/number}","milestones_url":"https://api.github.com/repos/The-Compiler/qutebrowser/milestones{/number}","notifications_url":"https://api.github.com/repos/The-Compiler/qutebrowser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/The-Compiler/qutebrowser/labels{/name}","releases_url":"https://api.github.com/repos/The-Compiler/qutebrowser/releases{/id}","created_at":"2014-06-26T14:59:34Z","updated_at":"2015-06-08T08:07:27Z","pushed_at":"2015-06-08T05:49:27Z","git_url":"git://github.com/The-Compiler/qutebrowser.git","ssh_url":"git@github.com:The-Compiler/qutebrowser.git","clone_url":"https://github.com/The-Compiler/qutebrowser.git","svn_url":"https://github.com/The-Compiler/qutebrowser","homepage":null,"size":11458,"stargazers_count":579,"watchers_count":579,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":67,"mirror_url":null,"open_issues_count":261,"forks":67,"open_issues":261,"watchers":579,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/The-Compiler/qutebrowser/pulls/699"},"html":{"href":"https://github.com/The-Compiler/qutebrowser/pull/699"},"issue":{"href":"https://api.github.com/repos/The-Compiler/qutebrowser/issues/699"},"comments":{"href":"https://api.github.com/repos/The-Compiler/qutebrowser/issues/699/comments"},"review_comments":{"href":"https://api.github.com/repos/The-Compiler/qutebrowser/pulls/699/comments"},"review_comment":{"href":"https://api.github.com/repos/The-Compiler/qutebrowser/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/The-Compiler/qutebrowser/pulls/699/commits"},"statuses":{"href":"https://api.github.com/repos/The-Compiler/qutebrowser/statuses/b0880df695867bc60a8ac9edd79bd8fee671a393"}}}}