my_custom_keys plugin stub

Post plugins and custom CSS snippets here
timmmmyboy
Bear Rating Trainee
Bear Rating Trainee
Posts: 3
Joined: 16 Feb 2014, 21:18

Re: my_custom_keys plugin stub

Postby timmmmyboy » 17 Feb 2014, 04:29

Working perfectly by adding the following code to hook a hotkey to (this is the facebook one but modify as you see fit):

Code: Select all

hotkey_actions['share_facebook'] = function() {
      if (getActiveArticleId()) {
      shareArticleToFacebook(getActiveArticleId());
      return;
      }
   };

ArchCarrier
Bear Rating Trainee
Bear Rating Trainee
Posts: 16
Joined: 04 Apr 2013, 20:35

Re: my_custom_keys plugin stub

Postby ArchCarrier » 25 Apr 2014, 13:01

Is it possible to create a shortcut to jump to a certain feed or category?

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: my_custom_keys plugin stub

Postby fox » 25 Apr 2014, 13:36

If someone makes a plugin, yes.


Return to “Themes and plugins”

Who is online

Users browsing this forum: No registered users and 1 guest