{"action":"opened","number":25,"pull_request":{"url":"https://api.github.com/repos/internetarchive/brozzler/pulls/25","id":90271901,"html_url":"https://github.com/internetarchive/brozzler/pull/25","diff_url":"https://github.com/internetarchive/brozzler/pull/25.diff","patch_url":"https://github.com/internetarchive/brozzler/pull/25.patch","issue_url":"https://api.github.com/repos/internetarchive/brozzler/issues/25","number":25,"state":"open","locked":false,"title":"Add a mouseovers behavior","user":{"login":"ato","id":10588,"avatar_url":"https://avatars.githubusercontent.com/u/10588?v=3","gravatar_id":"","url":"https://api.github.com/users/ato","html_url":"https://github.com/ato","followers_url":"https://api.github.com/users/ato/followers","following_url":"https://api.github.com/users/ato/following{/other_user}","gists_url":"https://api.github.com/users/ato/gists{/gist_id}","starred_url":"https://api.github.com/users/ato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ato/subscriptions","organizations_url":"https://api.github.com/users/ato/orgs","repos_url":"https://api.github.com/users/ato/repos","events_url":"https://api.github.com/users/ato/events{/privacy}","received_events_url":"https://api.github.com/users/ato/received_events","type":"User","site_admin":false},"body":"PR as requested. Although this literally is just a copy paste and string replace of 'click' with 'mouseover'.\r\n\r\nLet me know if you'd like me to rework this in some other fashion. I did at first consider adding mouseover to simpleclicks.js rather than duplicating it but I realised I was just going to get bogged down trying figure out the most optimal approach.\r\n\r\nIt seems like a generic behavior that accepts a list of events + selectors might be a useful thing to have. Something like this:\r\n\r\n```yaml\r\nevents:\r\n  - mouseover: .menu-item a\r\n  - click: .tab\r\n  - focus: input\r\n  - click: button.dostuff\r\n  - keypress: .scrollything\r\n      key: \"ArrowDown\"\r\n```\r\n\r\nBut I haven't worked through enough examples yet to be confident of what's useful and what's premature generalisation.","created_at":"2016-10-20T20:09:36Z","updated_at":"2016-10-20T20:09:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/internetarchive/brozzler/pulls/25/commits","review_comments_url":"https://api.github.com/repos/internetarchive/brozzler/pulls/25/comments","review_comment_url":"https://api.github.com/repos/internetarchive/brozzler/pulls/comments{/number}","comments_url":"https://api.github.com/repos/internetarchive/brozzler/issues/25/comments","statuses_url":"https://api.github.com/repos/internetarchive/brozzler/statuses/872030d71635b8004f4b9dae59cbb2a216a3bca5","head":{"label":"ato:mouseovers-behavior","ref":"mouseovers-behavior","sha":"872030d71635b8004f4b9dae59cbb2a216a3bca5","user":{"login":"ato","id":10588,"avatar_url":"https://avatars.githubusercontent.com/u/10588?v=3","gravatar_id":"","url":"https://api.github.com/users/ato","html_url":"https://github.com/ato","followers_url":"https://api.github.com/users/ato/followers","following_url":"https://api.github.com/users/ato/following{/other_user}","gists_url":"https://api.github.com/users/ato/gists{/gist_id}","starred_url":"https://api.github.com/users/ato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ato/subscriptions","organizations_url":"https://api.github.com/users/ato/orgs","repos_url":"https://api.github.com/users/ato/repos","events_url":"https://api.github.com/users/ato/events{/privacy}","received_events_url":"https://api.github.com/users/ato/received_events","type":"User","site_admin":false},"repo":{"id":58988532,"name":"brozzler","full_name":"ato/brozzler","owner":{"login":"ato","id":10588,"avatar_url":"https://avatars.githubusercontent.com/u/10588?v=3","gravatar_id":"","url":"https://api.github.com/users/ato","html_url":"https://github.com/ato","followers_url":"https://api.github.com/users/ato/followers","following_url":"https://api.github.com/users/ato/following{/other_user}","gists_url":"https://api.github.com/users/ato/gists{/gist_id}","starred_url":"https://api.github.com/users/ato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ato/subscriptions","organizations_url":"https://api.github.com/users/ato/orgs","repos_url":"https://api.github.com/users/ato/repos","events_url":"https://api.github.com/users/ato/events{/privacy}","received_events_url":"https://api.github.com/users/ato/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ato/brozzler","description":"brozzler - distributed browser-based web crawler","fork":true,"url":"https://api.github.com/repos/ato/brozzler","forks_url":"https://api.github.com/repos/ato/brozzler/forks","keys_url":"https://api.github.com/repos/ato/brozzler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ato/brozzler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ato/brozzler/teams","hooks_url":"https://api.github.com/repos/ato/brozzler/hooks","issue_events_url":"https://api.github.com/repos/ato/brozzler/issues/events{/number}","events_url":"https://api.github.com/repos/ato/brozzler/events","assignees_url":"https://api.github.com/repos/ato/brozzler/assignees{/user}","branches_url":"https://api.github.com/repos/ato/brozzler/branches{/branch}","tags_url":"https://api.github.com/repos/ato/brozzler/tags","blobs_url":"https://api.github.com/repos/ato/brozzler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ato/brozzler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ato/brozzler/git/refs{/sha}","trees_url":"https://api.github.com/repos/ato/brozzler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ato/brozzler/statuses/{sha}","languages_url":"https://api.github.com/repos/ato/brozzler/languages","stargazers_url":"https://api.github.com/repos/ato/brozzler/stargazers","contributors_url":"https://api.github.com/repos/ato/brozzler/contributors","subscribers_url":"https://api.github.com/repos/ato/brozzler/subscribers","subscription_url":"https://api.github.com/repos/ato/brozzler/subscription","commits_url":"https://api.github.com/repos/ato/brozzler/commits{/sha}","git_commits_url":"https://api.github.com/repos/ato/brozzler/git/commits{/sha}","comments_url":"https://api.github.com/repos/ato/brozzler/comments{/number}","issue_comment_url":"https://api.github.com/repos/ato/brozzler/issues/comments{/number}","contents_url":"https://api.github.com/repos/ato/brozzler/contents/{+path}","compare_url":"https://api.github.com/repos/ato/brozzler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ato/brozzler/merges","archive_url":"https://api.github.com/repos/ato/brozzler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ato/brozzler/downloads","issues_url":"https://api.github.com/repos/ato/brozzler/issues{/number}","pulls_url":"https://api.github.com/repos/ato/brozzler/pulls{/number}","milestones_url":"https://api.github.com/repos/ato/brozzler/milestones{/number}","notifications_url":"https://api.github.com/repos/ato/brozzler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ato/brozzler/labels{/name}","releases_url":"https://api.github.com/repos/ato/brozzler/releases{/id}","deployments_url":"https://api.github.com/repos/ato/brozzler/deployments","created_at":"2016-05-17T03:47:34Z","updated_at":"2016-05-17T03:47:35Z","pushed_at":"2016-10-20T19:47:32Z","git_url":"git://github.com/ato/brozzler.git","ssh_url":"git@github.com:ato/brozzler.git","clone_url":"https://github.com/ato/brozzler.git","svn_url":"https://github.com/ato/brozzler","homepage":"","size":564,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"internetarchive:master","ref":"master","sha":"21891476c41264fa2c131162a565074b936c52e7","user":{"login":"internetarchive","id":130493,"avatar_url":"https://avatars.githubusercontent.com/u/130493?v=3","gravatar_id":"","url":"https://api.github.com/users/internetarchive","html_url":"https://github.com/internetarchive","followers_url":"https://api.github.com/users/internetarchive/followers","following_url":"https://api.github.com/users/internetarchive/following{/other_user}","gists_url":"https://api.github.com/users/internetarchive/gists{/gist_id}","starred_url":"https://api.github.com/users/internetarchive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/internetarchive/subscriptions","organizations_url":"https://api.github.com/users/internetarchive/orgs","repos_url":"https://api.github.com/users/internetarchive/repos","events_url":"https://api.github.com/users/internetarchive/events{/privacy}","received_events_url":"https://api.github.com/users/internetarchive/received_events","type":"Organization","site_admin":false},"repo":{"id":39043260,"name":"brozzler","full_name":"internetarchive/brozzler","owner":{"login":"internetarchive","id":130493,"avatar_url":"https://avatars.githubusercontent.com/u/130493?v=3","gravatar_id":"","url":"https://api.github.com/users/internetarchive","html_url":"https://github.com/internetarchive","followers_url":"https://api.github.com/users/internetarchive/followers","following_url":"https://api.github.com/users/internetarchive/following{/other_user}","gists_url":"https://api.github.com/users/internetarchive/gists{/gist_id}","starred_url":"https://api.github.com/users/internetarchive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/internetarchive/subscriptions","organizations_url":"https://api.github.com/users/internetarchive/orgs","repos_url":"https://api.github.com/users/internetarchive/repos","events_url":"https://api.github.com/users/internetarchive/events{/privacy}","received_events_url":"https://api.github.com/users/internetarchive/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/internetarchive/brozzler","description":"brozzler - distributed browser-based web crawler","fork":false,"url":"https://api.github.com/repos/internetarchive/brozzler","forks_url":"https://api.github.com/repos/internetarchive/brozzler/forks","keys_url":"https://api.github.com/repos/internetarchive/brozzler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/internetarchive/brozzler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/internetarchive/brozzler/teams","hooks_url":"https://api.github.com/repos/internetarchive/brozzler/hooks","issue_events_url":"https://api.github.com/repos/internetarchive/brozzler/issues/events{/number}","events_url":"https://api.github.com/repos/internetarchive/brozzler/events","assignees_url":"https://api.github.com/repos/internetarchive/brozzler/assignees{/user}","branches_url":"https://api.github.com/repos/internetarchive/brozzler/branches{/branch}","tags_url":"https://api.github.com/repos/internetarchive/brozzler/tags","blobs_url":"https://api.github.com/repos/internetarchive/brozzler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/internetarchive/brozzler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/internetarchive/brozzler/git/refs{/sha}","trees_url":"https://api.github.com/repos/internetarchive/brozzler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/internetarchive/brozzler/statuses/{sha}","languages_url":"https://api.github.com/repos/internetarchive/brozzler/languages","stargazers_url":"https://api.github.com/repos/internetarchive/brozzler/stargazers","contributors_url":"https://api.github.com/repos/internetarchive/brozzler/contributors","subscribers_url":"https://api.github.com/repos/internetarchive/brozzler/subscribers","subscription_url":"https://api.github.com/repos/internetarchive/brozzler/subscription","commits_url":"https://api.github.com/repos/internetarchive/brozzler/commits{/sha}","git_commits_url":"https://api.github.com/repos/internetarchive/brozzler/git/commits{/sha}","comments_url":"https://api.github.com/repos/internetarchive/brozzler/comments{/number}","issue_comment_url":"https://api.github.com/repos/internetarchive/brozzler/issues/comments{/number}","contents_url":"https://api.github.com/repos/internetarchive/brozzler/contents/{+path}","compare_url":"https://api.github.com/repos/internetarchive/brozzler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/internetarchive/brozzler/merges","archive_url":"https://api.github.com/repos/internetarchive/brozzler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/internetarchive/brozzler/downloads","issues_url":"https://api.github.com/repos/internetarchive/brozzler/issues{/number}","pulls_url":"https://api.github.com/repos/internetarchive/brozzler/pulls{/number}","milestones_url":"https://api.github.com/repos/internetarchive/brozzler/milestones{/number}","notifications_url":"https://api.github.com/repos/internetarchive/brozzler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/internetarchive/brozzler/labels{/name}","releases_url":"https://api.github.com/repos/internetarchive/brozzler/releases{/id}","deployments_url":"https://api.github.com/repos/internetarchive/brozzler/deployments","created_at":"2015-07-13T23:48:11Z","updated_at":"2016-10-13T17:32:23Z","pushed_at":"2016-10-20T20:09:36Z","git_url":"git://github.com/internetarchive/brozzler.git","ssh_url":"git@github.com:internetarchive/brozzler.git","clone_url":"https://github.com/internetarchive/brozzler.git","svn_url":"https://github.com/internetarchive/brozzler","homepage":"","size":621,"stargazers_count":30,"watchers_count":30,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":1,"forks":7,"open_issues":1,"watchers":30,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/internetarchive/brozzler/pulls/25"},"html":{"href":"https://github.com/internetarchive/brozzler/pull/25"},"issue":{"href":"https://api.github.com/repos/internetarchive/brozzler/issues/25"},"comments":{"href":"https://api.github.com/repos/internetarchive/brozzler/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/internetarchive/brozzler/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/internetarchive/brozzler/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/internetarchive/brozzler/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/internetarchive/brozzler/statuses/872030d71635b8004f4b9dae59cbb2a216a3bca5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":141,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"ato"}}