Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Commit

Permalink
Add more browser defaults to hotkey blacklist
Browse files Browse the repository at this point in the history
Issue #1283
  • Loading branch information
pablosichert committed Nov 20, 2017
1 parent ba9c8b7 commit dd5dea7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/shortcuts/blacklist.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@ const mods = [
];

export default Object.entries(Object.assign(...mods.map(mod => ({
[`${mod}+c`]: 'Copy',
[`${mod}+f`]: 'Search',
[`${mod}+h`]: 'History',
[`${mod}+l`]: 'Focus address bar',
[`${mod}+n`]: 'New window',
[`${mod}+t`]: 'New tab',
[`${mod}+v`]: 'Paste',
[`${mod}+w`]: 'Close tab'
})))).reduce((blacklist, pair) => {
const [key, value] = pair;
Expand Down

0 comments on commit dd5dea7

Please sign in to comment.