Mobile app version of vmapp.org
Login or Join
Sarah324

: Is there a list of shortcuts which are not reserved in any major browser? In the past, when I implemented shortcuts for web applications, I used different ones for different browsers: for example

@Sarah324

Posted in: #CrossBrowser

In the past, when I implemented shortcuts for web applications, I used different ones for different browsers: for example Ctrl+Shift+A was used in Chrome, but would be something else, like Ctrl+Shift+C in Firefox, since Firefox reserves the Ctrl+Shift+A shortcut for add-ons.

Actually, I have a project where it would be nice to have the same shortcuts for every browser.

Is there a list of shortcuts which are not reserved in any major browser (Chrome, Firefox, Safari, IE and Opera) or do I have to do my own by listing?

Google wasn't helpful, since it rather shows the list of shortcuts which are common to all major browsers.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Sarah324

1 Comments

Sorted by latest first Latest Oldest Best

 

@Cody1181609

As you seem to be approaching it, this is probably going to be futile. At best, you're going to come up with a very small list of combinations that don't conflict in the base browsers, then find out that there are plenty of add-ons that then go ahead and use them which are common enough to be a problem anyway.

You should avoid the standard patterns like Ctrl+[letter] altogether. There are JS libraries like Mousetrap that make this easy. For example, one of its options binds your functions to Shift+[foo] patterns instead.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme