[Surfingkeys] Add keybinding for Phanpy to load new posts

This commit is contained in:
Tom Willemse 2024-04-09 11:51:27 -07:00
parent 71aa62b6c9
commit 0831b2ef1b

View file

@ -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');