Skip to content

Commit

Permalink
Add shortcut key to go home
Browse files Browse the repository at this point in the history
  • Loading branch information
fukayatsu committed Feb 7, 2014
1 parent e908a64 commit 3e62084
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/js/window.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@ window.onload = function() {
code: "document.getElementsByClassName('zapping-button')[0].getElementsByTagName('a')[0].click();"
});
break;
case 72:// H: home
webview.executeScript({
code: "location.href='/';"
});
break;
case 68: // D: did read
NProgress.start();
webview.executeScript({
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "pplog",
"description": "pplog",
"version": "0.0.7",
"version": "0.0.8",
"app": {
"background": {
"scripts": [
Expand Down

0 comments on commit 3e62084

Please sign in to comment.