Code Monkey home page Code Monkey logo

shortkeys's Introduction

Shortkeys

Custom keyboard shortcuts for your browser

Donate | Add a Review | Documentation | Support | Firefox Add-on | Chrome Webstore

Install

$ npm install

Development

npm run dev chrome
npm run dev firefox
npm run dev opera
npm run dev edge

Build

npm run build chrome
npm run build firefox
npm run build opera
npm run build edge

Environment

The build tool also defines a variable named process.env.NODE_ENV in your scripts.

Docs

Credits

shortkeys's People

Contributors

alexesprit avatar crittermike avatar dependabot[bot] avatar fastndead avatar gitoffthelawn avatar lej77 avatar marcbachmann avatar pikou1995 avatar pmalecka avatar sharat87 avatar sschuerz avatar vanniktech avatar victornava avatar xcv58 avatar yfdyh000 avatar yxliang01 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

shortkeys's Issues

Error loading extenstion

Issue occurred at Step2.3 - clicking "Load unpacked extension" and browse to the app/ directory to install it.

It says "Failed to load extension from: ~\chrome-shortkeys\app
Could not load javascript 'bower_components/mousetrap/mousetrap.min.js' for content script."

How can I install mousetrap.min.js? I tried installing bower mousetrap. None of the packages are mousetrap.min.js

Also. the drop box link at step 3.1 is missing.

Thanks!

Turning sync on clears all data already synced

I used this extension on an older computed and had quite a few shortcuts configured, with sync turned on. That computer broke and I no longer have access to it. On my new computed, after this extension is installed, I noticed that my shortcuts were not available. I went to options, but no shortcuts were configured there.

I realized that the extension is looking for shortcuts in chrome.storage.local and I need to turn on sync so it will look in chrome.storage.sync. So in the options page, I opened the developer tools' console and did a chrome.storage.sync.get(null, function (d) {console.log(d)}) and I could see all my shortcuts just as I configured them on my old system.

So now, I go an turn on sync. No shortcuts turn up. I check chrome.sync again, and its empty. I lost all my shortcuts.

Now, I have to ask, why is sync optional? And can we please address this issue before it bites someone else? I'll see if I can find some time to dig in the source. If you ask me, the fix is to always use chrome.storage.sync.

Thank you.

Previous/Next Tab not working with Motivation extension

I'm using this extension with chrome-shortkeys (v2.0.17) on Chrome 56.0.2924.87 (64-bit) and my Previous Tab shortcut is not working when on the "New Tab" page.

I'm using "command+shift+left" for the Previous Tab shortcut.

It works fine when the Motivation extension is disabled.

This may be an issue with Motivation hijacking the keyboard somehow, but not sure.

Allow global shortcut keys to call chrome shortkeys for specific pages

I'm wondering if you could use this to allow global shortcut keys to be defined for controlling audio playback on almost any site?

For example, I use the "Streamus" extension to listen to YouTube playlists, and it allows me to globally toggle playback and jump to prev/next tracks, which is great.

But if your extension allowed me to bind global shortcut keys to any page when it was loaded, then I could map global shortcuts to per site keyboard shortcuts for other music sites, like thesixtyone.com, and then I could toggle playback, skip tracks, etc, regardless of the music site I was currently using.

Streamus shortcuts are configured using the global chrome shortcuts, found here:

chrome://extensions/configureCommands

request feature - toggle sendkey mode

Specifically I'm interested in being able to simulate key presses on text components where default shortcut keys for the component conflict with browser shortcuts.

It would be very useful if the plugin could provide a check box or other means of turning on/off a "sendkey mode" such that any focused component would then receive all simulated key combinations from the user.

I've not found a plugin which offers this kind of feature, but it has been requested on stackoverflow and I saw something about key simulation in the plugin api.

Is this possible?

Add "Paste clipboard" action

I do not think this is possible due to JS security, but I would love to see it if it is possible
I would love to have "v v" be my paste - my hand gets fatigued through the day doing tons of ctrl-v

having an issue + have a suggestion or two if I can..

Hey Mike
Im having one issue, I use this extension for tribal wars of course:) and I have one key setup to input a script then another key to click button and switch to next page..

my issue here is once i click the key that does the script I can no longer use the key that clicks the button or the key that switches tabs..

any way to fix this and also I would be forever in your debt if I could get you to add a couple more things that us tribal wars guys can use..?

If you have time to spare for me I would love to get with you on skype and if a couple things could be added, you would get a ridiculous amount of people from this game wanting this extension..

skype name is forgotten warrior
its a picture of my son and I playing pool

~thanks for your time, really hope to hear from you soon..
David

Mouse shortkeys

Hello is possible to create shortkeys on mouse buttons? Example mouse7 : previous page; mouse8 : next page; wheelup : javascript; etc

Is that possible?

Inaccurate action label for new shortkey

Somewhat of an edge case scenario, but I think it's worth an attempt to solve:

image

Steps to reproduce:

  1. Add a new shortkey
  2. Choose an action from the "Behavior" select list
  3. Choose an action from the "Behavior" select list again

Observe that the label of the new shortkey doesn't match the selected option. Also, custom settings for certain actions are now not linked to the correct option in the select list. For example, choosing "Run Javascript" won't display the JS text area, but choosing "Reset Zoom" (the option immediately above it in the list) will display the JS text area. So the index seems to be off by one in this case.

Note that this bug only occurs if the shortkey hasn't yet been saved.

Select address bar/omnibox action?

Hi there,

I was wondering if it would be possible to add an action that would activate the omnibox in chrome so its ready for further text input of addresses, google searches,etc. (basically the same action that occurs when hitting command-L in the mac version of Chrome).

alt+left/right for tab navigation doesnt work when tab is still loading, resp in new tab

ive mapped alt+left to "previous tab" and alt+right to the respective "next tab".

now, this works fine except for two cases:

  • opening a new empty tab, loading some website and then hitting alt+left, the performed action is "go back"

  • same when any old/new tab has not finished loading and i hit alt+left, the performed action is "go back"

in both cases alt+right doesnt do anything at all.

Shortkey resets Apps and Extensions shortcuts?

In Chrome, I have a keyboard shortcut of CTRL+Q to activate an extension called Site Launcher. This shortcut is configured using the Configure Commands option in the Extensions screen.

Every once in a while, seemingly at random, the extension shortcut (and all other shortcuts from the Configure Commands screen) is blanked out after I relaunch Chrome, and I have to set it again. This occurs on multiple PCs: Windows 7, Windows 8 and a Chromebook.

I suspect that the Shortkeys extension maybe causing this, but I have no way of knowing 100% sure. I know I can turn it off/disable the extension and see if it ever happens, but I've gotten to rely on it almost completely it would be difficult to do so, especially since the shortcut resets at random! I can try turning it off if it helps your debugging, but I thought I'd check if you ran into this issue before.

non-functioning under mac

I've set up a very simple rule set:
โŒ˜+shift+right Next Tab All Sites
โŒ˜+shift+left Prev Tab All Sites

It's completely non-functional. Attempts at other combos similarly do not work.

Chrome Version 24.0.1312.57 on OSX 10.8.2

Add export and import feature

Once I have created a list of shortcuts, I would like to be able to export the shortcuts and share them with someone else who can then import them.

Does not work when URL bar is focused or on the new tab page

I'm on Ubuntu Linux 16.04 LTS, Chrome Version 54.0.2840.100 (64-bit)

Steps to reproduce:

  • Add shortcut for alt+t mapped to "New Tab"
  • Save, quit browser, restart
  • Press alt+t => Expected new tab to open, but nothing happens
  • Click in webpage area
  • Press alt+t => now new tab opens!
  • Press alt+t again => another tab does not open
  • Click in webpage area, then press alt+t => new tab opens

It appears that either window page body area must be focused, or the URL bar must not be focused, for the keybinding to take effect. This limits the usefulness of the extension for me. My goal was to make my home Linux computer work more similarly to my work Mac computer, where Cmd+T and Cmd+W open and close Chrome tabs. On Linux, the "Alt" key is located where the Mac "Cmd" key would be.

Global shortcuts (e.g. any tab)

I'm not sure it even possible, but I'd like to have ability to assign shortcuts globally.

My use-case is to be able to switch between tabs using ctrl+down and ctrl+up, in activate settings I chose All Sites and noticed that shortkeys works perfect on all sites (except chrome.google.com), and it doesn't work in new tab, settings, extensions an so on.

Add per-shortcut option to also activate when form fields are focused

A great improvement could be allow the use of some shortkey also when you are editing a form.

For example I use ctrl+right and ctrl+left to switch to next/previous tab. Those combination are safe and can be catched also on form inputs.
The extensions, should allow the user to enable some shortkeys when he/she belive that it's "form safe".

Thanks for your plugin!

Add the "Find" action

It would be nice to have a custom shortcut for Find... (i.e., invoking Chrome's native Find dialog) because for obvious reasons some of us prefer / for Find.

At the moment there seems to be no way to invoke the native Find dialog through Chrome's JavaScript API (did I miss anything?). Anyway, I'm opening this issue in the hope that this feature gets implemented in the API in the future, and then we can add the action to chrome-shortkeys. The chances look very slim, though.

Submit nearest parent form

Hello,

I am wondering if it's possible to add a keybinding to ctrl+enter to submit the nearest parent form from the currently focused element? This would greatly benefit alot of people.

Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.