{"action":"created","issue":{"url":"https://api.github.com/repos/brave/browser-laptop/issues/938","repository_url":"https://api.github.com/repos/brave/browser-laptop","labels_url":"https://api.github.com/repos/brave/browser-laptop/issues/938/labels{/name}","comments_url":"https://api.github.com/repos/brave/browser-laptop/issues/938/comments","events_url":"https://api.github.com/repos/brave/browser-laptop/issues/938/events","html_url":"https://github.com/brave/browser-laptop/issues/938","id":136951839,"number":938,"title":"Add mouse forward/back button support","user":{"login":"twisterghost","id":759563,"avatar_url":"https://avatars.githubusercontent.com/u/759563?v=3","gravatar_id":"","url":"https://api.github.com/users/twisterghost","html_url":"https://github.com/twisterghost","followers_url":"https://api.github.com/users/twisterghost/followers","following_url":"https://api.github.com/users/twisterghost/following{/other_user}","gists_url":"https://api.github.com/users/twisterghost/gists{/gist_id}","starred_url":"https://api.github.com/users/twisterghost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twisterghost/subscriptions","organizations_url":"https://api.github.com/users/twisterghost/orgs","repos_url":"https://api.github.com/users/twisterghost/repos","events_url":"https://api.github.com/users/twisterghost/events{/privacy}","received_events_url":"https://api.github.com/users/twisterghost/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-27T18:25:41Z","updated_at":"2016-02-28T13:32:35Z","closed_at":null,"body":"Plenty of mice these days have side buttons for forward/back while browsing the web. I'd like to see support for this in Brave.\r\n\r\nI did some poking around at it for a while, but unfortunately came up with no fruitful results. There doesn't seem to be a reasonable way to detect special mouse button presses (or anything beyond left/right/middle click) within normal client JS-land, thus my approach of putting a listener in the main component did not work out.\r\n\r\nI tried to do some research into electron to see what kind of native mouse event support there was, but nothing I could find was too useful.\r\n\r\nLong story short, no great avenue seems immediately available. If anyone has knowledge in this area to shed some light, I'd be happy to work on a pull request proposal for this."},"comment":{"url":"https://api.github.com/repos/brave/browser-laptop/issues/comments/189872397","html_url":"https://github.com/brave/browser-laptop/issues/938#issuecomment-189872397","issue_url":"https://api.github.com/repos/brave/browser-laptop/issues/938","id":189872397,"user":{"login":"twisterghost","id":759563,"avatar_url":"https://avatars.githubusercontent.com/u/759563?v=3","gravatar_id":"","url":"https://api.github.com/users/twisterghost","html_url":"https://github.com/twisterghost","followers_url":"https://api.github.com/users/twisterghost/followers","following_url":"https://api.github.com/users/twisterghost/following{/other_user}","gists_url":"https://api.github.com/users/twisterghost/gists{/gist_id}","starred_url":"https://api.github.com/users/twisterghost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twisterghost/subscriptions","organizations_url":"https://api.github.com/users/twisterghost/orgs","repos_url":"https://api.github.com/users/twisterghost/repos","events_url":"https://api.github.com/users/twisterghost/events{/privacy}","received_events_url":"https://api.github.com/users/twisterghost/received_events","type":"User","site_admin":false},"created_at":"2016-02-28T13:32:35Z","updated_at":"2016-02-28T13:32:35Z","body":"The problem is the buttons don't even seem to trigger the event, otherwise yeah, that would be simple enough. Seems like natively, mouse events only trigger from mouse button 1, 2 or 3, but not 4 or 5 which seem to be generally supported as forward/back"}}