[Surfingkeys] Add keybinding for Phanpy to load new posts
This commit is contained in:
parent
71aa62b6c9
commit
0831b2ef1b
1 changed files with 4 additions and 0 deletions
|
@ -26,6 +26,10 @@ api.mapkey('<Alt-x>', '#7Open commands', function() {
|
|||
api.Front.openOmnibar({type: "Commands"});
|
||||
});
|
||||
|
||||
api.mapkey('<Ctrl-c>g', '#14Load new posts', function() {
|
||||
document.querySelector('button.updates-button').click();
|
||||
}, { domain: /phanpy\.social/i });
|
||||
|
||||
api.mapkey('cc', '#13Capture current page', orgCapture);
|
||||
|
||||
api.map('<Ctrl-b>', 'h');
|
||||
|
|
Loading…
Reference in a new issue