How to use keyboard shortcuts for Usersnap

If you’re using Usersnap only for your QA team or for a restricted audience, it might be a good idea to hide the Usersnap button and enable keyboard shortcuts (Ctrl+U). When your coworkers or testers press Ctrl+U Usersnap is opened automatically.

You can enable the keyboard shortcut with the shortcut option:

If you like this article, give it some sharing ❤️

   <script type="text/javascript">
     var _usersnapconfig = {
         apiKey: 'YOUR-API-KEY-HERE',
         shortcut: true
     };
   </script>

If you want to hide the button and use the keyboard shortcut, take this configuration:

   <script type="text/javascript">
     var _usersnapconfig = {
         apiKey: 'YOUR-API-KEY-HERE',
         mode: 'report',
         shortcut: true
     };
   </script>

If you want to use any other key than U, you can add the keyboard handler for yourself (the jquery.hotkeys plugin may help you) and call UserSnap.openReportWindow() from your JavaScript code.

We invite you to try out our service for free. Sign up for our 15-days trial program!

If you like this article, give it some sharing ❤️