{"action":"created","issue":{"url":"https://api.github.com/repos/The-Compiler/qutebrowser/issues/551","labels_url":"https://api.github.com/repos/The-Compiler/qutebrowser/issues/551/labels{/name}","comments_url":"https://api.github.com/repos/The-Compiler/qutebrowser/issues/551/comments","events_url":"https://api.github.com/repos/The-Compiler/qutebrowser/issues/551/events","html_url":"https://github.com/The-Compiler/qutebrowser/issues/551","id":61628754,"number":551,"title":"Sending an escape key to the running webpage","user":{"login":"akirak","id":6270544,"avatar_url":"https://avatars.githubusercontent.com/u/6270544?v=3","gravatar_id":"","url":"https://api.github.com/users/akirak","html_url":"https://github.com/akirak","followers_url":"https://api.github.com/users/akirak/followers","following_url":"https://api.github.com/users/akirak/following{/other_user}","gists_url":"https://api.github.com/users/akirak/gists{/gist_id}","starred_url":"https://api.github.com/users/akirak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akirak/subscriptions","organizations_url":"https://api.github.com/users/akirak/orgs","repos_url":"https://api.github.com/users/akirak/repos","events_url":"https://api.github.com/users/akirak/events{/privacy}","received_events_url":"https://api.github.com/users/akirak/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/The-Compiler/qutebrowser/labels/component:%20keyinput","name":"component: keyinput","color":"5319e7"},{"url":"https://api.github.com/repos/The-Compiler/qutebrowser/labels/priority:%202%20-%20low","name":"priority: 2 - low","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-14T15:36:52Z","updated_at":"2015-11-20T18:11:20Z","closed_at":"2015-11-20T18:11:20Z","body":"It would be nice if qutebrowser provides a way to send an escape key to the running webpage, especially for a better integration with [Trello](https://trello.com). \r\n\r\nTrello refuses to run on qutebrowser by default, but you can use it by faking the user agent string, e.g.:\r\n\r\n    user-agent = Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.17 Safari/537.36\r\n\r\nOne issue with using Trello on qutebrowser is that qutebrowser does not seem to provide a way to send an escape key to its inner webpage. Esc is the only shortcut to close a modal window of Trello without mouse, and as it terminates the passthrough mode of qutebrowser, I cannot close modal windows of Trello via keyboard. I always have to rely on mouse and it is annoying. Trello is a popular web application (developed by Fog Creek), and there may be even other similar situations where a keyboard-friendly web application fails to run elegantly on the excellent keyboard web browser. It would be useful to have a solution to this problem. \r\n\r\nI think adding a command like `sendkey <key>` that submits an arbitary key sequence to the inner page can be a workaround to this issue, but I just long for a solution anyway. "},"comment":{"url":"https://api.github.com/repos/The-Compiler/qutebrowser/issues/comments/158478632","html_url":"https://github.com/The-Compiler/qutebrowser/issues/551#issuecomment-158478632","issue_url":"https://api.github.com/repos/The-Compiler/qutebrowser/issues/551","id":158478632,"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},"created_at":"2015-11-20T18:11:20Z","updated_at":"2015-11-20T18:11:20Z","body":"There's now the `:fake-key` command, so you can add something like `;;fake-key <Escape>` to your binding if you like that behaviour.\r\n\r\nI'd like to keep the default behaviour as-is, for the reasons @Carpetsmoker outlined."}}